/third_party/jerryscript/jerry-core/parser/js/ |
D | common.c | 74 lit_utf8_byte_t str_buf[ECMA_MAX_CHARS_IN_STRINGIFIED_NUMBER]; in util_print_number() local 75 lit_utf8_size_t str_size = ecma_number_to_utf8_string (num_p, str_buf, sizeof (str_buf)); in util_print_number() 76 str_buf[str_size] = 0; in util_print_number() 77 JERRY_DEBUG_MSG ("%s", str_buf); in util_print_number()
|
/third_party/selinux/libselinux/src/ |
D | label_file.c | 121 char *addr, *str_buf; in load_mmap() local 179 str_buf = malloc(entry_len + 1); in load_mmap() 180 if (!str_buf) in load_mmap() 183 rc = next_entry(str_buf, mmap_area, entry_len); in load_mmap() 185 free(str_buf); in load_mmap() 189 str_buf[entry_len] = '\0'; in load_mmap() 190 if ((strcmp(str_buf, reg_version) != 0)) { in load_mmap() 193 reg_version, str_buf); in load_mmap() 194 free(str_buf); in load_mmap() 197 free(str_buf); in load_mmap() [all …]
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/ |
D | memory_check.c | 257 char str_buf[ITEM_BUFFER_SIZE]; in get_backtrace_info() local 275 snprintf(str_buf, ITEM_BUFFER_SIZE, " [Check point]:\n"); in get_backtrace_info() 276 ret = write(fd, str_buf, strlen(str_buf)); in get_backtrace_info() 277 if (ret != strlen(str_buf)) { in get_backtrace_info() 289 snprintf(str_buf, ITEM_BUFFER_SIZE, "\t#%02d: <%s+%#x>[%#x] -> %s\n", i, info.dli_sname, in get_backtrace_info() 292 snprintf(str_buf, ITEM_BUFFER_SIZE, "\t#%02d: %#x\n", i, buffer[i]); in get_backtrace_info() 293 ret = write(fd, str_buf, strlen(str_buf)); in get_backtrace_info() 294 if (ret != strlen(str_buf)) { in get_backtrace_info()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | putiltst.c | 513 …uint8_t str_buf[AESTRNCPY_SIZE] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x… in Test_aestrncpy() local 517 ret = uprv_aestrncpy(str_buf, src, len); in Test_aestrncpy() 518 if(ret != str_buf) { in Test_aestrncpy() 519 …s:%d: FAIL: uprv_aestrncpy returned %p expected %p\n", __FILE__, line, (void*)ret, (void*)str_buf); in Test_aestrncpy() 521 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy() 524 log_verbose("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy() 528 log_err ("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | xml_libxml2.c | 24 struct str_buf { struct 33 struct str_buf *str = ctx_ptr; in add_str() argument 62 struct str_buf errors; in xml_validate() 123 struct str_buf errors; in xml_validate_dtd()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | xml_libxml2.c | 24 struct str_buf { struct 33 struct str_buf *str = ctx_ptr; in add_str() argument 62 struct str_buf errors; in xml_validate() 123 struct str_buf errors; in xml_validate_dtd()
|
/third_party/jerryscript/jerry-main/ |
D | main-unix.c | 838 JERRY_VLA (jerry_char_t, str_buf, str_size); in main() 839 jerry_string_to_char_buffer (str_val, str_buf, str_size); in main() 840 if (memcmp (restart_str, (char *) (str_buf), str_size) == 0) in main()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 598 lit_utf8_byte_t str_buf[ECMA_MAX_CHARS_IN_STRINGIFIED_NUMBER]; in ecma_new_ecma_string_from_number() local 599 lit_utf8_size_t str_size = ecma_number_to_utf8_string (num, str_buf, sizeof (str_buf)); in ecma_new_ecma_string_from_number() 603 JERRY_ASSERT (lit_is_utf8_string_magic (str_buf, str_size) == LIT_MAGIC_STRING__COUNT in ecma_new_ecma_string_from_number() 604 … && lit_is_ex_utf8_string_magic (str_buf, str_size) == lit_get_magic_string_ex_count ()); in ecma_new_ecma_string_from_number() 608 …*string_desc_p = ecma_new_ecma_string_from_utf8_buffer (lit_utf8_string_length (str_buf, str_size), in ecma_new_ecma_string_from_number() 612 string_desc_p->u.hash = lit_utf8_string_calc_hash (str_buf, str_size); in ecma_new_ecma_string_from_number() 613 memcpy (data_p, str_buf, str_size); in ecma_new_ecma_string_from_number()
|
/third_party/gstreamer/gstplugins_bad/gst/asfmux/ |
D | gstasfmux.c | 867 guint8 * size_buf, guint8 * str_buf, const gchar * str, gboolean use32) in gst_asf_mux_write_string_with_size() argument 894 memset (str_buf, 0, str_size); in gst_asf_mux_write_string_with_size() 898 memcpy (str_buf, str_utf16, str_size - 1); in gst_asf_mux_write_string_with_size() 899 str_buf[str_size - 1] = 0; in gst_asf_mux_write_string_with_size()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p.c | 1122 char str_buf[256]; in p2ps_gen_hash() local 1134 adv_array = (u8 *) str_buf; in p2ps_gen_hash() 1136 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash() 1141 str_buf[i] = str[i] - 'A' + 'a'; in p2ps_gen_hash() 1143 str_buf[i] = str[i]; in p2ps_gen_hash()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p.c | 1126 char str_buf[256]; in p2ps_gen_hash() local 1138 adv_array = (u8 *) str_buf; in p2ps_gen_hash() 1140 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash() 1145 str_buf[i] = str[i] - 'A' + 'a'; in p2ps_gen_hash() 1147 str_buf[i] = str[i]; in p2ps_gen_hash()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 153 std::stringbuf str_buf(str, std::ios_base::in); in CheckOutput() local 154 std::istream istream(&str_buf); in CheckOutput()
|