Searched refs:MAX_STR (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/utils/ |
D | xml_libxml2.c | 29 #define MAX_STR 1000 macro 38 n = os_realloc(str->buf, str->len + MAX_STR + 2); in add_str() 44 len = vsnprintf(str->buf + str->len, MAX_STR, fmt, ap); in add_str() 46 if (len >= MAX_STR) in add_str() 47 len = MAX_STR - 1; in add_str()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_progvar.cpp | 23 #define MAX_STR 16*1024 macro 167 char buf[MAX_STR]; in as_string() 179 char buf[MAX_STR]; in as_string() 694 static char buf[MAX_STR]; in conversion_functions() 699 num_printed = snprintf(buf,MAX_STR, in conversion_functions() 706 num_printed = snprintf(buf,MAX_STR, in conversion_functions() 714 num_printed += snprintf( buf + num_printed, MAX_STR-num_printed, in conversion_functions() 718 num_printed += snprintf( buf + num_printed, MAX_STR-num_printed, in conversion_functions() 721 assert( num_printed < MAX_STR ); // or increase MAX_STR in conversion_functions() 730 static char decls[MAX_STR]; in global_decls() [all …]
|