/external/dhcpcd-6.8.2/compat/ |
H A D | endian.h | 34 be32enc(uint8_t *buf, uint32_t u) argument 37 buf[0] = (uint8_t)((u >> 24) & 0xff); 38 buf[1] = (uint8_t)((u >> 16) & 0xff); 39 buf[2] = (uint8_t)((u >> 8) & 0xff); 40 buf[3] = (uint8_t)(u & 0xff); 44 be64enc(uint8_t *buf, uint64_t u) argument 47 be32enc(buf, (uint32_t)(u >> 32)); 48 be32enc(buf + sizeof(uint32_t), (uint32_t)(u & 0xffffffffULL)); 52 be16dec(const uint8_t *buf) argument 55 return (uint16_t)(buf[ 59 be32dec(const uint8_t *buf) argument 66 be64dec(const uint8_t *buf) argument [all...] |
/external/libunwind/tests/ |
H A D | Lrs-race.c | 49 void *buf[20]; local 52 if ((n = unw_backtrace (buf, 20)) < 3) 59 void *buf[20]; local 62 if ((n = unw_backtrace (buf, 20)) < 3) 69 void *buf[20]; local 72 if ((n = unw_backtrace (buf, 20)) < 3) 79 void *buf[20]; local 82 if ((n = unw_backtrace (buf, 20)) < 3) 89 void *buf[20]; local 92 if ((n = unw_backtrace (buf, 2 99 void *buf[20]; local 109 void *buf[20]; local 119 void *buf[20]; local 129 void *buf[20]; local 139 void *buf[20]; local 149 void *buf[20]; local 159 void *buf[20]; local 169 void *buf[20]; local 179 void *buf[20]; local 189 void *buf[20]; local 199 void *buf[20]; local 209 void *buf[20]; local 219 void *buf[20]; local 229 void *buf[20]; local 239 void *buf[20]; local 249 void *buf[20]; local 259 void *buf[20]; local 269 void *buf[20]; local 279 void *buf[20]; local 289 void *buf[20]; local 299 void *buf[20]; local 309 void *buf[20]; local 319 void *buf[20]; local 329 void *buf[20]; local 339 void *buf[20]; local 349 void *buf[20]; local 359 void *buf[20]; local 369 void *buf[20]; local 379 void *buf[20]; local 389 void *buf[20]; local 399 void *buf[20]; local 409 void *buf[20]; local 419 void *buf[20]; local 429 void *buf[20]; local 439 void *buf[20]; local 449 void *buf[20]; local 459 void *buf[20]; local 469 void *buf[20]; local 479 void *buf[20]; local 489 void *buf[20]; local 499 void *buf[20]; local 509 void *buf[20]; local 519 void *buf[20]; local 529 void *buf[20]; local 539 void *buf[20]; local 549 void *buf[20]; local 559 void *buf[20]; local 569 void *buf[20]; local 579 void *buf[20]; local 589 void *buf[20]; local 599 void *buf[20]; local 609 void *buf[20]; local 619 void *buf[20]; local 629 void *buf[20]; local 639 void *buf[20]; local 649 void *buf[20]; local 659 void *buf[20]; local 669 void *buf[20]; local 679 void *buf[20]; local 689 void *buf[20]; local 699 void *buf[20]; local 709 void *buf[20]; local 719 void *buf[20]; local 729 void *buf[20]; local 739 void *buf[20]; local 749 void *buf[20]; local 759 void *buf[20]; local 769 void *buf[20]; local 779 void *buf[20]; local 789 void *buf[20]; local 799 void *buf[20]; local 809 void *buf[20]; local 819 void *buf[20]; local 829 void *buf[20]; local 839 void *buf[20]; local 849 void *buf[20]; local 859 void *buf[20]; local 869 void *buf[20]; local 879 void *buf[20]; local 889 void *buf[20]; local 899 void *buf[20]; local 909 void *buf[20]; local 919 void *buf[20]; local 929 void *buf[20]; local 939 void *buf[20]; local 949 void *buf[20]; local 959 void *buf[20]; local 969 void *buf[20]; local 979 void *buf[20]; local 989 void *buf[20]; local 999 void *buf[20]; local 1009 void *buf[20]; local 1019 void *buf[20]; local 1029 void *buf[20]; local 1039 void *buf[20]; local 1049 void *buf[20]; local 1059 void *buf[20]; local 1069 void *buf[20]; local 1079 void *buf[20]; local 1089 void *buf[20]; local 1099 void *buf[20]; local 1109 void *buf[20]; local 1119 void *buf[20]; local 1129 void *buf[20]; local 1139 void *buf[20]; local 1149 void *buf[20]; local 1159 void *buf[20]; local 1169 void *buf[20]; local 1179 void *buf[20]; local 1189 void *buf[20]; local 1199 void *buf[20]; local 1209 void *buf[20]; local 1219 void *buf[20]; local 1229 void *buf[20]; local 1239 void *buf[20]; local 1249 void *buf[20]; local 1259 void *buf[20]; local 1269 void *buf[20]; local 1279 void *buf[20]; local 1289 void *buf[20]; local 1299 void *buf[20]; local 1309 void *buf[20]; local 1319 void *buf[20]; local 1329 void *buf[20]; local [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | wpabuf.c | 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) argument 25 ((const u8 *) buf - sizeof(struct wpabuf_trace)); 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) argument 33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); 40 buf, (unsigned long) buf->size, (unsigned long) buf->used, 49 struct wpabuf *buf = *_buf; local 54 if (buf == NULL) { 60 trace = wpabuf_get_trace(buf); 118 struct wpabuf *buf; local 140 struct wpabuf *buf; local 162 struct wpabuf *buf = wpabuf_alloc(len); local 171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); local 182 wpabuf_free(struct wpabuf *buf) argument 208 wpabuf_clear_free(struct wpabuf *buf) argument 217 wpabuf_put(struct wpabuf *buf, size_t len) argument 275 wpabuf_zeropad(struct wpabuf *buf, size_t len) argument 298 wpabuf_printf(struct wpabuf *buf, char *fmt, ...) argument 320 wpabuf_parse_bin(const char *buf) argument [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | wpabuf.c | 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) argument 25 ((const u8 *) buf - sizeof(struct wpabuf_trace)); 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) argument 33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); 40 buf, (unsigned long) buf->size, (unsigned long) buf->used, 49 struct wpabuf *buf = *_buf; local 54 if (buf == NULL) { 60 trace = wpabuf_get_trace(buf); 118 struct wpabuf *buf; local 140 struct wpabuf *buf; local 162 struct wpabuf *buf = wpabuf_alloc(len); local 171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); local 182 wpabuf_free(struct wpabuf *buf) argument 208 wpabuf_clear_free(struct wpabuf *buf) argument 217 wpabuf_put(struct wpabuf *buf, size_t len) argument 275 wpabuf_zeropad(struct wpabuf *buf, size_t len) argument 298 wpabuf_printf(struct wpabuf *buf, char *fmt, ...) argument 320 wpabuf_parse_bin(const char *buf) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | wpabuf.c | 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) argument 25 ((const u8 *) buf - sizeof(struct wpabuf_trace)); 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) argument 33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); 40 buf, (unsigned long) buf->size, (unsigned long) buf->used, 49 struct wpabuf *buf = *_buf; local 54 if (buf == NULL) { 60 trace = wpabuf_get_trace(buf); 118 struct wpabuf *buf; local 140 struct wpabuf *buf; local 162 struct wpabuf *buf = wpabuf_alloc(len); local 171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); local 182 wpabuf_free(struct wpabuf *buf) argument 208 wpabuf_clear_free(struct wpabuf *buf) argument 217 wpabuf_put(struct wpabuf *buf, size_t len) argument 275 wpabuf_zeropad(struct wpabuf *buf, size_t len) argument 298 wpabuf_printf(struct wpabuf *buf, char *fmt, ...) argument 320 wpabuf_parse_bin(const char *buf) argument [all...] |
/external/kmod/shared/ |
H A D | scratchbuf.c | 24 void scratchbuf_init(struct scratchbuf *buf, char *stackbuf, size_t size) argument 26 buf->bytes = stackbuf; 27 buf->size = size; 28 buf->need_free = false; 31 int scratchbuf_alloc(struct scratchbuf *buf, size_t size) argument 35 if (size <= buf->size) 38 if (buf->need_free) { 39 tmp = realloc(buf->bytes, size); 46 memcpy(tmp, buf->bytes, buf 56 scratchbuf_release(struct scratchbuf *buf) argument [all...] |
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/ |
H A D | default.pass.cpp | 23 std::stringbuf buf; local 24 assert(buf.str() == ""); 27 std::wstringbuf buf; local 28 assert(buf.str() == L"");
|
/external/syslinux/gpxe/src/core/ |
H A D | cpio.c | 38 char buf[9]; local 40 snprintf ( buf, sizeof ( buf ), "%08lx", value ); 41 memcpy ( field, buf, 8 );
|
/external/curl/lib/ |
H A D | curl_endian.h | 26 unsigned short Curl_read16_le(unsigned char *buf); 29 unsigned int Curl_read32_le(unsigned char *buf); 34 unsigned long long Curl_read64_le(unsigned char *buf); 36 unsigned __int64 Curl_read64_le(unsigned char *buf); 41 unsigned short Curl_read16_be(unsigned char *buf); 44 unsigned int Curl_read32_be(unsigned char *buf); 49 unsigned long long Curl_read64_be(unsigned char *buf); 51 unsigned __int64 Curl_read64_be(unsigned char *buf);
|
/external/dtc/libfdt/ |
H A D | fdt_empty_tree.c | 58 int fdt_create_empty_tree(void *buf, int bufsize) argument 62 err = fdt_create(buf, bufsize); 66 err = fdt_finish_reservemap(buf); 70 err = fdt_begin_node(buf, ""); 74 err = fdt_end_node(buf); 78 err = fdt_finish(buf); 82 return fdt_open_into(buf, buf, bufsize);
|
/external/libchrome/base/strings/ |
H A D | safe_sprintf_unittest.cc | 31 char buf[2] = { 'X', 'X' }; local 34 EXPECT_EQ(-1, SafeSNPrintf(buf, static_cast<size_t>(-1), "")); 35 EXPECT_EQ('X', buf[0]); 36 EXPECT_EQ('X', buf[1]); 39 EXPECT_EQ(-1, SafeSNPrintf(buf, 0, "")); 40 EXPECT_EQ('X', buf[0]); 41 EXPECT_EQ('X', buf[1]); 44 EXPECT_EQ(0, SafeSNPrintf(buf, 1, "")); 45 EXPECT_EQ(0, buf[0]); 46 EXPECT_EQ('X', buf[ 67 char ref[20], buf[20]; local 131 char ref[20], buf[20]; local 193 char buf[20]; local 223 char buf[12]; local 281 char buf[40]; local 365 PrintLongString(char* buf, size_t sz) argument 488 char buf[sizeof(ref)]; local 502 char buf[sizeof(ref)]; local 510 char buf[256]; local 522 char buf[40], fmt[40]; local 708 char buf[] = { 'X', 'X', 'X', 'X' }; local 731 char buf[40]; local 755 char buf[40]; local [all...] |
/external/libxml2/ |
H A D | buf.c | 2 * buf.c: memory buffers for libxml2 31 #include "buf.h" 40 * directly the input->buf->buffer structures. 60 #define UPDATE_COMPAT(buf) \ 61 if (buf->size < INT_MAX) buf->compat_size = buf->size; \ 62 else buf->compat_size = INT_MAX; \ 63 if (buf->use < INT_MAX) buf 92 xmlBufMemoryError(xmlBufPtr buf, const char *extra) argument 107 xmlBufOverflowError(xmlBufPtr buf, const char *extra) argument 196 xmlBufDetach(xmlBufPtr buf) argument 267 xmlBufGetAllocationScheme(xmlBufPtr buf) argument 288 xmlBufSetAllocationScheme(xmlBufPtr buf, xmlBufferAllocationScheme scheme) argument 329 xmlBufFree(xmlBufPtr buf) argument 355 xmlBufEmpty(xmlBufPtr buf) argument 388 xmlBufShrink(xmlBufPtr buf, size_t len) argument 437 xmlBufGrowInternal(xmlBufPtr buf, size_t len) argument 509 xmlBufGrow(xmlBufPtr buf, int len) argument 531 xmlBufInflate(xmlBufPtr buf, size_t len) argument 548 xmlBufDump(FILE *file, xmlBufPtr buf) argument 582 xmlBufContent(const xmlBuf *buf) argument 600 xmlBufEnd(xmlBufPtr buf) argument 621 xmlBufAddLen(xmlBufPtr buf, size_t len) argument 646 xmlBufErase(xmlBufPtr buf, size_t len) argument 668 xmlBufLength(const xmlBufPtr buf) argument 687 xmlBufUse(const xmlBufPtr buf) argument 708 xmlBufAvail(const xmlBufPtr buf) argument 726 xmlBufIsEmpty(const xmlBufPtr buf) argument 745 xmlBufResize(xmlBufPtr buf, size_t size) argument 868 xmlBufAdd(xmlBufPtr buf, const xmlChar *str, int len) argument 928 xmlBufAddHead(xmlBufPtr buf, const xmlChar *str, int len) argument 1007 xmlBufCat(xmlBufPtr buf, const xmlChar *str) argument 1027 xmlBufCCat(xmlBufPtr buf, const char *str) argument 1067 xmlBufWriteCHAR(xmlBufPtr buf, const xmlChar *string) argument 1088 xmlBufWriteChar(xmlBufPtr buf, const char *string) argument 1111 xmlBufWriteQuotedString(xmlBufPtr buf, const xmlChar *string) argument 1204 xmlBufBackToBuffer(xmlBufPtr buf) argument 1257 xmlBufMergeBuffer(xmlBufPtr buf, xmlBufferPtr buffer) argument 1283 xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr input) argument 1302 xmlBufGetInputBase(xmlBufPtr buf, xmlParserInputPtr input) argument 1333 xmlBufSetInputBaseCur(xmlBufPtr buf, xmlParserInputPtr input, size_t base, size_t cur) argument [all...] |
/external/clang/test/SemaCXX/ |
H A D | builtin-object-size-cxx14.cpp | 39 void copy5CharsInto(char *buf) // expected-note{{candidate}} 40 __attribute__((enable_if(__builtin_object_size(buf, 0) != -1 && 41 __builtin_object_size(buf, 0) > 5, 46 void copy5CharsIntoStrict(char *buf) // expected-note{{candidate}} 47 __attribute__((enable_if(__builtin_object_size(buf, 1) != -1 && 48 __builtin_object_size(buf, 1) > 5, 53 char buf[6]; member in struct:in_enable_if::LargeStruct 59 char buf[5]; member in struct:in_enable_if::SmallStruct 64 char buf[6]; local 65 copy5CharsInto(buf); 72 char buf[6] = {}; local 81 char buf[6] = {}; local 93 char buf[5]; local [all...] |
/external/syslinux/core/lwip/src/api/ |
H A D | netbuf.c | 58 struct netbuf *buf; local 60 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); 61 if (buf != NULL) { 62 buf->p = NULL; 63 buf->ptr = NULL; 64 ip_addr_set_any(&buf->addr); 65 buf->port = 0; 68 buf->flags = 0; 70 buf->toport_chksum = 0; 72 ip_addr_set_any(&buf 87 netbuf_delete(struct netbuf *buf) argument 107 netbuf_alloc(struct netbuf *buf, u16_t size) argument 131 netbuf_free(struct netbuf *buf) argument 150 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) argument 193 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) argument 218 netbuf_next(struct netbuf *buf) argument 239 netbuf_first(struct netbuf *buf) argument [all...] |
/external/syslinux/core/lwip/src/include/lwip/ |
H A D | netbuf.h | 65 void netbuf_delete (struct netbuf *buf); 66 void * netbuf_alloc (struct netbuf *buf, u16_t size); 67 void netbuf_free (struct netbuf *buf); 68 err_t netbuf_ref (struct netbuf *buf, 73 err_t netbuf_data (struct netbuf *buf, 75 s8_t netbuf_next (struct netbuf *buf); 76 void netbuf_first (struct netbuf *buf); 79 #define netbuf_copy_partial(buf, dataptr, len, offset) \ 80 pbuf_copy_partial((buf)->p, (dataptr), (len), (offset)) 81 #define netbuf_copy(buf,datapt [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/sample/ |
H A D | ModuleTestSample.java | 127 StringBuffer buf = new StringBuffer("String[] {"); 130 buf.append(","); 132 buf.append(" " + a[i]); 134 buf.append(" }"); 135 return buf.toString(); 139 StringBuffer buf = new StringBuffer("int[] {"); 142 buf.append(","); 144 buf.append(" " + a[i]); 146 buf.append(" }"); 147 return buf [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/sample/ |
H A D | ModuleTestSample.java | 126 StringBuffer buf = new StringBuffer("String[] {"); 129 buf.append(","); 131 buf.append(" " + a[i]); 133 buf.append(" }"); 134 return buf.toString(); 138 StringBuffer buf = new StringBuffer("int[] {"); 141 buf.append(","); 143 buf.append(" " + a[i]); 145 buf.append(" }"); 146 return buf [all...] |
/external/clang/test/Analysis/ |
H A D | bstring.cpp | 10 int *buf = (int *)malloc(n * sizeof(int)); local 12 buf[0] = 66; 14 // Call to copy should invalidate buf. 15 std::copy(v.begin(), v.end(), buf); 17 int i = buf[0]; 21 return buf; 26 int *buf = (int *)malloc(n * sizeof(int)); local 28 buf[0] = 66; 30 // Call to copy_backward should invalidate buf. 31 std::copy_backward(v.begin(), v.end(), buf [all...] |
H A D | mpicheckernotes.cpp | 8 double buf = 0; local 10 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblocking call here.}} 11 MPI_Irecv(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}} 16 double buf = 0; local 18 MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblocking call here.}} 26 double buf = 0; local 28 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note 2{{Request is previously used by nonblocking call here.}} 29 MPI_Irecv(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}} 31 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}}
|
/external/freetype/src/cff/ |
H A D | cf2read.c | 80 cf2_buf_readByte( CF2_Buffer buf ) 82 if ( buf->ptr < buf->end ) 87 CF2_SET_ERROR( buf->error, Invalid_Stream_Operation ); 91 return *(buf->ptr)++ + randomValue(); 93 return *(buf->ptr)++; 98 CF2_SET_ERROR( buf->error, Invalid_Stream_Operation ); 106 cf2_buf_isEnd( CF2_Buffer buf ) 108 return (FT_Bool)( buf->ptr >= buf [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
H A D | cf2read.c | 80 cf2_buf_readByte( CF2_Buffer buf ) 82 if ( buf->ptr < buf->end ) 87 CF2_SET_ERROR( buf->error, Invalid_Stream_Operation ); 91 return *(buf->ptr)++ + randomValue(); 93 return *(buf->ptr)++; 98 CF2_SET_ERROR( buf->error, Invalid_Stream_Operation ); 106 cf2_buf_isEnd( CF2_Buffer buf ) 108 return (FT_Bool)( buf->ptr >= buf [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_printf_test.cc | 23 char buf[1024]; local 24 uptr len = internal_snprintf(buf, sizeof(buf), 30 EXPECT_EQ(len, strlen(buf)); 35 EXPECT_STREQ(expectedString.c_str(), buf); 39 char buf[] = "123456789"; local 40 uptr len = internal_snprintf(buf, 4, "%s", "abcdef"); // NOLINT 42 EXPECT_STREQ("abc", buf); 43 EXPECT_EQ(buf[3], 0); 44 EXPECT_EQ(buf[ 53 char buf[] = "123456789"; local 66 char buf[] = "123456789"; local 85 char buf[] = "123456789"; local 110 char buf[1024]; local 144 char buf[1024]; local [all...] |
/external/mesa3d/src/gallium/winsys/i915/sw/ |
H A D | i915_sw_buffer.c | 10 struct i915_sw_buffer *buf = CALLOC_STRUCT(i915_sw_buffer); local 12 if (!buf) 15 buf->magic = 0xDEAD1337; 16 buf->type = type; 17 buf->ptr = CALLOC(size, 1); 19 if (!buf->ptr) 22 return (struct i915_winsys_buffer *)buf; 26 FREE(buf); 36 struct i915_sw_buffer *buf = CALLOC_STRUCT(i915_sw_buffer); local 38 if (!buf) 63 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local 73 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local 85 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local 95 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_buffer_malloc.c | 53 malloc_buffer(struct pb_buffer *buf) argument 55 assert(buf); 56 if (!buf) 58 assert(buf->vtbl == &malloc_buffer_vtbl); 59 return (struct malloc_buffer *)buf; 64 malloc_buffer_destroy(struct pb_buffer *buf) argument 66 align_free(malloc_buffer(buf)->data); 67 FREE(buf); 72 malloc_buffer_map(struct pb_buffer *buf, argument 76 return malloc_buffer(buf) 81 malloc_buffer_unmap(struct pb_buffer *buf) argument 88 malloc_buffer_validate(struct pb_buffer *buf, struct pb_validate *vl, unsigned flags) argument 98 malloc_buffer_fence(struct pb_buffer *buf, struct pipe_fence_handle *fence) argument 106 malloc_buffer_get_base_buffer(struct pb_buffer *buf, struct pb_buffer **base_buf, pb_size *offset) argument 130 struct malloc_buffer *buf; local [all...] |
/external/syslinux/com32/lib/sys/vesa/ |
H A D | debug.h | 9 ssize_t __serial_write(void *fp, const void *buf, size_t count); 14 char buf[65536]; 18 len = vsnprintf(buf, sizeof buf, str, va); 21 if (len >= sizeof buf) 22 len = sizeof buf - 1; 24 __serial_write(NULL, buf, len);
|