Searched refs:strSize (Results 1 – 8 of 8) sorted by relevance
/external/libxml2/fuzz/ |
D | fuzz.c | 300 size_t strSize = end - start; in xmlFuzzExtractStrings() local 301 const char *zero = memchr(start, 0, strSize); in xmlFuzzExtractStrings() 304 strSize = zero - start; in xmlFuzzExtractStrings() 306 strings[i] = xmlMalloc(strSize + 1); in xmlFuzzExtractStrings() 307 memcpy(strings[i], start, strSize); in xmlFuzzExtractStrings() 308 strings[i][strSize] = '\0'; in xmlFuzzExtractStrings()
|
/external/llvm-project/openmp/runtime/src/ |
D | extractExternal.cpp | 139 unsigned strSize; in StringTable() local 143 f >> strSize; in StringTable() 144 if (strSize < sizeof(unsigned)) in StringTable() 146 strData = new char[strSize]; in StringTable() 147 *(unsigned *)strData = strSize; in StringTable() 149 f.read(strData + sizeof(unsigned), strSize - sizeof(unsigned)); in StringTable() 151 if (s < strSize) in StringTable()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cmsgtst.c | 65 uint32_t strSize = (uint32_t)strlen(txt_testCasePatterns[i]) + 1; in InitStrings() local 66 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 67 u_uastrncpy(testCasePatterns[i], txt_testCasePatterns[i], strSize); in InitStrings() 70 uint32_t strSize = (uint32_t)strlen(txt_testResultStrings[i]) + 1; in InitStrings() local 71 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 72 u_uastrncpy(testResultStrings[i], txt_testResultStrings[i], strSize); in InitStrings()
|
D | capitst.c | 950 int strSize; in TestOpenVsOpenRules() local 1007 strSize = (rand()%40) + 1; in TestOpenVsOpenRules() 1009 for(z = 0; z < strSize; z++){ in TestOpenVsOpenRules() 1019 str[2%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1020 str[3%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1021 str[5%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1022 str[10%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1023 str[13%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1026 str[strSize-1] = '\0'; in TestOpenVsOpenRules()
|
/external/catch2/include/reporters/ |
D | catch_reporter_console.cpp | 320 const auto strSize = colStr.size(); in operator <<() local 330 auto padding = (strSize + 1 < static_cast<std::size_t>(colInfo.width)) in operator <<() 331 ? std::string(colInfo.width - (strSize + 1), ' ') in operator <<()
|
/external/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | MachONormalizedFileBinaryReader.cpp | 370 const uint32_t strSize = read32(&st->strsize, isBig); in readBinary() local 391 if (sin->n_strx > strSize) in readBinary() 423 if (sin->n_strx > strSize) in readBinary()
|
/external/catch2/single_include/catch2/ |
D | catch.hpp | 16102 const auto strSize = colStr.size(); in operator <<() local 16112 auto padding = (strSize + 1 < static_cast<std::size_t>(colInfo.width)) in operator <<() 16113 ? std::string(colInfo.width - (strSize + 1), ' ') in operator <<()
|
/external/libabigail/tests/lib/ |
D | catch.hpp | 16354 const auto strSize = colStr.size(); in operator <<() local 16364 auto padding = (strSize + 1 < static_cast<std::size_t>(colInfo.width)) in operator <<() 16365 ? std::string(colInfo.width - (strSize + 1), ' ') in operator <<()
|