/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common.c | 69 UNUSED VkResult result; in wsi_device_init() local 168 result = wsi_x11_init_wsi(wsi, alloc, dri_options); in wsi_device_init() 169 if (result != VK_SUCCESS) in wsi_device_init() 174 result = wsi_wl_init_wsi(wsi, alloc, pdevice); in wsi_device_init() 175 if (result != VK_SUCCESS) in wsi_device_init() 180 result = wsi_win32_init_wsi(wsi, alloc, pdevice); in wsi_device_init() 181 if (result != VK_SUCCESS) in wsi_device_init() 186 result = wsi_display_init_wsi(wsi, alloc, display_fd); in wsi_device_init() 187 if (result != VK_SUCCESS) in wsi_device_init() 224 return result; in wsi_device_init() 278 VkResult result; wsi_swapchain_init() local 340 VkResult result; wsi_swapchain_is_present_mode_supported() local 530 VkResult result; wsi_create_image() local 628 VkResult result = iface->get_capabilities2(surface, wsi_device, NULL, &caps2); wsi_GetPhysicalDeviceSurfaceCapabilitiesKHR() local 676 VkResult result = iface->get_capabilities2(surface, wsi_device, NULL, &caps2); wsi_GetPhysicalDeviceSurfaceCapabilities2EXT() local 776 VkResult result = iface->create_swapchain(surface, _device, wsi_device, wsi_CreateSwapchainKHR() local 900 VkResult result = wsi_create_sync_for_dma_buf_wait(chain, image, wsi_signal_semaphore_for_image() local 932 VkResult result = wsi_create_sync_for_dma_buf_wait(chain, image, wsi_signal_fence_for_image() local 959 VkResult result = swapchain->acquire_next_image(swapchain, pAcquireInfo, wsi_common_acquire_next_image2() local 1019 VkResult result; wsi_common_queue_present() local 1344 VkResult result; wsi_create_buffer_image_mem() local 1452 VkResult result; wsi_finish_create_buffer_image() local 1558 VkResult result = wsi_configure_image(chain, pCreateInfo, wsi_configure_buffer_image() local 1591 VkResult result; wsi_create_cpu_linear_image_mem() local 1655 VkResult result; wsi_create_cpu_buffer_image_mem() local 1681 VkResult result = wsi_configure_buffer_image(chain, pCreateInfo, wsi_configure_cpu_image() local 1692 VkResult result = wsi_configure_image(chain, pCreateInfo, wsi_configure_cpu_image() local [all...] |
/third_party/node/src/ |
H A D | js_native_api_v8.cc | 35 #define CHECK_TO_NUMBER(env, context, result, src) \ 36 CHECK_TO_TYPE((env), Number, (context), (result), (src), JSVM_NUMBER_EXPECTED) 42 #define CHECK_NEW_FROM_UTF8_LEN(env, result, str, len) \ 45 "Casting JSVM_AUTO_LENGTH to int must result in -1"); \ 54 (result) = str_maybe.ToLocalChecked(); \ 57 #define CHECK_NEW_FROM_UTF8(env, result, str) \ 58 CHECK_NEW_FROM_UTF8_LEN((env), (result), (str), JSVM_AUTO_LENGTH) 60 #define CHECK_NEW_STRING_ARGS(env, str, length, result) \ 64 CHECK_ARG((env), (result)); \ 264 JSVM_Value* result, in NewString() 261 NewString(JSVM_Env env, const CCharType* str, size_t length, JSVM_Value* result, StringMaker string_maker) NewString() argument 276 NewExternalString(JSVM_Env env, CharType* str, size_t length, JSVM_Finalize finalizeCallback, void* finalizeHint, JSVM_Value* result, bool* copied, CreateAPI create_api, StringMaker string_maker) NewExternalString() argument 384 V8NameFromPropertyDescriptor( JSVM_Env env, const JSVM_PropertyDescriptor* p, v8::Local<v8::Name>* result) V8NameFromPropertyDescriptor() argument 482 ConcludeDeferred(JSVM_Env env, JSVM_Deferred deferred, JSVM_Value result, bool is_resolved) ConcludeDeferred() argument 512 Unwrap(JSVM_Env env, JSVM_Value jsObject, void** result, UnwrapAction action) Unwrap() argument 621 JSVM_Value result = nullptr; InvokeCallback() local 648 NewFunction(JSVM_Env env, JSVM_Callback cb, v8::Local<v8::Function>* result) NewFunction() argument 662 NewTemplate( JSVM_Env env, JSVM_Callback cb, v8::Local<v8::FunctionTemplate>* result, v8::Local<v8::Signature> sig = v8::Local<v8::Signature>()) NewTemplate() argument 735 JSVM_Value result = nullptr; NameSetterInvokeCallback() local 767 JSVM_Value result = nullptr; NameGetterInvokeCallback() local 799 JSVM_Value result = nullptr; NameDeleterInvokeCallback() local 833 JSVM_Value result = nullptr; NameEnumeratorInvokeCallback() local 866 JSVM_Value result = nullptr; IndexSetterInvokeCallback() local 898 JSVM_Value result = nullptr; IndexGetterInvokeCallback() local 931 JSVM_Value result = nullptr; IndexDeleterInvokeCallback() local 965 JSVM_Value result = nullptr; IndexEnumeratorInvokeCallback() local 1056 Wrap(JSVM_Env env, JSVM_Value jsObject, void* nativeObject, JSVM_Finalize finalizeCb, void* finalizeHint, JSVM_Ref* result) Wrap() argument 1441 OH_JSVM_GetVM(JSVM_Env env, JSVM_VM* result) OH_JSVM_GetVM() argument 1448 OH_JSVM_CreateVM(const JSVM_CreateVMOptions* options, JSVM_VM* result) OH_JSVM_CreateVM() argument 1508 OH_JSVM_OpenVMScope(JSVM_VM vm, JSVM_VMScope* result) OH_JSVM_OpenVMScope() argument 1523 OH_JSVM_CreateEnv(JSVM_VM vm, size_t propertyCount, const JSVM_PropertyDescriptor* properties, JSVM_Env* result) OH_JSVM_CreateEnv() argument 1581 OH_JSVM_CreateEnvFromSnapshot(JSVM_VM vm, size_t index, JSVM_Env* result) OH_JSVM_CreateEnvFromSnapshot() argument 1608 OH_JSVM_OpenEnvScope(JSVM_Env env, JSVM_EnvScope* result) OH_JSVM_OpenEnvScope() argument 1622 OH_JSVM_CompileScript(JSVM_Env env, JSVM_Value script, const uint8_t *cachedData, size_t cachedDataLength, bool eagerCompile, bool* cacheRejected, JSVM_Script* result) OH_JSVM_CompileScript() argument 1688 auto result = script->Run(moduleContext).ToLocalChecked(); PrepareStackTraceCallback() local 1716 OH_JSVM_CompileScriptWithOrigin(JSVM_Env env, JSVM_Value script, const uint8_t* cachedData, size_t cachedDataLength, bool eagerCompile, bool* cacheRejected, JSVM_ScriptOrigin* origin, JSVM_Script* result) OH_JSVM_CompileScriptWithOrigin() argument 1842 OH_JSVM_CompileScriptWithOptions(JSVM_Env env, JSVM_Value script, size_t optionCount, JSVM_CompileOptions options[], JSVM_Script* result) OH_JSVM_CompileScriptWithOptions() argument 1898 OH_JSVM_RunScript(JSVM_Env env, JSVM_Script script, JSVM_Value* result) OH_JSVM_RunScript() argument 1913 OH_JSVM_JsonParse(JSVM_Env env, JSVM_Value json_string, JSVM_Value* result) OH_JSVM_JsonParse() argument 1928 OH_JSVM_JsonStringify(JSVM_Env env, JSVM_Value json_object, JSVM_Value* result) OH_JSVM_JsonStringify() argument 1976 OH_JSVM_GetVMInfo(JSVM_VMInfo* result) OH_JSVM_GetVMInfo() argument 1993 OH_JSVM_GetHeapStatistics(JSVM_VM vm, JSVM_HeapStatistics* result) OH_JSVM_GetHeapStatistics() argument 2014 OH_JSVM_StartCpuProfiler(JSVM_VM vm, JSVM_CpuProfiler* result) OH_JSVM_StartCpuProfiler() argument 2085 OH_JSVM_PumpMessageLoop(JSVM_VM vm, bool* result) OH_JSVM_PumpMessageLoop() argument 2125 OH_JSVM_GetLastErrorInfo( JSVM_Env env, const JSVM_ExtendedErrorInfo** result) OH_JSVM_GetLastErrorInfo() argument 2150 OH_JSVM_CreateFunction(JSVM_Env env, const char* utf8name, size_t length, JSVM_Callback cb, JSVM_Value* result) OH_JSVM_CreateFunction() argument 2177 OH_JSVM_CreateFunctionWithScript(JSVM_Env env, const char* funcName, size_t length, size_t argc, const JSVM_Value* argv, JSVM_Value script, JSVM_Value* result) OH_JSVM_CreateFunctionWithScript() argument 2224 OH_JSVM_DefineClass(JSVM_Env env, const char* utf8name, size_t length, JSVM_Callback constructor, size_t propertyCount, const JSVM_PropertyDescriptor* properties, JSVM_Value* result) OH_JSVM_DefineClass() argument 2326 OH_JSVM_GetPropertyNames(JSVM_Env env, JSVM_Value object, JSVM_Value* result) OH_JSVM_GetPropertyNames() argument 2339 OH_JSVM_GetAllPropertyNames(JSVM_Env env, JSVM_Value object, JSVM_KeyCollectionMode keyMode, JSVM_KeyFilter keyFilter, JSVM_KeyConversion keyConversion, JSVM_Value* result) OH_JSVM_GetAllPropertyNames() argument 2435 OH_JSVM_HasProperty(JSVM_Env env, JSVM_Value object, JSVM_Value key, bool* result) OH_JSVM_HasProperty() argument 2457 OH_JSVM_GetProperty(JSVM_Env env, JSVM_Value object, JSVM_Value key, JSVM_Value* result) OH_JSVM_GetProperty() argument 2480 OH_JSVM_DeleteProperty(JSVM_Env env, JSVM_Value object, JSVM_Value key, bool* result) OH_JSVM_DeleteProperty() argument 2500 OH_JSVM_HasOwnProperty(JSVM_Env env, JSVM_Value object, JSVM_Value key, bool* result) OH_JSVM_HasOwnProperty() argument 2544 OH_JSVM_HasNamedProperty(JSVM_Env env, JSVM_Value object, const char* utf8name, bool* result) OH_JSVM_HasNamedProperty() argument 2567 OH_JSVM_GetNamedProperty(JSVM_Env env, JSVM_Value object, const char* utf8name, JSVM_Value* result) OH_JSVM_GetNamedProperty() argument 2612 OH_JSVM_HasElement(JSVM_Env env, JSVM_Value object, uint32_t index, bool* result) OH_JSVM_HasElement() argument 2632 OH_JSVM_GetElement(JSVM_Env env, JSVM_Value object, uint32_t index, JSVM_Value* result) OH_JSVM_GetElement() argument 2652 OH_JSVM_DeleteElement(JSVM_Env env, JSVM_Value object, uint32_t index, bool* result) OH_JSVM_DeleteElement() argument 2794 OH_JSVM_IsArray(JSVM_Env env, JSVM_Value value, bool* result) OH_JSVM_IsArray() argument 2807 OH_JSVM_IsRegExp(JSVM_Env env, JSVM_Value value, bool* result) OH_JSVM_IsRegExp() argument 2820 OH_JSVM_GetArrayLength(JSVM_Env env, JSVM_Value value, uint32_t* result) OH_JSVM_GetArrayLength() argument 2836 OH_JSVM_StrictEquals(JSVM_Env env, JSVM_Value lhs, JSVM_Value rhs, bool* result) OH_JSVM_StrictEquals() argument 2852 OH_JSVM_Equals(JSVM_Env env, JSVM_Value lhs, JSVM_Value rhs, bool* result) OH_JSVM_Equals() argument 2869 OH_JSVM_GetPrototype(JSVM_Env env, JSVM_Value object, JSVM_Value* result) OH_JSVM_GetPrototype() argument 2885 OH_JSVM_CreateObject(JSVM_Env env, JSVM_Value* result) OH_JSVM_CreateObject() argument 2894 OH_JSVM_CreateArray(JSVM_Env env, JSVM_Value* result) OH_JSVM_CreateArray() argument 2903 OH_JSVM_CreateArrayWithLength(JSVM_Env env, size_t length, JSVM_Value* result) OH_JSVM_CreateArrayWithLength() argument 2915 OH_JSVM_CreateStringLatin1(JSVM_Env env, const char* str, size_t length, JSVM_Value* result) OH_JSVM_CreateStringLatin1() argument [all...] |
/third_party/curl/src/ |
H A D | tool_main.c | 141 * used, or havoc may be the result. 145 CURLcode result = CURLE_OK; in main_init() local 161 result = curl_global_init(CURL_GLOBAL_DEFAULT); in main_init() 162 if(!result) { in main_init() 164 result = get_libcurl_info(); in main_init() 166 if(!result) { in main_init() 183 result = CURLE_FAILED_INIT; in main_init() 186 return result; in main_init() 232 CURLcode result = CURLE_OK; in wmain() local 249 result in wmain() [all...] |
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | base.py | 5 from .result import SKIPPED 48 self._reduce_result = lambda result: result 64 the processors know what part of the result can be ignored. 70 # Since we're not winning anything by droping part of the result we are 71 # dropping the whole result or pass it as it is. The real reduction happens 72 # during result creation (in the output processor), so the result is 87 def result_for(self, test, result): 89 Method called by next processor whenever it has result fo [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-forin.cc | 54 Maybe<PropertyAttributes> result = Just(ABSENT); in HasEnumerableProperty() local 65 result = JSProxy::GetPropertyAttributes(&it); in HasEnumerableProperty() 66 if (result.IsNothing()) return MaybeHandle<Object>(); in HasEnumerableProperty() 67 if (result.FromJust() == ABSENT) { in HasEnumerableProperty() 79 } else if (result.FromJust() & DONT_ENUM) { in HasEnumerableProperty() 86 result = JSObject::GetPropertyAttributesWithInterceptor(&it); in HasEnumerableProperty() 87 if (result.IsNothing()) return MaybeHandle<Object>(); in HasEnumerableProperty() 88 if (result.FromJust() != ABSENT) return it.GetName(); in HasEnumerableProperty() 93 result = JSObject::GetPropertyAttributesWithFailedAccessCheck(&it); in HasEnumerableProperty() 94 if (result in HasEnumerableProperty() 132 Handle<Object> result; RUNTIME_FUNCTION() local [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | MtxWriter.java | 39 Set<Integer> result = new HashSet<Integer>(); in createRemoveTables() 40 result.add(Tag.VDMX); in createRemoveTables() 41 result.add(Tag.glyf); in createRemoveTables() 42 result.add(Tag.cvt); in createRemoveTables() 43 result.add(Tag.loca); in createRemoveTables() 44 result.add(Tag.hdmx); in createRemoveTables() 45 result.add(Tag.head); in createRemoveTables() 46 return Collections.unmodifiableSet(result); in createRemoveTables() 99 byte[] result = new byte[resultSize]; in packMtx() 100 result[ in packMtx() [all...] |
/third_party/curl/lib/ |
H A D | http2.c | 77 /* stream recv/send chunks are a result of window / chunk sizes */ 416 CURLcode result = CURLE_OUT_OF_MEMORY; in cf_h2_ctx_init() local 463 result = CURLE_FAILED_INIT; in cf_h2_ctx_init() 467 result = http2_data_setup(cf, data, &stream); in cf_h2_ctx_init() 468 if(result) in cf_h2_ctx_init() 479 result = CURLE_HTTP2; in cf_h2_ctx_init() 502 result = CURLE_HTTP2; in cf_h2_ctx_init() 512 result = CURLE_HTTP2; in cf_h2_ctx_init() 517 result = CURLE_OK; in cf_h2_ctx_init() 524 return result; in cf_h2_ctx_init() 602 CURLcode result; http2_connisalive() local 662 CURLcode result; nw_out_flush() local 693 CURLcode result = CURLE_OK; send_callback() local 875 CURLcode result; push_promise() local 968 CURLcode result; recvbuf_write_hds() local 987 CURLcode result; on_stream_frame() local 1272 CURLcode result; on_data_chunk_recv() local 1405 CURLcode result; on_header() local 1565 CURLcode result; req_body_read_callback() local 1628 CURLcode result; Curl_http2_request_upgrade() local 1665 CURLcode result = CURLE_OK; http2_data_done_send() local 1882 CURLcode result = CURLE_OK; h2_progress_ingress() local 1943 CURLcode result; cf_h2_recv() local 2172 CURLcode result; cf_h2_send() local 2362 CURLcode result = CURLE_OK; cf_h2_connect() local 2493 CURLcode result = CURLE_OK; cf_h2_cntrl() local 2539 CURLcode result; cf_h2_is_alive() local 2553 CURLcode result; cf_h2_keep_alive() local 2618 CURLcode result = CURLE_OUT_OF_MEMORY; http2_cfilter_add() local 2644 CURLcode result = CURLE_OUT_OF_MEMORY; http2_cfilter_insert_after() local 2708 CURLcode result; Curl_http2_switch() local 2736 CURLcode result; Curl_http2_switch_at() local 2767 CURLcode result; Curl_http2_upgrade() local [all...] |
H A D | multi.c | 643 CURLcode result; in multi_done() local 682 result = conn->handler->done(data, status, premature); in multi_done() 684 result = status; in multi_done() 686 if(CURLE_ABORTED_BY_CALLBACK != result) { in multi_done() 690 if(!result && rc) in multi_done() 691 result = CURLE_ABORTED_BY_CALLBACK; in multi_done() 788 return result; in multi_done() 857 (void)multi_done(data, data->result, premature); in curl_multi_remove_handle() 1629 CURLcode result = CURLE_OK; local 1636 result 1652 CURLcode result = CURLE_OK; global() local 1666 multi_handle_timeout(struct Curl_easy *data, struct curltime *now, bool *stream_error, CURLcode *result, bool connect_timeout) global() argument 1723 CURLcode result = CURLE_OK; global() local 1743 CURLcode result = CURLE_OK; global() local 1764 CURLcode result = CURLE_OK; global() local 1837 CURLcode result = Curl_mime_rewind(mimepart); global() local 1919 CURLcode result = CURLE_OK; global() local 2765 CURLMcode result; global() local 3196 CURLMcode result = CURLM_OK; global() local 3397 CURLMcode result; global() local 3409 CURLMcode result; global() local 3420 CURLMcode result; global() local [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_query.c | 64 uint64_t result; member 295 q->result = q->map->end != q->map->start; in calculate_result_on_cpu() 300 q->result = intel_device_info_timebase_scale(devinfo, q->map->start); in calculate_result_on_cpu() 301 q->result &= (1ull << TIMESTAMP_BITS) - 1; in calculate_result_on_cpu() 304 q->result = iris_raw_timestamp_delta(q->map->start, q->map->end); in calculate_result_on_cpu() 305 q->result = intel_device_info_timebase_scale(devinfo, q->result); in calculate_result_on_cpu() 306 q->result &= (1ull << TIMESTAMP_BITS) - 1; in calculate_result_on_cpu() 309 q->result = stream_overflowed((void *) q->map, q->index); in calculate_result_on_cpu() 312 q->result in calculate_result_on_cpu() 363 struct mi_value result = stream_result[0]; calc_overflow_any_stream() local 392 struct mi_value result; calculate_result_on_gpu() local 601 iris_get_query_result(struct pipe_context *ctx, struct pipe_query *query, bool wait, union pipe_query_result *result) iris_get_query_result() argument 714 struct mi_value result = calculate_result_on_gpu(devinfo, &b, q); iris_get_query_result_resource() local 783 struct mi_value result; set_predicate_for_result() local [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_android.c | 397 VkResult result = anv_device_import_bo(device, dma_buf, 0, in anv_import_ahw_memory() 400 assert(result == VK_SUCCESS); in anv_import_ahw_memory() 468 VkResult result = anv_import_ahw_memory(device_h, mem, &import_info); in anv_create_ahw_memory() local 473 return result; in anv_create_ahw_memory() 487 VkResult result; in anv_image_init_from_gralloc() local 515 result = anv_device_import_bo(device, dma_buf, in anv_image_init_from_gralloc() 520 if (result != VK_SUCCESS) { in anv_image_init_from_gralloc() 521 return vk_errorf(device, result, in anv_image_init_from_gralloc() 526 result = anv_device_get_bo_tiling(device, bo, &tiling); in anv_image_init_from_gralloc() 527 if (result ! in anv_image_init_from_gralloc() 602 VkResult result = anv_device_import_bo(device, dma_buf, anv_image_bind_from_gralloc() local 640 VkResult result; format_supported_with_usage() local 738 VkResult result; anv_GetSwapchainGrallocUsage2ANDROID() local 782 VkResult result; anv_GetSwapchainGrallocUsageANDROID() local [all...] |
H A D | anv_batch_chain.c | 190 VkResult result = anv_reloc_list_grow_deps(list, alloc, in anv_reloc_list_add_bo() local 192 if (unlikely(result != VK_SUCCESS)) in anv_reloc_list_add_bo() 193 return result; in anv_reloc_list_add_bo() 220 VkResult result = anv_reloc_list_grow(list, alloc, 1); in anv_reloc_list_add() 221 if (result != VK_SUCCESS) in anv_reloc_list_add() 222 return result; in anv_reloc_list_add() 252 VkResult result = anv_reloc_list_grow(list, alloc, other->num_relocs); in anv_reloc_list_append() local 253 if (result != VK_SUCCESS) in anv_reloc_list_append() 254 return result; in anv_reloc_list_append() 283 VkResult result in anv_batch_emit_dwords() local 318 VkResult result = batch->extend_cb(batch, batch->user_data); anv_batch_emit_batch() local 331 VkResult result = anv_reloc_list_append(batch->relocs, batch->alloc, anv_batch_emit_batch() local 350 VkResult result; anv_batch_bo_create() local 383 VkResult result; anv_batch_bo_clone() local 459 VkResult result = anv_bo_pool_alloc(&cmd_buffer->device->batch_bo_pool, anv_batch_bo_grow() local 521 VkResult result = VK_SUCCESS; anv_batch_bo_list_clone() local 673 VkResult result = anv_batch_bo_create(cmd_buffer, alloc_size, &new_bbo); anv_cmd_buffer_chain_batch() local 849 VkResult result; anv_cmd_buffer_init_batch_bo_chain() local 1133 VkResult result = anv_batch_bo_list_clone(&secondary->batch_bos, anv_cmd_buffer_add_secondary() local 1344 VkResult result; anv_execbuf_add_bo() local 1377 VkResult result = anv_execbuf_add_bo_bitset() local 1687 VkResult result; setup_execbuf_for_cmd_buffer() local 1754 VkResult result; setup_execbuf_for_cmd_buffers() local 1950 VkResult result = anv_execbuf_add_bo(device, execbuf, setup_empty_execbuf() local 1974 VkResult result = anv_execbuf_add_bo(device, execbuf, setup_utrace_execbuf() local 2032 VkResult result = setup_utrace_execbuf(&execbuf, queue, flush); anv_queue_exec_utrace_locked() local 2098 VkResult result = anv_queue_exec_locked() local 2268 VkResult result = vk_sync_wait(&device->vk, anv_queue_exec_locked() local 2302 VkResult result; anv_queue_submit_locked() local 2339 VkResult result = anv_queue_submit_locked() local 2389 VkResult result; anv_queue_submit() local 2419 VkResult result = VK_SUCCESS; anv_queue_submit_simple_batch() local [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_sync_timeline.c | 134 VkResult result; in vk_sync_timeline_alloc_point_locked() local 136 result = vk_sync_timeline_gc_locked(device, timeline, false); in vk_sync_timeline_alloc_point_locked() 137 if (unlikely(result != VK_SUCCESS)) in vk_sync_timeline_alloc_point_locked() 138 return result; in vk_sync_timeline_alloc_point_locked() 155 result = vk_sync_init(device, &point->sync, point_sync_type, in vk_sync_timeline_alloc_point_locked() 157 if (unlikely(result != VK_SUCCESS)) { in vk_sync_timeline_alloc_point_locked() 159 return result; in vk_sync_timeline_alloc_point_locked() 166 result = vk_sync_reset(device, &point->sync); in vk_sync_timeline_alloc_point_locked() 167 if (unlikely(result != VK_SUCCESS)) in vk_sync_timeline_alloc_point_locked() 168 return result; in vk_sync_timeline_alloc_point_locked() 186 VkResult result; vk_sync_timeline_alloc_point() local 348 VkResult result = vk_sync_timeline_get_point_locked(device, timeline, vk_sync_timeline_get_point() local 371 VkResult result = vk_sync_timeline_gc_locked(device, timeline, true); vk_sync_timeline_signal_locked() local 399 VkResult result = vk_sync_timeline_signal_locked(device, timeline, value); vk_sync_timeline_signal() local 413 VkResult result = vk_sync_timeline_gc_locked(device, timeline, true); vk_sync_timeline_get_value() local 513 VkResult result = vk_sync_timeline_wait_locked(device, timeline, vk_sync_timeline_wait() local [all...] |
/third_party/python/Objects/ |
H A D | bytes_methods.c | 300 _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len) in _Py_bytes_lower() argument 305 result[i] = Py_TOLOWER((unsigned char) cptr[i]); in _Py_bytes_lower() 316 _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len) in _Py_bytes_upper() argument 321 result[i] = Py_TOUPPER((unsigned char) cptr[i]); in _Py_bytes_upper() 333 _Py_bytes_title(char *result, const char *s, Py_ssize_t len) in _Py_bytes_title() argument 350 *result++ = c; in _Py_bytes_title() 362 _Py_bytes_capitalize(char *result, const char *s, Py_ssize_t len) in _Py_bytes_capitalize() argument 365 *result = Py_TOUPPER(*s); in _Py_bytes_capitalize() 366 _Py_bytes_lower(result + 1, s + 1, len - 1); in _Py_bytes_capitalize() 378 _Py_bytes_swapcase(char *result, cons argument 578 Py_ssize_t result = find_internal(str, len, "find", args, +1); _Py_bytes_find() local 596 Py_ssize_t result = find_internal(str, len, "index", args, +1); _Py_bytes_index() local 619 Py_ssize_t result = find_internal(str, len, "rfind", args, -1); _Py_bytes_rfind() local 637 Py_ssize_t result = find_internal(str, len, "rindex", args, -1); _Py_bytes_rindex() local 777 int result; _Py_bytes_tailmatch() local [all...] |
/third_party/python/Objects/stringlib/ |
H A D | transmogrify.h | 101 PyErr_SetString(PyExc_OverflowError, "result too long"); in stringlib_expandtabs_impl() 287 PyObject *result; in stringlib_replace_interleave() local 310 result = STRINGLIB_NEW(NULL, result_len); in stringlib_replace_interleave() 311 if (result == NULL) { in stringlib_replace_interleave() 316 result_s = STRINGLIB_STR(result); in stringlib_replace_interleave() 344 return result; in stringlib_replace_interleave() 357 PyObject *result; in stringlib_replace_delete_single_character() local 370 result = STRINGLIB_NEW(NULL, result_len); in stringlib_replace_delete_single_character() 371 if (result == NULL) { in stringlib_replace_delete_single_character() 374 result_s = STRINGLIB_STR(result); in stringlib_replace_delete_single_character() 402 PyObject *result; stringlib_replace_delete_substring() local 453 PyObject *result; stringlib_replace_single_character_in_place() local 501 PyObject *result; stringlib_replace_substring_in_place() local 554 PyObject *result; stringlib_replace_single_character() local 618 PyObject *result; stringlib_replace_substring() local [all...] |
/third_party/node/lib/internal/fs/ |
H A D | dir.js | 119 req.oncomplete = (err, result) => { 126 if (err || result === null) { 127 return callback(err, result); 131 this.processReadResult(this[kDirPath], result); 150 processReadResult(path, result) { 151 for (let i = 0; i < result.length; i += 2) { 156 result[i], 157 result[i + 1], 173 const result = handle.read( 180 if (result) { [all...] |
/third_party/node/test/testpy/ |
H A D | __init__.py | 59 result = [self.config.context.GetVm(self.arch, self.mode)] 83 result += flags 86 result += self.additional_flags 88 result += [self.file] 90 return result 109 result = [] 114 result.append(SimpleTestCase(test_name, file_path, arch, mode, 116 return result 127 result = super(ParallelTestConfiguration, self).ListTests( 129 for tst in result [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | tagged-impl-inl.h | 41 // TaggedImpl::GetHeapObject(HeapObject* result) implementation. 46 HeapObject* result) const { in GetHeapObject() 49 *result = GetHeapObject(); in GetHeapObject() 55 Isolate* isolate, HeapObject* result) const { in GetHeapObject() 56 if (kIsFull) return GetHeapObject(result); in GetHeapObject() 59 *result = GetHeapObject(isolate); in GetHeapObject() 64 // TaggedImpl::GetHeapObject(HeapObject* result, 71 HeapObject* result, HeapObjectReferenceType* reference_type) const { in GetHeapObject() 76 *result = GetHeapObject(); in GetHeapObject() 82 Isolate* isolate, HeapObject* result, in GetHeapObject() 70 GetHeapObject( HeapObject* result, HeapObjectReferenceType* reference_type) const GetHeapObject() argument 81 GetHeapObject( Isolate* isolate, HeapObject* result, HeapObjectReferenceType* reference_type) const GetHeapObject() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instrfactory.cpp | 62 PInst result = nullptr; in from_string() local 77 result = AluInstr::from_string(is, m_value_factory, group); in from_string() 79 result = TexInstr::from_string(is, m_value_factory); in from_string() 81 result = ExportInstr::from_string(is, m_value_factory); in from_string() 83 result = ExportInstr::last_from_string(is, m_value_factory); in from_string() 85 result = FetchInstr::from_string(is, m_value_factory); in from_string() 87 result = QueryBufferSizeInstr::from_string(is, m_value_factory); in from_string() 89 result = LoadFromBuffer::from_string(is, m_value_factory); in from_string() 91 result = LoadFromScratch::from_string(is, m_value_factory); in from_string() 93 result in from_string() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | nftw.c | 75 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory() local 76 if (result >= sizeof(filepath)) { in remove_directory() 81 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory() local 82 if (result >= sizeof(filepath)) { in remove_directory() 108 int result = snprintf(file, sizeof(file), "%s/normal_file.txt", path); in nftw_build_testfile() local 109 if (result >= sizeof(file)) { in nftw_build_testfile() 120 result = snprintf(file, sizeof(file), "%s/non-executable_file.txt", path); in nftw_build_testfile() 121 if (result >= sizeof(file)) { in nftw_build_testfile() 132 result = snprintf(file, sizeof(file), "%s/unauthorized_file.txt", path); in nftw_build_testfile() 133 if (result > in nftw_build_testfile() 183 int result = snprintf(path, sizeof(path), "%s", TEST_NFTW_PATH); nftw_build_testDir() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-ot-extents-cff.c | 43 hb_bool_t result = hb_font_get_glyph_extents (font, 1, &extents); in test_extents_cff1() local 44 g_assert (result); in test_extents_cff1() 82 hb_bool_t result = hb_font_get_glyph_extents (font, 1, &extents); in test_extents_cff1_flex() local 83 g_assert (result); in test_extents_cff1_flex() 104 hb_bool_t result = hb_font_get_glyph_extents (font, 3, &extents); /* Agrave */ in test_extents_cff1_seac() local 105 g_assert (result); in test_extents_cff1_seac() 112 result = hb_font_get_glyph_extents (font, 4, &extents); /* Udieresis */ in test_extents_cff1_seac() 113 g_assert (result); in test_extents_cff1_seac() 134 hb_bool_t result = hb_font_get_glyph_extents (font, 1, &extents); in test_extents_cff2() local 135 g_assert (result); in test_extents_cff2() 168 hb_bool_t result = hb_font_get_glyph_extents (font, 1, &extents); test_extents_cff2_vsindex() local 199 hb_bool_t result = hb_font_get_glyph_extents (font, 1, &extents); test_extents_cff2_vsindex_named_instance() local [all...] |
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
H A D | generator_impl_constructor_test.cc | 33 EXPECT_THAT(gen.result(), HasSubstr("false")); in TEST_F() 42 EXPECT_THAT(gen.result(), HasSubstr("-12345")); in TEST_F() 51 EXPECT_THAT(gen.result(), HasSubstr("56779u")); in TEST_F() 61 EXPECT_THAT(gen.result(), HasSubstr("1073741824.0f")); in TEST_F() 70 EXPECT_THAT(gen.result(), HasSubstr("float(-0.000012f)")); in TEST_F() 79 EXPECT_THAT(gen.result(), HasSubstr("bool(true)")); in TEST_F() 88 EXPECT_THAT(gen.result(), HasSubstr("int(-12345)")); in TEST_F() 97 EXPECT_THAT(gen.result(), HasSubstr("uint(12345u)")); in TEST_F() 106 EXPECT_THAT(gen.result(), HasSubstr("vec3(1.0f, 2.0f, 3.0f)")); in TEST_F() 115 EXPECT_THAT(gen.result(), HasSubst in TEST_F() [all...] |
/third_party/skia/tools/ |
H A D | SkMetaData.cpp | 57 FindResult result = this->findWithPrev(name, type); in set() local 60 bool reuseRec = result.rec && in set() 61 result.rec->fDataLen == dataSize && in set() 62 result.rec->fDataCount == count; in set() 64 rec = result.rec; in set() 80 } else if (result.rec) { in set() 82 // Delayed removal since name or data may have been in the result.rec. in set() 83 this->remove(result); in set() 84 if (result.prev) { in set() 85 rec->fNext = result in set() 178 remove(FindResult result) remove() argument 189 FindResult result = this->findWithPrev(name, type); remove() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cSparseTextureTests.cpp | 363 bool result = true; in iterate() local 379 result = testTextureSparseARB(gl, target) && testVirtualPageSizeIndexARB(gl, target) && in iterate() 384 if (!result) in iterate() 404 result = testTextureSparseARB(gl, target, GL_INVALID_VALUE); in iterate() 408 if (!result) in iterate() 433 bool result = true; in testTextureSparseARB() local 443 result = checkGetTexParameter(gl, target, pname, GL_FALSE); in testTextureSparseARB() 446 if (result) in testTextureSparseARB() 453 result = checkGetTexParameter(gl, target, pname, GL_TRUE); in testTextureSparseARB() 460 result in testTextureSparseARB() 564 bool result = true; testVirtualPageSizeIndexARB() local 693 bool result = true; testNumSparseLevelsARB() local 737 bool result = true; checkGetTexParameter() local 869 bool result = true; iterate() local 953 bool result = true; testSipmleQueries() local 1085 bool result = true; iterate() local 1205 bool result = true; verifyTexParameterErrors() local 1368 bool result = true; verifyTexStorageFullArrayCubeMipmapsError() local 1700 bool result = true; iterate() local 2162 bool result = true; verifyInvalidOperationErrors() local 2283 bool result = true; verifyInvalidValueErrors() local 2358 bool result = true; iterate() local [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_plugin.c | 241 snd_pcm_sframes_t result; in snd_pcm_plugin_write_areas() local 250 result = snd_pcm_mmap_begin(slave, &slave_areas, &slave_offset, &slave_frames); in snd_pcm_plugin_write_areas() 251 if (result < 0) { in snd_pcm_plugin_write_areas() 252 err = result; in snd_pcm_plugin_write_areas() 265 result = snd_pcm_mmap_commit(slave, slave_offset, slave_frames); in snd_pcm_plugin_write_areas() 266 if (result > 0 && (snd_pcm_uframes_t)result != slave_frames) { in snd_pcm_plugin_write_areas() 268 res = plugin->undo_write(pcm, slave_areas, slave_offset + result, slave_frames, slave_frames - result); in snd_pcm_plugin_write_areas() 275 if (result < in snd_pcm_plugin_write_areas() 298 snd_pcm_sframes_t result; snd_pcm_plugin_read_areas() local 414 snd_pcm_sframes_t result; snd_pcm_plugin_mmap_commit() local 479 snd_pcm_sframes_t result; snd_pcm_plugin_sync_hw_ptr_capture() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | lower_packing_builtins.cpp | 135 int result; in choose_lowering_op() local 139 result = op_mask & LOWER_PACK_SNORM_2x16; in choose_lowering_op() 142 result = op_mask & LOWER_PACK_SNORM_4x8; in choose_lowering_op() 145 result = op_mask & LOWER_PACK_UNORM_2x16; in choose_lowering_op() 148 result = op_mask & LOWER_PACK_UNORM_4x8; in choose_lowering_op() 151 result = op_mask & LOWER_PACK_HALF_2x16; in choose_lowering_op() 154 result = op_mask & LOWER_UNPACK_SNORM_2x16; in choose_lowering_op() 157 result = op_mask & LOWER_UNPACK_SNORM_4x8; in choose_lowering_op() 160 result = op_mask & LOWER_UNPACK_UNORM_2x16; in choose_lowering_op() 163 result in choose_lowering_op() 453 ir_rvalue *result = pack_uvec2_to_uint( lower_pack_snorm_2x16() local 502 ir_rvalue *result = pack_uvec4_to_uint( lower_pack_snorm_4x8() local 559 ir_rvalue *result = lower_unpack_snorm_2x16() local 616 ir_rvalue *result = lower_unpack_snorm_4x8() local 663 ir_rvalue *result = pack_uvec2_to_uint( lower_pack_unorm_2x16() local 707 ir_rvalue *result = pack_uvec4_to_uint( lower_pack_unorm_4x8() local 748 ir_rvalue *result = div(u2f(unpack_uint_to_uvec2(uint_rval)), lower_unpack_unorm_2x16() local 789 ir_rvalue *result = div(u2f(unpack_uint_to_uvec4(uint_rval)), lower_unpack_unorm_4x8() local 1074 ir_rvalue *result = bit_or(lshift(swizzle_y(f16), lower_pack_half_2x16() local 1292 ir_rvalue *result = expr(ir_unop_bitcast_u2f, f32); lower_unpack_half_2x16() local [all...] |