/base/hiviewdfx/hisysevent/frameworks/native/ |
H A D | json_flatten_parser.cpp | 59 curPos = 0; in Parse() 61 while (curPos < json.length()) { in Parse() 62 if (charFilter[static_cast<uint8_t>(json[curPos])] != STRING_FLAG) { in Parse() 63 ++curPos; in Parse() 88 ++curPos; // eat left quotation in ParseKey() 89 while (curPos < json.length()) { in ParseKey() 90 if (charFilter[static_cast<uint8_t>(json[curPos])] == STRING_FLAG) { in ParseKey() 93 key.push_back(json[curPos]); in ParseKey() 94 ++curPos; in ParseKey() 96 ++curPos; // ea in ParseKey() [all...] |
/base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/source/ |
H A D | hisysevent_c_wrapper.cpp | 42 size_t curPos = 0; // The current position is initialized to be 0. in SplitStringToArray() local 47 while (curPos < srcMaxLen && src[curPos] != '\0') { in SplitStringToArray() 48 if (src[curPos] != '|') { in SplitStringToArray() 49 ++curPos; in SplitStringToArray() 52 sliceEnd = static_cast<int>(curPos) - 1; in SplitStringToArray() 57 sliceBegin = static_cast<int>(curPos + 1); in SplitStringToArray() 58 ++curPos; in SplitStringToArray() 61 sliceBegin = static_cast<int>(curPos + 1); in SplitStringToArray() 62 ++curPos; in SplitStringToArray() [all...] |
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | res_locale.cpp | 162 RState ProcessSubtag(const char *curPos, int32_t subTagLen, uint16_t &nextType, ParseResult &r) in ProcessSubtag() argument 164 if ((ResLocale::LANG_TYPE & nextType) && (LocaleMatcher::IsLanguageTag(curPos, subTagLen))) { in ProcessSubtag() 165 r.tempLanguage = curPos; in ProcessSubtag() 170 if ((ResLocale::SCRIPT_TYPE & nextType) && LocaleMatcher::IsScriptTag(curPos, subTagLen)) { in ProcessSubtag() 171 r.tempScript = curPos; in ProcessSubtag() 176 if ((ResLocale::REGION_TYPE & nextType) && LocaleMatcher::IsRegionTag(curPos, subTagLen)) { in ProcessSubtag() 177 r.tempRegion = curPos; in ProcessSubtag() 213 const char *curPos = nextPos; in DoParse() local 220 curPos = nextPos; in DoParse() 228 int16_t subTagLen = pSep - curPos; in DoParse() [all...] |
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_locale.cpp | 167 RState ProcessSubtag(const char *curPos, int32_t subTagLen, uint16_t &nextType, ParseResult &r) in ProcessSubtag() argument 169 if ((ResLocale::LANG_TYPE & nextType) && (LocaleMatcher::IsLanguageTag(curPos, subTagLen))) { in ProcessSubtag() 170 r.tempLanguage = curPos; in ProcessSubtag() 175 if ((ResLocale::SCRIPT_TYPE & nextType) && LocaleMatcher::IsScriptTag(curPos, subTagLen)) { in ProcessSubtag() 176 r.tempScript = curPos; in ProcessSubtag() 181 if ((ResLocale::REGION_TYPE & nextType) && LocaleMatcher::IsRegionTag(curPos, subTagLen)) { in ProcessSubtag() 182 r.tempRegion = curPos; in ProcessSubtag() 218 const char *curPos = nullptr; in DoParse() local 225 curPos = nextPos; in DoParse() 233 int16_t subTagLen = pSep - curPos; in DoParse() [all...] |
/base/hiviewdfx/hiview/base/event_store/utility/reader/ |
H A D | sys_event_doc_reader.cpp | 65 auto curPos = in_.tellg();
in Init() local 68 in_.seekg(curPos, std::ios::beg);
in Init() 207 uint32_t curPos = static_cast<uint32_t>(in_.tellg());
in HasReadPageEnd() local 208 if (curPos <= docHeaderSize_) {
in HasReadPageEnd() 211 return ((curPos - docHeaderSize_) % pageSize_ + HIVIEW_BLOCK_SIZE) >= pageSize_;
in HasReadPageEnd()
|
H A D | content_reader.cpp | 56 auto curPos = docStream.tellg(); in ReadFmtVersion() local 60 docStream.seekg(curPos, std::ios::beg); in ReadFmtVersion()
|
/base/startup/appspawn/util/src/ |
H A D | appspawn_utils.c | 145 char *curPos = strchr(path, slash); in MakeDirRec() local 146 while (curPos != NULL) { in MakeDirRec() 147 int len = curPos - p; in MakeDirRec() 148 p = curPos + 1; in MakeDirRec() 150 curPos = strchr(p, slash); in MakeDirRec() 159 curPos = strchr(p, slash); in MakeDirRec()
|
/base/hiviewdfx/hisysevent/frameworks/native/include/ |
H A D | json_flatten_parser.h | 53 size_t curPos {0};
|
/base/startup/init/test/systest/ |
H A D | loopserver_systest.c | 83 char *curPos = strchr(path, slash); in MakeDirRec() local 84 while (curPos != NULL) { in MakeDirRec() 85 int len = curPos - p; in MakeDirRec() 86 p = curPos + 1; in MakeDirRec() 88 curPos = strchr(p, slash); in MakeDirRec() 102 curPos = strchr(p, slash); in MakeDirRec()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
H A D | dlp_file_kits.cpp | 125 off_t curPos = lseek(dlpFd, 0, SEEK_CUR); in IsDlpFile() local 126 if (curPos < 0) { in IsDlpFile() 141 if (lseek(dlpFd, curPos, SEEK_SET) < 0) { in IsDlpFile()
|
/base/tee/tee_client/services/teecd/include/ |
H A D | fs_work_agent.h | 136 uint32_t curPos; member
|
/base/startup/appspawn/modules/sandbox/ |
H A D | appspawn_sandbox.c | 75 char *curPos = strchr(path, slash); in CheckDirRecursive() local 76 while (curPos != NULL) { in CheckDirRecursive() 77 int len = curPos - p; in CheckDirRecursive() 78 p = curPos + 1; in CheckDirRecursive() 80 curPos = strchr(p, slash); in CheckDirRecursive() 87 curPos = strchr(p, slash); in CheckDirRecursive()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_dump.cpp | 399 size_t curPos = 0;
in SetClock() local 402 allClockTypes.insert(allClocks.substr(curPos, i - curPos));
in SetClock() 403 curPos = i + 1;
in SetClock()
|
/base/tee/tee_client/services/teecd/src/ |
H A D | fs_work_agent.c | 1044 transControl->args.info.fileLen = transControl->args.info.curPos = 0; in FileInfoWork() 1050 transControl->args.info.curPos = (uint32_t)ftell(selFile->file); in FileInfoWork()
|