Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/external/v8/test/cctest/interpreter/
Dtest-interpreter.cc164 HandleAndZoneScope handles; in TEST() local
166 handles.main_isolate()->factory()->undefined_value(); in TEST()
168 BytecodeArrayBuilder builder(handles.main_isolate(), handles.main_zone()); in TEST()
175 InterpreterTester tester(handles.main_isolate(), bytecode_array); in TEST()
183 HandleAndZoneScope handles; in TEST() local
185 handles.main_isolate()->factory()->undefined_value(); in TEST()
187 BytecodeArrayBuilder builder(handles.main_isolate(), handles.main_zone()); in TEST()
194 InterpreterTester tester(handles.main_isolate(), bytecode_array); in TEST()
202 HandleAndZoneScope handles; in TEST() local
203 Handle<Object> null_value = handles.main_isolate()->factory()->null_value(); in TEST()
[all …]
/external/v8/test/cctest/
Dtest-ast-expression-visitor.cc22 static void CollectTypes(HandleAndZoneScope* handles, const char* source, in CollectTypes() argument
32 i::ParseInfo info(handles->main_zone(), script); in CollectTypes()
53 HandleAndZoneScope handles; in TEST() local
54 ZoneVector<ExpressionTypeEntry> types(handles.main_zone()); in TEST()
88 CollectTypes(&handles, test_function, &types); in TEST()
275 HandleAndZoneScope handles; in TEST() local
276 ZoneVector<ExpressionTypeEntry> types(handles.main_zone()); in TEST()
283 CollectTypes(&handles, test_function, &types); in TEST()
302 HandleAndZoneScope handles; in TEST() local
303 ZoneVector<ExpressionTypeEntry> types(handles.main_zone()); in TEST()
[all …]
Dtest-unique.cc43 Handle<String> handles[] = { \
55 Unique<String> A(handles[0]); \
56 Unique<String> B(handles[1]); \
57 Unique<String> C(handles[2])
60 Unique<String> A(handles[0]); \
61 Unique<String> B(handles[1]); \
62 Unique<String> C(handles[2]); \
63 Unique<String> D(handles[3]); \
64 Unique<String> E(handles[4]); \
65 Unique<String> F(handles[5]); \
[all …]
/external/curl/tests/libtest/
Dlib1900.c34 CURL *handles[MAX_URLS]; variable
107 handles[i] = curl_easy_init(); in create_handles()
117 curl_easy_setopt(handles[handlenum], CURLOPT_URL, urlbuf); in setup_handle()
118 curl_easy_setopt(handles[handlenum], CURLOPT_VERBOSE, 1L); in setup_handle()
119 curl_easy_setopt(handles[handlenum], CURLOPT_FAILONERROR, 1L); in setup_handle()
120 curl_easy_setopt(handles[handlenum], CURLOPT_WRITEFUNCTION, write_callback); in setup_handle()
121 curl_easy_setopt(handles[handlenum], CURLOPT_WRITEDATA, NULL); in setup_handle()
122 curl_multi_add_handle(m, handles[handlenum]); in setup_handle()
130 if(handles[i]) in remove_handles()
131 curl_easy_cleanup(handles[i]); in remove_handles()
[all …]
Dlib536.c34 int handles; in perform() local
45 res_multi_perform(multi, &handles); in perform()
53 if(!handles) in perform()
/external/curl/docs/examples/
Dmulti-app.c44 CURL *handles[HANDLECOUNT]; in main() local
55 handles[i] = curl_easy_init(); in main()
58 curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "http://example.com"); in main()
60 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com"); in main()
61 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L); in main()
68 curl_multi_add_handle(multi_handle, handles[i]); in main()
151 found = (msg->easy_handle == handles[idx]); in main()
171 curl_easy_cleanup(handles[i]); in main()
/external/libchrome/base/
Dsync_socket_posix.cc75 Handle handles[2] = { kInvalidHandle, kInvalidHandle }; in CreatePair() local
76 if (socketpair(AF_UNIX, SOCK_STREAM, 0, handles) != 0) { in CreatePair()
77 CloseHandle(handles[0]); in CreatePair()
78 CloseHandle(handles[1]); in CreatePair()
85 if (0 != setsockopt(handles[0], SOL_SOCKET, SO_NOSIGPIPE, in CreatePair()
87 0 != setsockopt(handles[1], SOL_SOCKET, SO_NOSIGPIPE, in CreatePair()
89 CloseHandle(handles[0]); in CreatePair()
90 CloseHandle(handles[1]); in CreatePair()
96 socket_a->handle_ = handles[0]; in CreatePair()
97 socket_b->handle_ = handles[1]; in CreatePair()
/external/tpm2/
DGetCapability.c43 &out->capabilityData.data.handles); in TPM2_GetCapability()
49 &out->capabilityData.data.handles); in TPM2_GetCapability()
55 &out->capabilityData.data.handles); in TPM2_GetCapability()
61 &out->capabilityData.data.handles); in TPM2_GetCapability()
67 &out->capabilityData.data.handles); in TPM2_GetCapability()
73 &out->capabilityData.data.handles); in TPM2_GetCapability()
80 &out->capabilityData.data.handles); in TPM2_GetCapability()
DExecCommand.c58 TPM_HANDLE handles[MAX_HANDLE_NUM];// array to hold handles in the in ExecuteCommand() local
189 result = ParseHandleBuffer(commandCode, &buffer, &size, handles, &handleNum); in ExecuteCommand()
199 result = EntityGetLoadStatus(&handles[i], commandCode); in ExecuteCommand()
242 handles, in ExecuteCommand()
259 result = CheckAuthNoSession(commandCode, handleNum, handles, in ExecuteCommand()
271 handles, in ExecuteCommand()
DSessionProcess_fp.h20 TPM_HANDLE handles[], // IN: array of handle
29 TPM_HANDLE handles[], // IN: array of handle
/external/v8/test/cctest/compiler/
Dtest-linkage.cc43 HandleAndZoneScope handles; in TEST() local
45 ParseInfo parse_info(handles.main_zone(), function); in TEST()
57 HandleAndZoneScope handles; in TEST() local
61 ParseInfo parse_info(handles.main_zone(), function); in TEST()
89 HandleAndZoneScope handles; in TEST() local
91 ParseInfo parse_info(handles.main_zone(), function); in TEST()
Dtest-pipeline.cc30 HandleAndZoneScope handles; in TEST() local
32 RunPipeline(handles.main_zone(), "(function(a,b) { return a + b; })"); in TEST()
37 HandleAndZoneScope handles; in TEST() local
39 RunPipeline(handles.main_zone(), "(function(a,b) { return a + b; })"); in TEST()
Dtest-multiple-return.cc74 HandleAndZoneScope handles; in TEST() local
75 RawMachineAssembler m(handles.main_isolate(), in TEST()
76 new (handles.main_zone()) Graph(handles.main_zone()), in TEST()
87 CompilationInfo info("testing", handles.main_isolate(), handles.main_zone()); in TEST()
/external/libdrm/tests/modetest/
Dbuffers.c131 unsigned int handles[4], unsigned int pitches[4], in bo_create()
244 handles[0] = bo->handle; in bo_create()
255 handles[0] = bo->handle; in bo_create()
259 handles[1] = bo->handle; in bo_create()
268 handles[0] = bo->handle; in bo_create()
272 handles[1] = bo->handle; in bo_create()
275 handles[2] = bo->handle; in bo_create()
319 handles[0] = bo->handle; in bo_create()
/external/wpa_supplicant_8/src/utils/
Deloop_win.c68 HANDLE *handles; member
80 eloop.handles = os_malloc(eloop.num_handles * in eloop_init()
81 sizeof(eloop.handles[0])); in eloop_init()
82 if (eloop.handles == NULL) in eloop_init()
89 os_free(eloop.handles); in eloop_init()
103 n = os_realloc_array(eloop.handles, eloop.num_handles * 2, in eloop_prepare_handles()
104 sizeof(eloop.handles[0])); in eloop_prepare_handles()
107 eloop.handles = n; in eloop_prepare_handles()
554 eloop.handles[count++] = eloop.events[i].event; in eloop_run()
557 eloop.handles[count++] = eloop.readers[i].event; in eloop_run()
[all …]
/external/tpm2/generator/
Dcommand_generator.py420 handles, parameters = self._SplitArgs(self.response_args)
424 if handles:
426 for handle in handles:
451 handles, parameters = self._SplitArgs(self.request_args)
454 if handles:
456 for index, handle in enumerate(handles):
550 handles = []
561 handles.append(arg)
564 return handles, parameters
/external/v8/test/cctest/heap/
Dutils-inl.h26 std::vector<Handle<FixedArray>> handles; variable
56 handles.push_back(isolate->factory()->NewFixedArray(length, tenure));
57 CHECK((tenure == NOT_TENURED && heap->InNewSpace(*handles.back())) ||
58 (tenure == TENURED && heap->InOldSpace(*handles.back())));
61 return handles;
/external/curl/tests/server/
Dsockfilt.c522 HANDLE handle, handles[2]; in select_ws_wait_thread() local
531 handles[0] = data->event; in select_ws_wait_thread()
532 handles[1] = handle; in select_ws_wait_thread()
550 while(WaitForMultipleObjectsEx(2, handles, FALSE, INFINITE, FALSE) in select_ws_wait_thread()
585 while(WaitForMultipleObjectsEx(2, handles, FALSE, INFINITE, FALSE) in select_ws_wait_thread()
614 while(WaitForMultipleObjectsEx(2, handles, FALSE, INFINITE, FALSE) in select_ws_wait_thread()
639 WaitForMultipleObjectsEx(2, handles, FALSE, INFINITE, FALSE); in select_ws_wait_thread()
681 HANDLE handle, *handles; in select_ws() local
717 handles = malloc(nfds * sizeof(HANDLE)); in select_ws()
718 if(handles == NULL) { in select_ws()
[all …]
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_ndis.c162 HANDLE handles[2]; in l2_packet_rx_thread_try_read() local
189 handles[0] = l2_ndisuio_global->stop_request; in l2_packet_rx_thread_try_read()
190 handles[1] = l2_ndisuio_global->rx_processed; in l2_packet_rx_thread_try_read()
191 WaitForMultipleObjects(2, handles, FALSE, INFINITE); in l2_packet_rx_thread_try_read()
200 HANDLE handles[2]; in l2_packet_rx_thread() local
204 handles[0] = l2_ndisuio_global->stop_request; in l2_packet_rx_thread()
205 handles[1] = l2_ndisuio_global->ready_for_read; in l2_packet_rx_thread()
225 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE); in l2_packet_rx_thread()
/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/
Dbluetooth_SDP_ServiceBrowse.py33 handles = self.tester.service_search_request(
35 if not (isinstance(handles, list) and len(handles) > 0):
39 for record_handle in handles:
/external/deqp/external/vulkancts/
Dgen_framework.py207 def __init__ (self, definitions, handles, enums, bitfields, compositeTypes, functions): argument
209 self.handles = handles
339 handles = []
344 handles.append(handle)
346 return handles
395 handles = parseHandles(src),
405 yield "\t%s = 0," % api.handles[0].getHandleType()
406 for handle in api.handles[1:]:
466 def genHandlesSrc (handles): argument
467 def genLines (handles): argument
[all …]
/external/drm_gralloc/
Dgralloc_drm_intel.c197 uint32_t *pitches, uint32_t *offsets, uint32_t *handles) in intel_resolve_format() argument
208 memset(handles, 0, 4 * sizeof(uint32_t)); in intel_resolve_format()
211 handles[0] = ib->base.fb_handle; in intel_resolve_format()
226 handles[1] = handles[2] = handles[0]; in intel_resolve_format()
236 handles[1] = handles[0]; in intel_resolve_format()
/external/libdrm/tests/kms/
Dlibkms-test-framebuffer.c44 uint32_t handles[4], pitches[4], offsets[4]; in kms_framebuffer_create() local
84 handles[0] = fb->handle; in kms_framebuffer_create()
88 err = drmModeAddFB2(device->fd, width, height, format, handles, in kms_framebuffer_create()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_context.c75 struct vmw_svga_winsys_surface *handles[VMW_SURFACE_RELOCS]; member
170 vswc->surface.handles[i]; in vmw_swc_flush()
172 vmw_svga_winsys_surface_reference(&vswc->surface.handles[i], NULL); in vmw_swc_flush()
265 …vmw_svga_winsys_surface_reference(&vswc->surface.handles[vswc->surface.used + vswc->surface.staged… in vmw_swc_surface_relocation()
355 p_atomic_dec(&vswc->surface.handles[i]->validated); in vmw_swc_destroy()
356 vmw_svga_winsys_surface_reference(&vswc->surface.handles[i], NULL); in vmw_swc_destroy()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc161 HANDLE handles[2]; in Communicate() local
165 handles[handle_count++] = child_stdin_; in Communicate()
168 handles[handle_count++] = child_stdout_; in Communicate()
172 WaitForMultipleObjects(handle_count, handles, FALSE, INFINITE); in Communicate()
177 signaled_handle = handles[wait_result - WAIT_OBJECT_0]; in Communicate()

12345678910>>...15