/third_party/ltp/testcases/kernel/uevents/ |
D | uevent03.c | 42 snprintf(path, sizeof(path), "/dev/input/%s", device); in get_minor_major() 46 snprintf(major, buf_sizes, "MAJOR=%i", major(stbuf.st_rdev)); in get_minor_major() 47 snprintf(minor, buf_sizes, "MINOR=%i", minor(stbuf.st_rdev)); in get_minor_major() 190 snprintf(add_msg, sizeof(add_msg), "add@%s", sysname); in verify_uevent() 192 snprintf(rem_msg, sizeof(rem_msg), "remove@%s", sysname); in verify_uevent() 194 snprintf(dev_path, sizeof(dev_path), "DEVPATH=%s", sysname); in verify_uevent() 196 snprintf(add_msg_event1, sizeof(add_msg_event1), in verify_uevent() 199 snprintf(rem_msg_event1, sizeof(rem_msg_event1), in verify_uevent() 202 snprintf(dev_path_event1, sizeof(dev_path_event1), in verify_uevent() 205 snprintf(dev_name1, sizeof(dev_name1), in verify_uevent() [all …]
|
/third_party/libcoap/src/ |
D | coap_debug.c | 87 lensofar += snprintf(&s[lensofar], len-lensofar, ".%03u", in print_timestamp() 98 return snprintf(s, len, "%u.%03u", in print_timestamp() 228 snprintf((char *)p, buf + len - p, ":%d", port); in coap_print_addr() 271 snprintf((char *)p, buf + len - p, ":%d", uip_htons(addr->port)); in coap_print_addr() 320 snprintf(buf, sizeof(buf), "%u.%02u", (c >> 5) & 0x7, c & 0x1f); in msg_code_string() 411 snprintf(buf, sizeof(buf), "%u", option_type); in msg_option_string() 458 return snprintf((char *)result, buflen, "%s", formats[i].name); in print_content_format() 463 return snprintf((char *)result, buflen, "%d", format_type); in print_content_format() 537 snprintf(outbuf, sizeof(outbuf), "v:%d t:%s c:%s i:%04x {", in coap_show_pdu() 543 snprintf(&outbuf[outbuflen], sizeof(outbuf)-outbuflen, in coap_show_pdu() [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | snprintf.c | 148 TEST(i, snprintf(0, 0, "%d", 123456), 6, "length returned %d != %d"); in main() 149 TEST(i, snprintf(0, 0, "%.4s", "hello"), 4, "length returned %d != %d"); in main() 150 TEST(i, snprintf(b, 0, "%.0s", "goodbye"), 0, "length returned %d != %d"); in main() 153 TEST(i, snprintf(b, 4, "%d", 123456), 6, "length returned %d != %d"); in main() 158 TEST(i, snprintf(b, sizeof b, "%.1022f", 0x1p-1021), 1024, "%d != %d"); in main() 173 TEST(i, snprintf(NULL, 0, "%.*u", 2147483647, 0), 2147483647, "cannot print max length %d"); in main() 174 TEST(i, snprintf(NULL, 0, "%.*u ", 2147483647, 0), -1, "integer overflow %d"); in main() 178 i = snprintf(b, sizeof b, int_tests[j].fmt, int_tests[j].i); in main() 188 i = snprintf(b, sizeof b, fp_tests[j].fmt, fp_tests[j].f); in main() 197 TEST(i, snprintf(0, 0, "%.4a", 1.0), 11, "%d != %d"); in main()
|
/third_party/libexif/libexif/canon/ |
D | mnote-canon-entry.c | 37 snprintf (v, maxlen, \ 49 snprintf (v, maxlen, \ 58 snprintf (v, maxlen, \ 457 snprintf (val, maxlen, "0x%04x", vs); in canon_search_table_value() 497 snprintf (val, maxlen, "0x%04x", vs); in canon_search_table_bitfield() 587 snprintf (val, maxlen, _("%i (ms)"), vs * 100); in mnote_canon_entry_get_value() 592 snprintf (val, maxlen, "%i", vs & ~0x4000); in mnote_canon_entry_get_value() 601 snprintf (val, maxlen, "%u", vs); in mnote_canon_entry_get_value() 605 snprintf (val, maxlen, "%.2f", apex_value_to_aperture (vs / 32.0)); in mnote_canon_entry_get_value() 611 snprintf (val, maxlen, "%.2f", vs / 10.0); in mnote_canon_entry_get_value() [all …]
|
/third_party/libuv/test/ |
D | test-tty-escape-sequence-processing.c | 394 snprintf(buffer, sizeof(buffer), "%sA", CSI); in TEST_IMPL() 402 snprintf(buffer, sizeof(buffer), "%s%dA", CSI, si.height / 4); in TEST_IMPL() 412 snprintf(buffer, sizeof(buffer), "%sA", CSI); in TEST_IMPL() 445 snprintf(buffer, sizeof(buffer), "%sB", CSI); in TEST_IMPL() 453 snprintf(buffer, sizeof(buffer), "%s%dB", CSI, si.height / 4); in TEST_IMPL() 463 snprintf(buffer, sizeof(buffer), "%sB", CSI); in TEST_IMPL() 496 snprintf(buffer, sizeof(buffer), "%sC", CSI); in TEST_IMPL() 504 snprintf(buffer, sizeof(buffer), "%s%dC", CSI, si.width / 4); in TEST_IMPL() 514 snprintf(buffer, sizeof(buffer), "%sC", CSI); in TEST_IMPL() 524 snprintf(buffer, sizeof(buffer), "%sC", CSI); in TEST_IMPL() [all …]
|
D | test-idna.c | 33 snprintf(b, sizeof(b), "%c\x7F", 0x00); in TEST_IMPL() 41 snprintf(b, sizeof(b), "\xC2\x80\xDF\xBF"); in TEST_IMPL() 49 snprintf(b, sizeof(b), "\xE0\xA0\x80\xEF\xBF\xBF"); in TEST_IMPL() 57 snprintf(b, sizeof(b), "\xF0\x90\x80\x80\xF4\x8F\xBF\xBF"); in TEST_IMPL() 65 snprintf(b, sizeof(b), "\xF4\x90\xC0\xC0\xF7\xBF\xBF\xBF"); in TEST_IMPL() 73 snprintf(b, sizeof(b), "\xC0\x80\xC1\x80"); in TEST_IMPL() 81 snprintf(b, sizeof(b), "\xED\xA0\x80\xED\xA3\xBF"); in TEST_IMPL() 89 snprintf(b, sizeof(b), "\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"); in TEST_IMPL()
|
/third_party/toybox/toys/pending/ |
D | crontab.c | 128 snprintf(toybuf, sizeof(toybuf), "'%d': premature EOF\n", lno); in parse_crontab() 148 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 159 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 165 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 173 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 179 snprintf(toybuf, sizeof(toybuf), "'%d': bad minute\n", lno); in parse_crontab() 183 snprintf(toybuf, sizeof(toybuf), "'%d': bad hour\n", lno); in parse_crontab() 187 snprintf(toybuf, sizeof(toybuf), "'%d': bad day-of-month\n", lno); in parse_crontab() 191 snprintf(toybuf, sizeof(toybuf), "'%d': bad month\n", lno); in parse_crontab() 195 snprintf(toybuf, sizeof(toybuf), "'%d': bad day-of-week\n", lno); in parse_crontab() [all …]
|
/third_party/libexif/libexif/fuji/ |
D | mnote-fuji-entry.c | 34 snprintf (v, maxlen, \ 46 snprintf (v, maxlen, \ 236 snprintf (val, maxlen, in mnote_fuji_entry_get_value() 245 snprintf (val, maxlen, in mnote_fuji_entry_get_value() 256 snprintf (val, maxlen, "%i, %i", vs, vs2); in mnote_fuji_entry_get_value() 264 snprintf (val, maxlen, _("%2.2f mm"), (double) vr.numerator / in mnote_fuji_entry_get_value() 275 snprintf (val, maxlen, "%hu", vs); in mnote_fuji_entry_get_value() 279 snprintf (val, maxlen, "%hi", vss); in mnote_fuji_entry_get_value() 283 snprintf (val, maxlen, "%lu", (long unsigned) vl); in mnote_fuji_entry_get_value() 287 snprintf (val, maxlen, "%li", (long int) vsl); in mnote_fuji_entry_get_value() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | xbmenc.c | 41 buf += snprintf(buf, 32, "#define image_width %u\n", avctx->width); in xbm_encode_frame() 42 buf += snprintf(buf, 33, "#define image_height %u\n", avctx->height); in xbm_encode_frame() 43 buf += snprintf(buf, 40, "static unsigned char image_bits[] = {\n"); in xbm_encode_frame() 46 buf += snprintf(buf, 7, " 0x%02X,", ff_reverse[*ptr++]); in xbm_encode_frame() 48 buf += snprintf(buf, 2, "\n"); in xbm_encode_frame() 50 buf += snprintf(buf, 5, " };\n"); in xbm_encode_frame()
|
/third_party/ltp/pan/ |
D | zoolib.c | 81 snprintf(buf, 1024, "%s/%s", zoo, "active"); in zoo_getname() 101 snprintf(zoo_error, ZELEN, in zoo_open() 109 snprintf(zoo_error, ZELEN, in zoo_open() 123 snprintf(zoo_error, ZELEN, in zoo_close() 156 snprintf(zoo_error, ZELEN, in zoo_mark() 172 snprintf(zoo_error, ZELEN, in zoo_mark() 190 snprintf(new_entry, 80, "%d,%s,%s", p, tag, cmdline); in zoo_mark_cmdline() 234 snprintf(zoo_error, ZELEN, in zoo_clear() 255 snprintf(zoo_error, ZELEN, in zoo_clear() 325 snprintf(zoo_error, ZELEN, in zoo_lock() [all …]
|
/third_party/libsnd/tests/ |
D | command_test.c | 564 snprintf (label, sizeof (label), "calc_peak_test (%d channels)", channels) ; in calc_peak_test() 1004 snprintf (name, sizeof (name), "cue_test_var %d", count) ; in cue_test_var() 1016 … snprintf (write_cue->cue_points [i].name, sizeof (write_cue->cue_points [i].name), "Cue%03d", i) ; in cue_test_var() 1116 snprintf (bc_write.description, sizeof (bc_write.description), "Test description") ; in broadcast_test() 1117 snprintf (bc_write.originator, sizeof (bc_write.originator), "Test originator") ; in broadcast_test() 1118 …snprintf (bc_write.originator_reference, sizeof (bc_write.originator_reference), "%08x-%08x", (uns… in broadcast_test() 1119 …snprintf (bc_write.origination_date, sizeof (bc_write.origination_date), "%d/%02d/%02d", 2006, 3, … in broadcast_test() 1120 …snprintf (bc_write.origination_time, sizeof (bc_write.origination_time), "%02d:%02d:%02d", 20, 27,… in broadcast_test() 1121 snprintf (bc_write.umid, sizeof (bc_write.umid), "Some umid") ; in broadcast_test() 1202 snprintf (binfo.description, sizeof (binfo.description), "Test description") ; in broadcast_rdwr_test() [all …]
|
/third_party/iowow/src/kv/tests/ |
D | iwkv_test5.c | 44 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test5_2() 45 snprintf(vbuf, VBUFSZ, "%03dval", i); in iwkv_test5_2() 76 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test5_2() 77 snprintf(vbuf, VBUFSZ, "%03dval", i); in iwkv_test5_2() 126 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test5_1() 127 snprintf(vbuf, VBUFSZ, "%03dval", i); in iwkv_test5_1() 140 snprintf(kbuf, KBUFSZ, "%03dkkk", 25); in iwkv_test5_1() 152 snprintf(kbuf, KBUFSZ, "%03dkkk", 29); in iwkv_test5_1() 167 snprintf(kbuf, KBUFSZ, "%03dkkk", 26); in iwkv_test5_1() 168 snprintf(vbuf, VBUFSZ, "%03dval", 26); in iwkv_test5_1() [all …]
|
D | iwkv_test1.c | 89 snprintf(kbuf, KBUFSZ, "%05dkkk", c); in iwkv_test3_impl() 90 snprintf(vbuf, VBUFSZ, "%05dval", c); in iwkv_test3_impl() 105 snprintf(kbuf, KBUFSZ, "%05daaa", 1858); in iwkv_test3_impl() 106 snprintf(vbuf, VBUFSZ, "%05dval", 1858); in iwkv_test3_impl() 156 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test2_impl() 157 snprintf(vbuf, VBUFSZ, "%03dval", i); in iwkv_test2_impl() 169 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test2_impl() 170 snprintf(vbuf, VBUFSZ, "%03dval", i); in iwkv_test2_impl() 439 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test1_impl() 440 snprintf(vbuf, VBUFSZ, "%03dval", i); in iwkv_test1_impl() [all …]
|
/third_party/libexif/libexif/olympus/ |
D | mnote-olympus-entry.c | 36 snprintf (v, maxlen, \ 48 snprintf (v, maxlen, \ 61 snprintf (v, maxlen, \ 71 snprintf (v, maxlen, \ 307 snprintf (v, maxlen, "%04lx", (long unsigned int) vl); in mnote_olympus_entry_get_value() 315 snprintf (v, maxlen, "ISO %hd", vs); in mnote_olympus_entry_get_value() 322 snprintf (v, maxlen, "ISO2 %hd", vs); in mnote_olympus_entry_get_value() 346 snprintf (v, maxlen, "%lu", (long unsigned int) vl ); in mnote_olympus_entry_get_value() 355 snprintf (v, maxlen, "%.1f", c?(double)a*((double)b/(double)c):0 ); in mnote_olympus_entry_get_value() 363 snprintf (v, maxlen, "%.1f", ((long unsigned int) vl>>24)/6.0 ); in mnote_olympus_entry_get_value() [all …]
|
/third_party/ltp/lib/ |
D | get_path.c | 67 snprintf(buf, MIN(buf_len, (size_t) (end - start + 1)), in tst_get_path() 70 snprintf(buf, buf_len, "%s", start); in tst_get_path() 79 snprintf(buf, buf_len, "."); in tst_get_path() 88 snprintf(buf + size, buf_len - size, "/%s", in tst_get_path() 92 snprintf(buf + size, buf_len - size, "%s", in tst_get_path()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-buffer-serialize.cc | 145 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 148 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 153 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 156 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 163 …p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"fl\":%u", info[i].mask & HB_GLYPH_FLA… in _hb_buffer_serialize_glyphs_json() 170 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", in _hb_buffer_serialize_glyphs_json() 172 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", in _hb_buffer_serialize_glyphs_json() 231 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text() 234 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_text() 240 …p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", x+pos[i].x_offset, y+pos[i].y_o… in _hb_buffer_serialize_glyphs_text() [all …]
|
/third_party/libexif/libexif/pentax/ |
D | mnote-pentax-entry.c | 38 snprintf (v, maxlen, \ 50 snprintf (v, maxlen, \ 60 snprintf (v, maxlen, \ 351 snprintf (val, maxlen, in mnote_pentax_entry_get_value() 360 snprintf (val, maxlen, in mnote_pentax_entry_get_value() 375 snprintf (val, maxlen, in mnote_pentax_entry_get_value() 384 snprintf (val, maxlen, in mnote_pentax_entry_get_value() 396 snprintf (val, maxlen, "%lu", (long unsigned) vl); in mnote_pentax_entry_get_value() 401 snprintf (val, maxlen, _("%i bytes unknown data"), in mnote_pentax_entry_get_value() 415 snprintf (val, maxlen, "%hi:%02i:%02i", vs, entry->data[2], entry->data[3]); in mnote_pentax_entry_get_value() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 316 snprintf(phase2, sizeof(phase2), "auth=%s", in addNetwork() 321 snprintf(phase2, sizeof(phase2), "autheap=%s", in addNetwork() 325 snprintf(phase2, sizeof(phase2), "auth=%s", in addNetwork() 330 snprintf(phase2, sizeof(phase2), "auth=%s", in addNetwork() 336 snprintf(phase2, sizeof(phase2), in addNetwork() 345 snprintf(blob, sizeof(blob), in addNetwork() 404 snprintf(cmd, sizeof(cmd), "ENABLE_NETWORK %d", id); in addNetwork() 432 snprintf(cmd, sizeof(cmd), "SET_NETWORK %d %s %s%s%s", in setNetworkParam() 491 snprintf(buf, sizeof(buf), "wep_key%d", id); in writeWepKey() 512 snprintf(cmd, sizeof(cmd), "GET_NETWORK %d ssid", network_id); in paramsFromConfig() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 316 snprintf(phase2, sizeof(phase2), "auth=%s", in addNetwork() 321 snprintf(phase2, sizeof(phase2), "autheap=%s", in addNetwork() 325 snprintf(phase2, sizeof(phase2), "auth=%s", in addNetwork() 330 snprintf(phase2, sizeof(phase2), "auth=%s", in addNetwork() 336 snprintf(phase2, sizeof(phase2), in addNetwork() 345 snprintf(blob, sizeof(blob), in addNetwork() 404 snprintf(cmd, sizeof(cmd), "ENABLE_NETWORK %d", id); in addNetwork() 432 snprintf(cmd, sizeof(cmd), "SET_NETWORK %d %s %s%s%s", in setNetworkParam() 491 snprintf(buf, sizeof(buf), "wep_key%d", id); in writeWepKey() 512 snprintf(cmd, sizeof(cmd), "GET_NETWORK %d ssid", network_id); in paramsFromConfig() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open14.c | 98 snprintf(path, PATH_MAX, "/proc/self/fd/%d", fd); in test01() 136 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 146 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 167 snprintf(path1, PATH_MAX, "/proc/self/fd/%d", fd); in link_tmp_file() 168 snprintf(path2, PATH_MAX, "tmpfile_%d", fd); in link_tmp_file() 190 snprintf(path, PATH_MAX, "tst03_%d", i); in test03() 203 snprintf(path, PATH_MAX, "tmpfile_%d", fd[i]); in test03() 218 snprintf(path, PATH_MAX, "tmpfile_%d", fd[i]); in test03() 224 snprintf(path, PATH_MAX, "tst03_%d", i); in test03()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-buffer-serialize.cc | 148 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 151 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 156 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 159 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 166 …p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"fl\":%u", info[i].mask & HB_GLYPH_FLA… in _hb_buffer_serialize_glyphs_json() 173 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", in _hb_buffer_serialize_glyphs_json() 175 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", in _hb_buffer_serialize_glyphs_json() 230 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_unicode_json() 233 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_unicode_json() 292 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-buffer-serialize.cc | 148 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 151 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 156 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 159 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 166 …p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"fl\":%u", info[i].mask & HB_GLYPH_FLA… in _hb_buffer_serialize_glyphs_json() 173 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", in _hb_buffer_serialize_glyphs_json() 175 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", in _hb_buffer_serialize_glyphs_json() 230 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_unicode_json() 233 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_unicode_json() 292 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | timestamp.h | 45 if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); in av_ts_make_string() 46 else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%" PRId64, ts); in av_ts_make_string() 67 if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); in av_ts_make_time_string() 68 else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%.6g", av_q2d(*tb) * ts); in av_ts_make_time_string()
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
D | openat03.c | 109 snprintf(path, PATH_MAX, "/proc/self/fd/%d", fd); in test01() 147 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 157 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 178 snprintf(path1, PATH_MAX, "/proc/self/fd/%d", fd); in link_tmp_file() 179 snprintf(path2, PATH_MAX, "tmpfile_%d", fd); in link_tmp_file() 201 snprintf(path, PATH_MAX, "tst03_%d", i); in test03() 214 snprintf(path, PATH_MAX, "tmpfile_%d", fd[i]); in test03() 229 snprintf(path, PATH_MAX, "tmpfile_%d", fd[i]); in test03() 235 snprintf(path, PATH_MAX, "tst03_%d", i); in test03()
|
/third_party/ffmpeg/libavformat/ |
D | dash.c | 73 snprintf(format_tag, format_tag_size, "%%%s", number_format); in dash_read_tmpl_id() 82 … snprintf(format_tag, format_tag_size, "%s%c%s", "%0", width_ptr[0], number_format); in dash_read_tmpl_id() 129 n = snprintf(&dst[dst_pos], buffer_size - dst_pos, format_tag, rep_id); in ff_dash_fill_tmpl_params() 132 n = snprintf(&dst[dst_pos], buffer_size - dst_pos, format_tag, number); in ff_dash_fill_tmpl_params() 135 n = snprintf(&dst[dst_pos], buffer_size - dst_pos, format_tag, bit_rate); in ff_dash_fill_tmpl_params() 138 n = snprintf(&dst[dst_pos], buffer_size - dst_pos, format_tag, time); in ff_dash_fill_tmpl_params()
|