/aosp_15_r20/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 380 #define ENCODE_LENGTH(str, chrsz, strSize) \ argument 384 if ((strSize) > maxSize) { \ 385 *(str)++ = maxMask | (((strSize)>>((chrsz)*8))&maxSize); \ 387 *(str)++ = strSize; \ 443 const size_t strSize = (ent.value.size()); in writeStringBlock() local 444 const size_t lenSize = strSize > (size_t)(1<<((charSize*8)-1))-1 ? in writeStringBlock() 460 ((mUTF8 ? encSize : strSize)+1)*charSize; in writeStringBlock() 471 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize) in writeStringBlock() 479 ENCODE_LENGTH(strings, sizeof(char16_t), strSize) in writeStringBlock()
|
/aosp_15_r20/hardware/interfaces/audio/effect/all-versions/default/util/ |
H A D | EffectUtils.cpp | 167 size_t strSize = str.size(); in charBufferToHal() local 168 if (strSize > halBufChars) { in charBufferToHal() 169 ALOGE("%s is too long: %zu (%zu max)", fieldName, strSize, halBufChars); in charBufferToHal() 170 strSize = halBufChars; in charBufferToHal() 173 strncpy(halBuf, str.c_str(), strSize); in charBufferToHal() 174 halBuf[strSize] = '\0'; in charBufferToHal()
|
/aosp_15_r20/external/tcpdump/ |
H A D | smbutil.c | 349 const u_char *s, uint32_t strsize, int is_null_terminated, in unistr() argument 370 strsize = 0; in unistr() 376 strsize++; in unistr() 384 strsize += 2; in unistr() 391 while (strsize != 0) { in unistr() 394 strsize--; in unistr() 405 ND_TCHECK_LEN(s, strsize); in unistr() 406 s += strsize; in unistr() 407 strsize = 0; in unistr() 422 while (strsize > 1) { in unistr() [all …]
|
/aosp_15_r20/external/golang-protobuf/internal/encoding/text/ |
H A D | decode_number.go | 50 strSize := num.size 53 strSize = last 57 strLen := strSize - num.sep 60 copy(str[1:], data[num.sep+1:strSize]) 63 return string(data[:strSize])
|
/aosp_15_r20/system/chre/util/system/ |
H A D | debug_dump.cc | 81 size_t strSize = static_cast<size_t>(strLen); in insertString() local 88 if (strSize >= spaceLeft) { in insertString() 93 mBuffPos += strSize; in insertString() 97 *sizeOfStr = strSize; in insertString()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 16 #define STRSIZE 2048 macro 34 __type(value, char[STRSIZE]); 72 ret = bpf_snprintf_btf(_str, STRSIZE, \ 116 ret = bpf_snprintf_btf(str, STRSIZE, &p, sizeof(p), 0); in BPF_PROG() 124 __ret = bpf_snprintf_btf(str, STRSIZE, &p, sizeof(p), 0); in BPF_PROG()
|
/aosp_15_r20/frameworks/minikin/libs/minikin/ |
H A D | LineBreakerUtil.h | 125 auto [str, strSize] = getHyphenString(endEdit); in populateHyphenationPoints() 126 first += run.measureText(U16StringPiece(str, strSize)); in populateHyphenationPoints() 130 auto [str, strSize] = getHyphenString(startEdit); in populateHyphenationPoints() 131 second += run.measureText(U16StringPiece(str, strSize)); in populateHyphenationPoints()
|
/aosp_15_r20/external/lzma/CPP/7zip/Archive/ |
H A D | PeHandler.cpp | 1882 unsigned StrSize; 1930 StrSize = 0; 1935 StrSize = (unsigned)t; 1963 pos += vb.StrSize + 2; 1998 AddParamString(f, p + pos, vb.StrSize); 2005 pos += vb.StrSize + 2; 2020 AddParamString(f, p + pos, vb2.StrSize); 2023 pos += vb2.StrSize + 2; 2048 pos += vb.StrSize + 2; 2064 AddParamString(f, p + pos, vb2.StrSize); [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 34 uint64_t StrSize = 0; member 378 DynEnt.StrTabAddr, "dynamic string table", DynEnt.StrSize); in getDynStr() 382 DynEnt.StrSize); in getDynStr() 466 Dyn.StrSize = Entry.d_un.d_val; in populateDynamic() 496 if (Dyn.SONameOffset && *Dyn.SONameOffset >= Dyn.StrSize) { in populateDynamic() 503 if (Offset >= Dyn.StrSize) { in populateDynamic()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 258 #define STRSIZE 4096 macro 262 char *s = ctx, new[STRSIZE]; in btf_dump_snprintf() 264 vsnprintf(new, STRSIZE, fmt, args); in btf_dump_snprintf() 265 if (strlen(s) < STRSIZE) in btf_dump_snprintf() 266 strncat(s, new, STRSIZE - strlen(s) - 1); in btf_dump_snprintf() 861 char str[STRSIZE]; in test_btf_dump()
|
/aosp_15_r20/external/google-breakpad/src/common/mac/ |
H A D | macho_reader.cc | 386 uint32_t symoff, nsyms, stroff, strsize; in WalkLoadCommands() local 387 cursor >> symoff >> nsyms >> stroff >> strsize; in WalkLoadCommands() 399 stroff > buffer_.Size() || strsize > buffer_.Size() - stroff) { in WalkLoadCommands() 404 ByteBuffer names(buffer_.start + stroff, strsize); in WalkLoadCommands()
|
/aosp_15_r20/frameworks/base/core/tests/benchmarks/src/android/text/ |
H A D | SpannableStringInternalCopyBenchmark.java | 33 int strSize = Integer.parseInt(paramStringMult); in setUp() local 35 for (int i = 0; i < strSize; i++) { in setUp()
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/link/internal/loadmacho/ |
D | ldmacho.go | 121 strsize uint32 member 288 c.sym.strsize = e4(p[20:]) 384 strbuf, _, err := m.f.Slice(uint64(symtab.strsize)) 404 if v >= symtab.strsize {
|
/aosp_15_r20/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkRayTracingUtil.cpp | 1756 …omputeBuildSize(const DeviceInterface &vk, const VkDevice device, const VkDeviceSize strSize) const 2028 VkDeviceSize strSize = 0; in getAllocationCount() local 2037 std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = in getAllocationCount() 2041 const VkDeviceSize alignedStrSize = deAlign64(strSize, 256); in getAllocationCount() 2082 VkDeviceSize strSize = 0; in getAllocationSizes() local 2097 std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = in getAllocationSizes() 2099 sumStrSize += deAlign64(strSize, 256); in getAllocationSizes() 2185 VkDeviceSize strSize = 0; in batchCreateAdjust() local 2203 std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = in batchCreateAdjust() 2209 const VkDeviceSize alignedStrSize = deAlign64(strSize, 256); in batchCreateAdjust() [all …]
|
/aosp_15_r20/external/llvm/test/tools/llvm-objdump/X86/ |
H A D | macho-private-headers.test | 100 CHECK: strsize 44 297 EXE: strsize 56 520 NON_VERBOSE: strsize 44
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/cintltst/ |
H A D | cmsgtst.c | 66 uint32_t strSize = (uint32_t)strlen(txt_testCasePatterns[i]) + 1; in InitStrings() local 67 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 68 u_uastrncpy(testCasePatterns[i], txt_testCasePatterns[i], strSize); in InitStrings() 71 uint32_t strSize = (uint32_t)strlen(txt_testResultStrings[i]) + 1; in InitStrings() local 72 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 73 u_unescape(txt_testResultStrings[i], testResultStrings[i], strSize); in InitStrings()
|
H A D | capitst.c | 1055 UChar str[41]; /* create an array of UChar of size maximum strSize + 1 */ in TestOpenVsOpenRules() 1071 int strSize; in TestOpenVsOpenRules() local 1128 strSize = (rand()%40) + 1; in TestOpenVsOpenRules() 1130 for(z = 0; z < strSize; z++){ in TestOpenVsOpenRules() 1140 str[2%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1141 str[3%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1142 str[5%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1143 str[10%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1144 str[13%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1147 str[strSize-1] = '\0'; in TestOpenVsOpenRules()
|
/aosp_15_r20/external/icu/icu4c/source/test/cintltst/ |
H A D | cmsgtst.c | 66 uint32_t strSize = (uint32_t)strlen(txt_testCasePatterns[i]) + 1; in InitStrings() local 67 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 68 u_uastrncpy(testCasePatterns[i], txt_testCasePatterns[i], strSize); in InitStrings() 71 uint32_t strSize = (uint32_t)strlen(txt_testResultStrings[i]) + 1; in InitStrings() local 72 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 73 u_unescape(txt_testResultStrings[i], testResultStrings[i], strSize); in InitStrings()
|
H A D | capitst.c | 1055 UChar str[41]; /* create an array of UChar of size maximum strSize + 1 */ in TestOpenVsOpenRules() 1071 int strSize; in TestOpenVsOpenRules() local 1128 strSize = (rand()%40) + 1; in TestOpenVsOpenRules() 1130 for(z = 0; z < strSize; z++){ in TestOpenVsOpenRules() 1140 str[2%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1141 str[3%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1142 str[5%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1143 str[10%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1144 str[13%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules() 1147 str[strSize-1] = '\0'; in TestOpenVsOpenRules()
|
/aosp_15_r20/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 229 sint32 strSize = strlen(str); in writeStr2OutBuff() local 231 char *maxSize = currBuffPtr + strSize; in writeStr2OutBuff() 233 memcpy(currBuffPtr, str, strSize); in writeStr2OutBuff() 234 currBuffPtr += strSize; in writeStr2OutBuff() 235 totalBytesWrittenToCurrBuff += strSize; in writeStr2OutBuff() 236 totalBytesWrittenToPCLmFile += strSize; in writeStr2OutBuff()
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
D | traffic.h | 186 ULONG WINAPI TcGetFlowNameA(HANDLE FlowHandle,ULONG StrSize,LPSTR pFlowName); 187 ULONG WINAPI TcGetFlowNameW(HANDLE FlowHandle,ULONG StrSize,LPWSTR pFlowName);
|
/aosp_15_r20/external/libcups/cups/ |
H A D | snmp.c | 44 size_t strsize); 1392 size_t strsize) /* I - String buffer size */ in asn1_get_string() argument 1400 if (length < strsize) in asn1_get_string() 1417 memcpy(string, *buffer, strsize - 1); in asn1_get_string() 1418 string[strsize - 1] = '\0'; in asn1_get_string()
|
/aosp_15_r20/external/llvm/test/ObjectYAML/MachO/ |
H A D | load_commands.yaml | 75 strsize: 1096 201 #CHECK: strsize: 1096
|
/aosp_15_r20/external/llvm/test/tools/llvm-objdump/AArch64/ |
H A D | macho-private-headers.test | 57 CHECK: strsize 36 241 EXE: strsize 56
|
/aosp_15_r20/external/strace/ |
H A D | util.c | 920 static int strsize = -1; in dumpstr() local 938 if (strsize < len + 16) { in dumpstr() 942 strsize = -1; in dumpstr() 947 strsize = len + 16; in dumpstr()
|