Searched defs:str_size (Results 1 - 13 of 13) sorted by relevance

/external/libpcap/missing/
H A Dwin_snprintf.c5 pcap_vsnprintf(char *str, size_t str_size, const char *format, va_list args) argument
9 ret = _vsnprintf_s(str, str_size, _TRUNCATE, format, args);
17 str[str_size - 1] = '\0';
22 pcap_snprintf(char *str, size_t str_size, const char *format, ...) argument
28 ret = pcap_vsnprintf(str, str_size, format, args);
/external/ltp/testcases/kernel/device-drivers/uaccess/
H A Dltp_uaccess.h25 static const int str_size = sizeof(test_str); variable
/external/selinux/libsepol/cil/test/unit/
H A Dtest_cil_lexer.c39 uint32_t str_size = strlen(test_str); local
40 char *buffer = malloc(str_size + 2);
42 memset(buffer+str_size, 0, 2);
43 strncpy(buffer, test_str, str_size);
45 int rc = cil_lexer_setup(buffer, str_size + 2);
53 uint32_t str_size = strlen(test_str); local
54 char *buffer = malloc(str_size + 2);
56 memset(buffer+str_size, 0, 2);
59 cil_lexer_setup(buffer, str_size + 2);
/external/ltp/testcases/kernel/mem/ksm/
H A Dksm_common.h33 static inline void parse_ksm_options(char *str_size, int *size, argument
36 if(tst_parse_int(str_size, size, 1, INT_MAX))
37 tst_brk(TBROK, "Invalid size '%s'", str_size);
/external/tensorflow/tensorflow/core/kernels/
H A Ddecode_raw_op.cc38 int64 str_size = -1; variable
42 if (str_size == -1) {
43 str_size = in_str.size();
45 OP_REQUIRES(context, str_size == in_str.size(),
49 i, " has size ", str_size, " != ", in_str.size()));
53 if (str_size == -1 || str_size == 0) { // Empty input
61 context, str_size % sizeof(T) == 0,
62 errors::InvalidArgument("Input to DecodeRaw has length ", str_size,
65 const int64 added_dim = str_size / sizeo
[all...]
/external/libcxx/include/support/ibm/
H A Dxlocale.h251 int str_size; local
256 if ((str_size = vsnprintf(*strp, buff_size, fmt, ap)) >= buff_size)
258 if ((*strp = (char *)realloc(*strp, str_size + 1)) == NULL)
262 str_size = vsnprintf(*strp, str_size + 1, fmt, ap);
264 return str_size;
/external/libmicrohttpd/src/testcurl/
H A Dtest_get.c540 const size_t str_size = strlen (excess_found); local
543 && size >= str_size
544 && 0 == strncmp(excess_found, data, str_size))
/external/avb/libavb/
H A Davb_util.c255 size_t str_size) {
258 if (avb_strlen(strings[n]) == str_size &&
259 avb_memcmp(strings[n], str, str_size) == 0) {
253 avb_strv_find_str(const char* const* strings, const char* str, size_t str_size) argument
/external/strace/tests/
H A Dprocess_vm_readv_writev.c60 uint8_t str_size[MAX_SEGM_COUNT]; member in struct:print_iov_arg
117 if (segm_offs >= arg->str_size[num_segm]) {
/external/strace/tests-m32/
H A Dprocess_vm_readv_writev.c60 uint8_t str_size[MAX_SEGM_COUNT]; member in struct:print_iov_arg
117 if (segm_offs >= arg->str_size[num_segm]) {
/external/strace/tests-mx32/
H A Dprocess_vm_readv_writev.c60 uint8_t str_size[MAX_SEGM_COUNT]; member in struct:print_iov_arg
117 if (segm_offs >= arg->str_size[num_segm]) {
/external/python/cpython2/Modules/
H A DcPickle.c709 Py_ssize_t str_size; local
715 if ((str_size = PyString_Size(str)) < 0)
723 return str_size;
/external/valgrind/VEX/priv/
H A Dhost_ppc_defs.c1961 const HChar* str_size; local
1967 str_size = sz==1 ? "eb" : sz==2 ? "eh" : sz==4 ? "ew" : "";
1969 vex_printf("lv%sx ", str_size);
1971 vex_printf("stv%sx ", str_size);

Completed in 1818 milliseconds