Home
last modified time | relevance | path

Searched refs:str_size (Results 1 – 6 of 6) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_lexer.c39 uint32_t str_size = strlen(test_str); in test_cil_lexer_setup() local
40 char *buffer = malloc(str_size + 2); in test_cil_lexer_setup()
42 memset(buffer+str_size, 0, 2); in test_cil_lexer_setup()
43 strncpy(buffer, test_str, str_size); in test_cil_lexer_setup()
45 int rc = cil_lexer_setup(buffer, str_size + 2); in test_cil_lexer_setup()
53 uint32_t str_size = strlen(test_str); in test_cil_lexer_next() local
54 char *buffer = malloc(str_size + 2); in test_cil_lexer_next()
56 memset(buffer+str_size, 0, 2); in test_cil_lexer_next()
59 cil_lexer_setup(buffer, str_size + 2); in test_cil_lexer_next()
/external/libcxx/include/support/ibm/
Dxlocale.h306 int str_size; in vasprintf() local
311 if ((str_size = vsnprintf(*strp, buff_size, fmt, ap)) >= buff_size) in vasprintf()
313 if ((*strp = (char *)realloc(*strp, str_size + 1)) == NULL) in vasprintf()
317 str_size = vsnprintf(*strp, str_size + 1, fmt, ap); in vasprintf()
319 return str_size; in vasprintf()
/external/ltrace/
Dglob.c80 append(char **bufp, const char *str, size_t str_size, in append() argument
83 if (str_size == 0) in append()
84 str_size = strlen(str); in append()
85 size_t nsize = *sizep + str_size; in append()
95 memcpy(*bufp + *sizep, str, str_size); in append()
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_sdp_socket.py428 str_size = self._unpack_int(data, int_size)
430 res = data[int_size : int_size + str_size]
431 scanned += int_size + str_size
/external/libmicrohttpd/src/testcurl/
Dtest_get.c540 const size_t str_size = strlen (excess_found); in curlExcessFound() local
543 && size >= str_size in curlExcessFound()
544 && 0 == strncmp(excess_found, data, str_size)) in curlExcessFound()
/external/valgrind/VEX/priv/
Dhost_ppc_defs.c1842 const HChar* str_size; in ppPPCInstr() local
1848 str_size = sz==1 ? "eb" : sz==2 ? "eh" : sz==4 ? "ew" : ""; in ppPPCInstr()
1850 vex_printf("lv%sx ", str_size); in ppPPCInstr()
1852 vex_printf("stv%sx ", str_size); in ppPPCInstr()