/external/tensorflow/tensorflow/core/kernels/ |
D | decode_raw_op.cc | 38 int64 str_size = -1; in Compute() local 42 if (str_size == -1) { in Compute() 43 str_size = in_str.size(); in Compute() 45 OP_REQUIRES(context, str_size == in_str.size(), in Compute() 49 i, " has size ", str_size, " != ", in_str.size())); in Compute() 53 if (str_size == -1 || str_size == 0) { // Empty input in Compute() 61 context, str_size % sizeof(T) == 0, in Compute() 62 errors::InvalidArgument("Input to DecodeRaw has length ", str_size, in Compute() 65 const int64 added_dim = str_size / sizeof(T); in Compute() 76 memcpy(out_data, in_data, str_size); in Compute() [all …]
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_lexer.c | 39 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/libpcap/missing/ |
D | win_snprintf.c | 5 pcap_vsnprintf(char *str, size_t str_size, const char *format, va_list args) in pcap_vsnprintf() argument 9 ret = _vsnprintf_s(str, str_size, _TRUNCATE, format, args); in pcap_vsnprintf() 17 str[str_size - 1] = '\0'; in pcap_vsnprintf() 22 pcap_snprintf(char *str, size_t str_size, const char *format, ...) in pcap_snprintf() argument 28 ret = pcap_vsnprintf(str, str_size, format, args); in pcap_snprintf()
|
/external/libcxx/include/support/ibm/ |
D | xlocale.h | 251 int str_size; in vasprintf() local 256 if ((str_size = vsnprintf(*strp, buff_size, fmt, ap)) >= buff_size) in vasprintf() 258 if ((*strp = (char *)realloc(*strp, str_size + 1)) == NULL) in vasprintf() 262 str_size = vsnprintf(*strp, str_size + 1, fmt, ap); in vasprintf() 264 return str_size; in vasprintf()
|
/external/ltp/testcases/kernel/device-drivers/uaccess/ |
D | ltp_uaccess.c | 65 char *str, ch, buffer[str_size]; in sys_tcase() 73 if (copy_from_user(buffer, str, str_size)) in sys_tcase() 75 test_result = strncmp(test_str, buffer, str_size) ? 1 : 0; in sys_tcase() 81 if (copy_to_user(str + 1, test_str + 1, str_size - 1)) { in sys_tcase()
|
D | uaccess.c | 78 char buf[str_size]; in tc_write_userspace() 79 memset(buf, 0, str_size); in tc_write_userspace() 88 res = strncmp(buf, test_str, str_size) ? TFAIL : TPASS; in tc_write_userspace()
|
D | ltp_uaccess.h | 25 static const int str_size = sizeof(test_str); variable
|
/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm_common.h | 33 static inline void parse_ksm_options(char *str_size, int *size, in parse_ksm_options() argument 36 if(tst_parse_int(str_size, size, 1, INT_MAX)) in parse_ksm_options() 37 tst_brk(TBROK, "Invalid size '%s'", str_size); in parse_ksm_options()
|
/external/avb/libavb/ |
D | avb_util.c | 255 size_t str_size) { in avb_strv_find_str() argument 258 if (avb_strlen(strings[n]) == str_size && in avb_strv_find_str() 259 avb_memcmp(strings[n], str, str_size) == 0) { in avb_strv_find_str()
|
D | avb_util.h | 254 size_t str_size);
|
/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_sdp_socket.py | 428 str_size = self._unpack_int(data, int_size) 430 res = data[int_size : int_size + str_size] 431 scanned += int_size + str_size
|
/external/strace/tests-mx32/ |
D | process_vm_readv_writev.c | 60 uint8_t str_size[MAX_SEGM_COUNT]; member 117 if (segm_offs >= arg->str_size[num_segm]) { in print_iov()
|
/external/strace/tests-m32/ |
D | process_vm_readv_writev.c | 60 uint8_t str_size[MAX_SEGM_COUNT]; member 117 if (segm_offs >= arg->str_size[num_segm]) { in print_iov()
|
/external/strace/tests/ |
D | process_vm_readv_writev.c | 60 uint8_t str_size[MAX_SEGM_COUNT]; member 117 if (segm_offs >= arg->str_size[num_segm]) { in print_iov()
|
/external/libmicrohttpd/src/testcurl/ |
D | test_get.c | 540 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/python/cpython2/Modules/ |
D | cPickle.c | 709 Py_ssize_t str_size; in readline_other() local 715 if ((str_size = PyString_Size(str)) < 0) in readline_other() 723 return str_size; in readline_other()
|
/external/valgrind/VEX/priv/ |
D | host_ppc_defs.c | 1961 const HChar* str_size; in ppPPCInstr() local 1967 str_size = sz==1 ? "eb" : sz==2 ? "eh" : sz==4 ? "ew" : ""; in ppPPCInstr() 1969 vex_printf("lv%sx ", str_size); in ppPPCInstr() 1971 vex_printf("stv%sx ", str_size); in ppPPCInstr()
|