Home
last modified time | relevance | path

Searched full:strsize (Results 1 – 25 of 46) sorted by relevance

12

/external/oss-fuzz/projects/spdlog/fuzz/
Dlevels_fuzzer.cc38 const unsigned char strsize = stream.ConsumeIntegral<unsigned char>(); in LLVMFuzzerTestOneInput() local
39 for(unsigned char i=0; i<strsize; i++){ in LLVMFuzzerTestOneInput()
42 std::vector<char*> argvv; argvv.reserve(strsize); in LLVMFuzzerTestOneInput()
43 for(unsigned char i=0; i< strsize; ++i){ in LLVMFuzzerTestOneInput()
47 if(strsize==0) return 0; in LLVMFuzzerTestOneInput()
51 spdlog::cfg::load_argv_levels(strsize, argv); in LLVMFuzzerTestOneInput()
/external/golang-protobuf/internal/encoding/text/
Ddecode_number.go50 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])
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dnetif_receive_skb.c16 #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()
/external/tcpdump/
Dsmbutil.c349 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 …]
/external/llvm/test/ObjectYAML/MachO/
Dload_commands.yaml75 strsize: 1096
201 #CHECK: strsize: 1096
Drebase_opcode.yaml42 strsize: 1096
Dweak_bind_opcode.yaml42 strsize: 1096
Dbind_opcode.yaml42 strsize: 1096
Dexport_trie.yaml75 strsize: 1096
Dout_of_order_linkedit.yaml75 strsize: 1096
Dsections.yaml185 strsize: 1096
/external/llvm/test/tools/llvm-objdump/AArch64/
Dmacho-private-headers.test57 CHECK: strsize 36
241 EXE: strsize 56
/external/google-breakpad/src/common/mac/
Dmacho_reader.cc383 uint32_t symoff, nsyms, stroff, strsize; in WalkLoadCommands() local
384 cursor >> symoff >> nsyms >> stroff >> strsize; in WalkLoadCommands()
396 stroff > buffer_.Size() || strsize > buffer_.Size() - stroff) { in WalkLoadCommands()
401 ByteBuffer names(buffer_.start + stroff, strsize); in WalkLoadCommands()
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-private-headers.test100 CHECK: strsize 44
297 EXE: strsize 56
520 NON_VERBOSE: strsize 44
/external/llvm/test/tools/llvm-objdump/ARM/
Dmacho-private-headers.test104 CHECK: strsize 16
275 EXE: strsize 68
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c230 #define STRSIZE 4096 macro
234 char *s = ctx, new[STRSIZE]; in btf_dump_snprintf()
236 vsnprintf(new, STRSIZE, fmt, args); in btf_dump_snprintf()
237 if (strlen(s) < STRSIZE) in btf_dump_snprintf()
238 strncat(s, new, STRSIZE - strlen(s) - 1); in btf_dump_snprintf()
833 char str[STRSIZE]; in test_btf_dump()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp1568 const VkDeviceSize strSize) const
1825 VkDeviceSize strSize = 0; in getAllocationCount() local
1834 …std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = str.computeBuildSi… in getAllocationCount()
1837 const VkDeviceSize alignedStrSize = deAlign64(strSize, 256); in getAllocationCount()
1881 VkDeviceSize strSize = 0; in getAllocationSizes() local
1894 …std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = str.computeBuildSi… in getAllocationSizes()
1895 sumStrSize += deAlign64(strSize, 256); in getAllocationSizes()
1973 VkDeviceSize strSize = 0; in batchCreateAdjust() local
1991 …std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = str.computeBuildSi… in batchCreateAdjust()
1996 const VkDeviceSize alignedStrSize = deAlign64(strSize, 256); in batchCreateAdjust()
[all …]
/external/cronet/third_party/icu/source/test/cintltst/
Dcmsgtst.c66 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()
/external/icu/icu4c/source/test/cintltst/
Dcmsgtst.c66 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()
/external/catch2/include/reporters/
Dcatch_reporter_console.cpp320 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/libcups/cups/
Dsnmp.c44 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()
/external/strace/
Dutil.c920 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()
Dstrace.172 .OP \-s strsize
223 .I strsize
309 .BI "\-s " strsize
Dstrace.1.in72 .OP \-s strsize
223 .I strsize
309 .BI "\-s " strsize
/external/dtc/
Dflattree.c316 int reservesize, int dtsize, int strsize, in make_fdt_header() argument
336 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
341 fdt->size_dt_strings = cpu_to_fdt32(strsize); in make_fdt_header()

12