Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_data_json.cpp145 size_t startPos = 0; in getTextJSON() local
160 std::string line{reinterpret_cast<const char*>(&data[startPos]), in getTextJSON()
161 pos - startPos}; in getTextJSON()
164 startPos = pos + 1; in getTextJSON()
167 if (startPos < data.size()) in getTextJSON()
169 std::string line{reinterpret_cast<const char*>(&data[startPos]), in getTextJSON()
170 data.size() - startPos}; in getTextJSON()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp673 size_t startPos = 0; in getPamModuleConfValue() local
678 if ((startPos = line.find('#')) != std::string::npos) in getPamModuleConfValue()
680 if (startPos == 0) in getPamModuleConfValue()
685 line = line.substr(0, startPos); in getPamModuleConfValue()
687 if ((startPos = line.find(argSearch)) != std::string::npos) in getPamModuleConfValue()
689 if ((endPos = line.find(' ', startPos)) == std::string::npos) in getPamModuleConfValue()
693 startPos += argSearch.size(); in getPamModuleConfValue()
694 argValue = line.substr(startPos, endPos - startPos); in getPamModuleConfValue()
718 size_t startPos = 0; in setPamModuleConfValue() local
724 if ((startPos = line.find('#')) != std::string::npos) in setPamModuleConfValue()
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffsfs.c1071 loff_t startPos = 0; in yaffsfs_do_read() local
1101 startPos = offset; in yaffsfs_do_read()
1103 startPos = fd->position; in yaffsfs_do_read()
1105 pos = startPos; in yaffsfs_do_read()
1164 fd->position = startPos + totalRead; in yaffsfs_do_read()
1193 loff_t startPos = 0; in yaffsfs_do_write() local
1222 startPos = yaffs_get_obj_length(obj); in yaffsfs_do_write()
1224 startPos = offset; in yaffsfs_do_write()
1226 startPos = fd->position; in yaffsfs_do_write()
1229 pos = startPos; in yaffsfs_do_write()
[all …]