/third_party/mindspore/mindspore/core/gvar/ |
D | log_adapter_common.cc | 60 #define BUFLEN 80 in GetTimeString() macro 61 char buf[BUFLEN] = {0}; in GetTimeString() 66 …(void)snprintf(buf, BUFLEN, "%d-%d-%d %d:%d:%d", now_time.tm_year + 1900, now_time.tm_mon + 1, now… in GetTimeString() 76 (void)strftime(buf, BUFLEN, "%Y-%m-%d-%H:%M:%S", &now); // format date and time in GetTimeString() 77 …(void)snprintf(buf + time_str_len, BUFLEN - time_str_len, ".%03ld.%03ld", cur_time.tv_usec / time_… in GetTimeString()
|
/third_party/ltp/testcases/cve/ |
D | cve-2014-0196.c | 39 #define BUFLEN 512 macro 44 static char buf[BUFLEN]; 73 SAFE_WRITE(0, slave_fd, buf, BUFLEN - 1); in overwrite_thread_fn() 74 SAFE_WRITE(0, slave_fd, buf, BUFLEN - 1); in overwrite_thread_fn() 75 SAFE_WRITE(0, slave_fd, buf, BUFLEN); in overwrite_thread_fn()
|
/third_party/boost/tools/build/src/engine/ |
D | subst.cpp | 60 #define BUFLEN 4096 in builtin_subst() macro 61 char buf[ BUFLEN + 1 ]; in builtin_subst() 65 for ( ; *in && out < buf + BUFLEN; ++in ) in builtin_subst() 77 size_t const remaining = buf + BUFLEN - out; in builtin_subst() 92 #undef BUFLEN in builtin_subst()
|
/third_party/libsnd/programs/ |
D | sndfile-cmp.c | 46 #define BUFLEN 65536 macro 67 double buf1 [BUFLEN], buf2 [BUFLEN] ; in compare() 100 items = BUFLEN / sfinfo1.channels ; in compare()
|
/third_party/ltp/pan/ |
D | zoolib.c | 135 char buf[BUFLEN]; in zoo_mark() 149 if (fgets(buf, BUFLEN, fp) == NULL) in zoo_mark() 188 char new_entry[BUFLEN]; in zoo_mark_cmdline() 210 char buf[BUFLEN]; in zoo_clear() 224 if (fgets(buf, BUFLEN, fp) == NULL) in zoo_clear() 266 char buf[BUFLEN], *s; in zoo_getpid() 277 if (fgets(buf, BUFLEN, fp) == NULL) in zoo_getpid()
|
D | zoolib.h | 47 #define BUFLEN 81 macro
|
/third_party/icu/icu4c/source/common/ |
D | locutil.cpp | 148 enum { BUFLEN = 128 }; // larger than ever needed in initLocaleFromName() enumerator 150 if (id.isBogus() || id.length() >= BUFLEN) { in initLocaleFromName() 171 char buffer[BUFLEN]; in initLocaleFromName() 178 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 182 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | locutil.cpp | 148 enum { BUFLEN = 128 }; // larger than ever needed in initLocaleFromName() enumerator 150 if (id.isBogus() || id.length() >= BUFLEN) { in initLocaleFromName() 171 char buffer[BUFLEN]; in initLocaleFromName() 178 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 182 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | locutil.cpp | 147 enum { BUFLEN = 128 }; // larger than ever needed in initLocaleFromName() enumerator 149 if (id.isBogus() || id.length() >= BUFLEN) { in initLocaleFromName() 170 char buffer[BUFLEN]; in initLocaleFromName() 177 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 181 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
|
/third_party/node/deps/icu-small/source/common/ |
D | locutil.cpp | 148 enum { BUFLEN = 128 }; // larger than ever needed in initLocaleFromName() enumerator 150 if (id.isBogus() || id.length() >= BUFLEN) { in initLocaleFromName() 171 char buffer[BUFLEN]; in initLocaleFromName() 178 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 182 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName()
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/test/ |
D | minigzip.c | 135 #define BUFLEN 16384 macro 242 unsigned char out[BUFLEN]; 251 strm->avail_out = BUFLEN; 253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 301 unsigned char out[BUFLEN]; 311 strm->avail_out = BUFLEN; 313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 366 local char buf[BUFLEN]; 434 local char buf[BUFLEN];
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/test/ |
D | minigzip.c | 135 #define BUFLEN 16384 macro 242 unsigned char out[BUFLEN]; 251 strm->avail_out = BUFLEN; 253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 301 unsigned char out[BUFLEN]; 311 strm->avail_out = BUFLEN; 313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 366 local char buf[BUFLEN]; 434 local char buf[BUFLEN];
|
/third_party/zlib/test/ |
D | minigzip.c | 135 #define BUFLEN 16384 macro 242 unsigned char out[BUFLEN]; 251 strm->avail_out = BUFLEN; 253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 301 unsigned char out[BUFLEN]; 311 strm->avail_out = BUFLEN; 313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 366 local char buf[BUFLEN]; 434 local char buf[BUFLEN];
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_ssl.function | 2272 enum { BUFLEN = MSGLEN / 5 }; 2305 TEST_ASSERT( 0 == mbedtls_mock_socket_connect( &client, &server, BUFLEN ) ); 2315 TEST_ASSERT( send_ret <= BUFLEN ); 2319 if ( send_ret == BUFLEN ) 2338 TEST_ASSERT( recv_ret <= BUFLEN ); 2352 if ( recv_ret == BUFLEN ) 2385 enum { BUFLEN = MSGLEN / 5 }; 2423 TEST_ASSERT( 0 == mbedtls_mock_socket_connect( &client, &server, BUFLEN ) ); 2446 TEST_ASSERT( send_ret[i] <= BUFLEN ); 2451 if ( send_ret[i] == BUFLEN ) [all …]
|