Searched refs:str_ptr (Results 1 – 5 of 5) sorted by relevance
/llvm-project/libc/fuzzing/stdlib/ |
H A D | strtofloat_fuzz.cpp | 66 const char *str_ptr = reinterpret_cast<const char *>(container); in LLVMFuzzerTestOneInput() local 77 mpfr_strtofr(result, str_ptr, &out_ptr, 0 /* base */, MPFR_RNDN); in LLVMFuzzerTestOneInput() 78 ptrdiff_t result_strlen = out_ptr - str_ptr; in LLVMFuzzerTestOneInput() 79 mpfr_strtofr(bin_result, str_ptr, &out_ptr, 2 /* base */, MPFR_RNDN); in LLVMFuzzerTestOneInput() 80 ptrdiff_t bin_result_strlen = out_ptr - str_ptr; in LLVMFuzzerTestOneInput() 90 mpfr_strtofr(result, str_ptr, &out_ptr, 10 /* base */, MPFR_RNDN); in LLVMFuzzerTestOneInput() 91 result_strlen = out_ptr - str_ptr; in LLVMFuzzerTestOneInput() 113 mpfr_strtofr(mpfr_float, str_ptr, &out_ptr, base, MPFR_RNDN); in LLVMFuzzerTestOneInput() 115 auto volatile strtof_result = LIBC_NAMESPACE::strtof(str_ptr, &out_ptr); in LLVMFuzzerTestOneInput() 116 ptrdiff_t strtof_strlen = out_ptr - str_ptr; in LLVMFuzzerTestOneInput() [all...] |
H A D | strtointeger_fuzz.cpp | 47 const char *str_ptr = reinterpret_cast<const char *>(container); in LLVMFuzzerTestOneInput() local 51 auto volatile atoi_output = LIBC_NAMESPACE::atoi(str_ptr); in LLVMFuzzerTestOneInput() 52 auto volatile atol_output = LIBC_NAMESPACE::atol(str_ptr); in LLVMFuzzerTestOneInput() 53 auto volatile atoll_output = LIBC_NAMESPACE::atoll(str_ptr); in LLVMFuzzerTestOneInput() 54 auto volatile strtol_output = LIBC_NAMESPACE::strtol(str_ptr, &out_ptr, base); in LLVMFuzzerTestOneInput() 55 if (str_ptr + container_size - 1 < out_ptr) in LLVMFuzzerTestOneInput() 58 LIBC_NAMESPACE::strtoll(str_ptr, &out_ptr, base); in LLVMFuzzerTestOneInput() 59 if (str_ptr + container_size - 1 < out_ptr) in LLVMFuzzerTestOneInput() 62 LIBC_NAMESPACE::strtoul(str_ptr, &out_ptr, base); in LLVMFuzzerTestOneInput() 63 if (str_ptr + container_size - 1 < out_ptr) in LLVMFuzzerTestOneInput() [all …]
|
/llvm-project/libc/src/stdio/printf_core/ |
H A D | string_converter.h | 25 const char *str_ptr = reinterpret_cast<const char *>(to_conv.conv_val_ptr); in convert_string() 28 if (str_ptr == nullptr) { in convert_string() 29 str_ptr = "(null)"; in convert_string() 33 for (const char *cur_str = (str_ptr); cur_str[string_len]; ++string_len) { in convert_string() 51 RET_IF_RESULT_NEGATIVE(writer->write({(str_ptr), string_len})); in convert_string() 24 const char *str_ptr = reinterpret_cast<const char *>(to_conv.conv_val_ptr); convert_string() local
|
/llvm-project/lldb/test/API/python_api/value/ |
H A D | main.c | 64 const char **str_ptr = days_of_week; in main() local 66 printf("%s\n", str_ptr[i]); // Break at this line in main()
|
/llvm-project/lldb/source/Symbol/ |
H A D | Symbol.cpp | 178 intptr_t str_ptr = m_addr_range.GetBaseAddress().GetOffset(); in GetReExportedSymbolName() local 179 if (str_ptr != 0) in GetReExportedSymbolName() 180 return ConstString((const char *)str_ptr); in GetReExportedSymbolName() 192 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() local 193 if (str_ptr != 0) in GetReExportedSymbolSharedLibrary() 194 return FileSpec((const char *)str_ptr); in GetReExportedSymbolSharedLibrary()
|