Home
last modified time | relevance | path

Searched refs:ret_len (Results 1 – 25 of 29) sorted by relevance

12

/external/tcpdump/
Dprint-resp.c215 int ret_len = 0, length_cur = length; in resp_print() local
231 ret_len = resp_parse(ndo, bp, length_cur); in resp_print()
232 TEST_RET_LEN_NORETURN(ret_len); in resp_print()
233 bp += ret_len; in resp_print()
234 length_cur -= ret_len; in resp_print()
247 int ret_len; in resp_parse() local
255 case RESP_SIMPLE_STRING: ret_len = resp_print_simple_string(ndo, bp, length); break; in resp_parse()
256 case RESP_INTEGER: ret_len = resp_print_integer(ndo, bp, length); break; in resp_parse()
257 case RESP_ERROR: ret_len = resp_print_error(ndo, bp, length); break; in resp_parse()
258 case RESP_BULK_STRING: ret_len = resp_print_bulk_string(ndo, bp, length); break; in resp_parse()
[all …]
/external/OpenCL-CTS/test_conformance/device_execution/
Ddevice_info.cpp34 size_t ret_len; in test_device_info() local
39 err_ret = clGetDeviceInfo(device, CL_DEVICE_PROFILE, sizeof(profile), profile, &ret_len); in test_device_info()
41 if(ret_len < sizeof(profile) && strcmp(profile, "FULL_PROFILE") == 0) embedded = 0; in test_device_info()
42 else if(ret_len < sizeof(profile) && strcmp(profile, "EMBEDDED_PROFILE") == 0) embedded = 1; in test_device_info()
49 …tDeviceInfo(device, CL_DEVICE_QUEUE_ON_HOST_PROPERTIES, sizeof(properties), &properties, &ret_len); in test_device_info()
57 …eviceInfo(device, CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES, sizeof(properties), &properties, &ret_len); in test_device_info()
70 …= clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE, sizeof(size), &size, &ret_len); in test_device_info()
78 …r_ret = clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE, sizeof(size), &size, &ret_len); in test_device_info()
86 … err_ret = clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(size), &size, &ret_len); in test_device_info()
94 … err_ret = clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_EVENTS, sizeof(size), &size, &ret_len); in test_device_info()
Ddevice_queue.cpp103 size_t ret_len; in test_device_queue() local
119 …vice, CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE, sizeof(preffered_size), &preffered_size, &ret_len); in test_device_queue()
122 …clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE, sizeof(max_size), &max_size, &ret_len); in test_device_queue()
125 …clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len); in test_device_queue()
Dhost_queue_order.cpp98 size_t ret_len; in test_host_queue_order() local
104 …clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len); in test_host_queue_order()
108 …viceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len); in test_host_queue_order()
178 …clGetEventInfo(kernel_event, CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof(status), &status, &ret_len); in test_host_queue_order()
Dhost_multi_queue.cpp139 size_t ret_len; in test_host_multi_queue() local
145 …clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len); in test_host_multi_queue()
149 …viceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len); in test_host_multi_queue()
213 …t = clGetEventInfo(event[i], CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof(status), &status, &ret_len); in test_host_multi_queue()
Denqueue_multi_queue.cpp105 size_t ret_len; in test_enqueue_multi_queue() local
111 …clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len); in test_enqueue_multi_queue()
115 …viceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len); in test_enqueue_multi_queue()
Dutils.cpp41 size_t ret_len; in run_n_kernel_args() local
65 …_ret = clGetEventInfo(event, CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof(status), &status, &ret_len); in run_n_kernel_args()
Denqueue_block.cpp628 size_t ret_len; in test_enqueue_block() local
634 …clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len); in test_enqueue_block()
638 …viceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len); in test_enqueue_block()
Dnested_blocks.cpp321 size_t ret_len; in test_enqueue_nested_blocks() local
327 …clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len); in test_enqueue_nested_blocks()
Denqueue_ndrange.cpp619 size_t ret_len; in test_enqueue_ndrange() local
628 …clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(max_queues), &max_queues, &ret_len); in test_enqueue_ndrange()
632 …viceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len); in test_enqueue_ndrange()
Denqueue_flags.cpp682 size_t ret_len; in test_enqueue_flags() local
688 …viceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len); in test_enqueue_flags()
Dexecute_block.cpp1016 size_t ret_len; in test_execute_block() local
1022 …viceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(max_local_size), &max_local_size, &ret_len); in test_execute_block()
/external/ltp/testcases/kernel/fs/inode/
Dinode01.c307 int new_ret_val, len, ret_len; in generate() local
371 ret_len = in generate()
373 if (ret_len != len) { in generate()
377 ret_len, errno); in generate()
469 int len, path_mode, val, ret_len, j; in check() local
519 ret_len = in check()
521 if (len != ret_len) { in check()
525 ret_len, errno); in check()
540 if (ret_len <= 0) { in check()
667 int len, ret_len; in escrivez() local
[all …]
Dinode02.c404 int new_ret_val, len, ret_len; in generate() local
469 ret_len = in generate()
471 if (ret_len != len) { in generate()
570 int len, path_mode, val, ret_len, j; in check() local
618 ret_len = 0; in check()
621 ret_len = in check()
623 if (len != ret_len) { in check()
641 if (ret_len <= 0) { in check()
769 int len, ret_len; in escrivez() local
775 ret_len = write(list_id, write_string, len); in escrivez()
[all …]
/external/avb/libavb/
Davb_util.c293 size_t ret_len = 0; in avb_replace() local
322 ret_len = num_new - 1; in avb_replace()
325 num_new = ret_len + num_before + replace_len + 1; in avb_replace()
330 avb_memcpy(new_str, ret, ret_len); in avb_replace()
331 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace()
332 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace()
336 ret_len = num_new - 1; in avb_replace()
350 size_t num_new = ret_len + num_remaining + 1; in avb_replace()
355 avb_memcpy(new_str, ret, ret_len); in avb_replace()
356 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace()
[all …]
/external/tensorflow/tensorflow/java/src/main/native/
Dtensorflow_jni.cc63 auto ret_len = static_cast<jint>(buf.length); in Java_org_tensorflow_TensorFlow_libraryOpList() local
64 jbyteArray ret = env->NewByteArray(ret_len); in Java_org_tensorflow_TensorFlow_libraryOpList()
65 env->SetByteArrayRegion(ret, 0, ret_len, static_cast<const jbyte*>(buf.data)); in Java_org_tensorflow_TensorFlow_libraryOpList()
Dgraph_jni.cc132 jint ret_len = static_cast<jint>(buf->length); in Java_org_tensorflow_Graph_toGraphDef() local
133 ret = env->NewByteArray(ret_len); in Java_org_tensorflow_Graph_toGraphDef()
134 env->SetByteArrayRegion(ret, 0, ret_len, in Java_org_tensorflow_Graph_toGraphDef()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c41 int lab_len, ctx_len, ret_len, buf_len; in aes_kdf() local
49 ret_len = ((ret_bits & 0xffff) + 7) / 8; in aes_kdf()
52 os_memset(ret, 0, ret_len); in aes_kdf()
/external/wpa_supplicant_8/src/utils/
Dos_internal.c157 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
180 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
181 ret = os_malloc(ret_len); in os_rel2abs_path()
186 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dxml_libxml2.c402 int *ret_len) in xml_node_get_base64_text() argument
413 if (ret_len) in xml_node_get_base64_text()
414 *ret_len = len; in xml_node_get_base64_text()
Dos_unix.c297 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
327 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
328 ret = os_malloc(ret_len); in os_rel2abs_path()
333 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dxml-utils.h59 int *ret_len);
/external/harfbuzz_ng/util/
Doptions.cc759 unsigned int ret_len; in get_line() local
761 ret_len = line_len; in get_line()
762 line += ret_len; in get_line()
765 ret_len = p - ret; in get_line()
766 line += ret_len + 1; in get_line()
767 line_len -= ret_len + 1; in get_line()
770 *len = ret_len; in get_line()
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_feature_macro.cpp590 size_t ret_len; in test_feature_macro_int64() local
593 profile, &ret_len); in test_feature_macro_int64()
595 if (ret_len < sizeof(profile) && strcmp(profile, "FULL_PROFILE") == 0) in test_feature_macro_int64()
599 else if (ret_len < sizeof(profile) in test_feature_macro_int64()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c1183 int ret, ret_len = 0; in wpa_supplicant_ap_wps_pin() local
1193 ret_len = os_snprintf(buf, buflen, "%08d", rpin); in wpa_supplicant_ap_wps_pin()
1194 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
1198 ret_len = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ap_wps_pin()
1199 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
1207 return ret_len; in wpa_supplicant_ap_wps_pin()

12