Home
last modified time | relevance | path

Searched refs:result (Results 4301 - 4325 of 21109) sorted by relevance

1...<<171172173174175176177178179180>>...845

/third_party/python/Lib/asyncio/
H A Dtasks.py148 def set_result(self, result):
267 result = coro.send(None)
269 result = coro.throw(exc)
287 blocking = getattr(result, '_asyncio_future_blocking', None)
290 if futures._get_loop(result) is not self._loop:
293 f'{result!r} attached to a different loop')
297 if result is self:
303 result._asyncio_future_blocking = False
304 result.add_done_callback(
306 self._fut_waiter = result
[all...]
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_calendar_addon.cpp167 napi_value result = nullptr; in GetCalendar() local
168 status = napi_new_instance(env, constructor, 2, argv, &result); // 2 arguments in GetCalendar()
173 return result; in GetCalendar()
302 napi_value result = nullptr; in GetTimeZone() local
303 status = napi_create_string_utf8(env, temp.c_str(), NAPI_AUTO_LENGTH, &result); in GetTimeZone()
308 return result; in GetTimeZone()
362 napi_value result = nullptr; in GetFirstDayOfWeek() local
363 status = napi_create_int32(env, temp, &result); in GetFirstDayOfWeek()
368 return result; in GetFirstDayOfWeek()
415 napi_value result in GetMinimalDaysInFirstWeek() local
492 napi_value result = nullptr; Get() local
575 napi_value result = nullptr; GetDisplayName() local
602 napi_value result = nullptr; GetTimeInMillis() local
652 napi_value result = nullptr; IsWeekend() local
668 napi_value result = nullptr; CompareDays() local
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_handler_impl.cpp368 const ArkWebString& url, const ArkWebString& message, ArkWebRefPtr<ArkWebJsDialogResult> result) in OnAlertDialogByJS()
370 if (CHECK_REF_PTR_IS_NULL(result)) { in OnAlertDialogByJS()
376 std::make_shared<ArkWebJsDialogResultWrapper>(result)); in OnAlertDialogByJS()
380 const ArkWebString& url, const ArkWebString& message, ArkWebRefPtr<ArkWebJsDialogResult> result) in OnBeforeUnloadByJS()
382 if (CHECK_REF_PTR_IS_NULL(result)) { in OnBeforeUnloadByJS()
388 std::make_shared<ArkWebJsDialogResultWrapper>(result)); in OnBeforeUnloadByJS()
392 const ArkWebString& default_value, ArkWebRefPtr<ArkWebJsDialogResult> result) in OnPromptDialogByJS()
394 if (CHECK_REF_PTR_IS_NULL(result)) { in OnPromptDialogByJS()
400 ArkWebStringStructToClass(default_value), std::make_shared<ArkWebJsDialogResultWrapper>(result)); in OnPromptDialogByJS()
404 const ArkWebString& url, const ArkWebString& message, ArkWebRefPtr<ArkWebJsDialogResult> result) in OnConfirmDialogByJS()
367 OnAlertDialogByJS( const ArkWebString& url, const ArkWebString& message, ArkWebRefPtr<ArkWebJsDialogResult> result) OnAlertDialogByJS() argument
379 OnBeforeUnloadByJS( const ArkWebString& url, const ArkWebString& message, ArkWebRefPtr<ArkWebJsDialogResult> result) OnBeforeUnloadByJS() argument
391 OnPromptDialogByJS(const ArkWebString& url, const ArkWebString& message, const ArkWebString& default_value, ArkWebRefPtr<ArkWebJsDialogResult> result) OnPromptDialogByJS() argument
403 OnConfirmDialogByJS( const ArkWebString& url, const ArkWebString& message, ArkWebRefPtr<ArkWebJsDialogResult> result) OnConfirmDialogByJS() argument
415 OnHttpAuthRequestByJS( ArkWebRefPtr<ArkWebJsHttpAuthResult> result, const ArkWebString& host, const ArkWebString& realm) OnHttpAuthRequestByJS() argument
427 OnSslErrorRequestByJS(ArkWebRefPtr<ArkWebJsSslErrorResult> result, int error) OnSslErrorRequestByJS() argument
437 OnSslSelectCertRequestByJS(ArkWebRefPtr<ArkWebJsSslSelectCertResult> result, const ArkWebString& host, int port, const ArkWebStringVector& key_types, const ArkWebStringVector& issuers) OnSslSelectCertRequestByJS() argument
730 OnAllSslErrorRequestByJS(ArkWebRefPtr<ArkWebJsAllSslErrorResult> result, int error, const ArkWebString& url, const ArkWebString& originalUrl, const ArkWebString& referrer, bool isFatalError, bool isMainFrame) OnAllSslErrorRequestByJS() argument
913 OnSslErrorRequestByJSV2(ArkWebRefPtr<ArkWebJsSslErrorResult> result, int error, const ArkWebStringVector& certChainData) OnSslErrorRequestByJSV2() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_ipc_test/
H A Dapp_mgr_service_dump_ipc_test.cpp100 auto result = appMgrService->Dump(fd, args); in HWTEST_F() local
101 EXPECT_EQ(result, ERR_OK); in HWTEST_F()
141 auto result = appMgrService->Dump(fd, args); in HWTEST_F() local
142 EXPECT_EQ(result, ERR_OK); in HWTEST_F()
181 auto result = appMgrService->Dump(fd, args); in HWTEST_F() local
182 EXPECT_EQ(result, ERR_OK); in HWTEST_F()
222 auto result = appMgrService->Dump(fd, args); in HWTEST_F() local
223 EXPECT_EQ(result, ERR_OK); in HWTEST_F()
263 auto result = appMgrService->Dump(fd, args); in HWTEST_F() local
264 EXPECT_EQ(result, ERR_O in HWTEST_F()
303 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
344 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
385 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
426 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
465 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
504 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
543 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
582 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
619 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
658 auto result = appMgrService->Dump(fd, args); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/ability_manager/
H A Djs_ability_manager.cpp278 napi_value result = nullptr; in OnNotifyDebugAssertResult() local
280 CreateAsyncTaskWithLastParam(env, nullptr, nullptr, std::move(complete), &result)); in OnNotifyDebugAssertResult()
281 return result; in OnNotifyDebugAssertResult()
329 napi_value result = nullptr; in OnGetAbilityRunningInfos() local
331 env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnGetAbilityRunningInfos()
332 return result; in OnGetAbilityRunningInfos()
371 napi_value result = nullptr; in OnGetExtensionRunningInfos() local
374 lastParam, nullptr, std::move(complete), &result)); in OnGetExtensionRunningInfos()
375 return result; in OnGetExtensionRunningInfos()
425 napi_value result in OnUpdateConfiguration() local
454 napi_value result = nullptr; OnGetTopAbility() local
473 napi_value result = nullptr; OnAcquireShareData() local
544 napi_value result = nullptr; OnNotifySaveAsResult() local
565 napi_value result = nullptr; OnGetForegroundUIAbilities() local
615 napi_value result = nullptr; OnSetResidentProcessEnabled() local
668 napi_value result = nullptr; OnIsEmbeddedOpenAllowed() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_output.cpp750 void HdiOutput::Dump(std::string &result) const in Dump()
756 result.append("\n"); in Dump()
757 result.append("-- LayerInfo\n"); in Dump()
767 result += "\n surface [" + name + "] NodeId[" + std::to_string(layerInfo.nodeId) + "]"; in Dump()
768 result += " LayerId[" + std::to_string(layer->GetLayerId()) + "]:\n"; in Dump()
769 info->Dump(result); in Dump()
773 result += "\n"; in Dump()
774 result += "FrameBufferSurface\n"; in Dump()
775 fbSurface_->Dump(result); in Dump()
777 CreateVSyncGenerator()->Dump(result); in Dump()
781 DumpFps(std::string &result, const std::string &arg) const DumpFps() argument
826 DumpHitchs(std::string &result, const std::string &arg) const DumpHitchs() argument
841 ClearFpsDump(std::string &result, const std::string &arg) ClearFpsDump() argument
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ability/
H A Dcamera_ability_napi.cpp180 napi_value result = nullptr; in CreateCameraFunctions() local
196 napi_get_undefined(env, &result); in CreateCameraFunctions()
197 return result; in CreateCameraFunctions()
202 status = napi_new_instance(env, constructor, 0, nullptr, &result); in CreateCameraFunctions()
204 if (status == napi_ok && result != nullptr) { in CreateCameraFunctions()
205 return result; in CreateCameraFunctions()
211 napi_get_undefined(env, &result); in CreateCameraFunctions()
212 return result; in CreateCameraFunctions()
232 napi_value result = nullptr; in CameraFunctionsNapiConstructor() local
235 napi_get_undefined(env, &result); in CameraFunctionsNapiConstructor()
268 napi_value result = nullptr; HandleQuery() local
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_getlocation.c222 Dwarf_Op *result = libdw_alloc (attr->cu->dbg, in is_constant_offset()
225 result->atom = DW_OP_plus_uconst; in is_constant_offset()
226 result->number = offset; in is_constant_offset()
227 result->number2 = 0; in is_constant_offset()
228 result->offset = 0; in is_constant_offset()
235 newp->loc = result; in is_constant_offset()
594 Dwarf_Op *result; in __libdw_intern_expression() local
596 result = libdw_alloc (dbg, Dwarf_Op, sizeof (Dwarf_Op), n); in __libdw_intern_expression()
599 result = malloc (sizeof *result * in __libdw_intern_expression()
690 int result = is_constant_offset (attr, llbuf, listlen); dwarf_getlocation() local
924 int result = is_constant_offset (attr, llbufs, listlens); dwarf_getlocation_addr() local
1005 int result = is_constant_offset (attr, expr, exprlen); dwarf_getlocations() local
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dlocnmtst.cpp164 UChar result[150]; in TestUldnOpen() local
166 int32_t len = uldn_localeDisplayName(ldn, "de_DE", result, kMaxResultSize, &status); in TestUldnOpen()
170 UnicodeString str(result, len, kMaxResultSize); in TestUldnOpen()
186 UChar result[150]; in TestUldnOpenDialect() local
188 int32_t len = uldn_localeDisplayName(ldn, "en_GB", result, kMaxResultSize, &status); in TestUldnOpenDialect()
192 UnicodeString str(result, len, kMaxResultSize); in TestUldnOpenDialect()
199 UChar result[150]; in TestUldnWithGarbage() local
201 int32_t len = uldn_localeDisplayName(ldn, "english (United States) [w", result, kMaxResultSize, &status); in TestUldnWithGarbage()
209 UChar result[150]; in TestUldnWithKeywordsAndEverything() local
214 int32_t len = uldn_localeDisplayName(ldn, locname, result, kMaxResultSiz in TestUldnWithKeywordsAndEverything()
225 UChar result[150]; TestUldnComponents() local
290 const UChar * result; global() member
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_batch.c34 VkResult result = VKSCR(ResetCommandPool)(screen->dev, bs->cmdpool, 0); in zink_reset_batch_state() local
35 if (result != VK_SUCCESS) in zink_reset_batch_state()
36 mesa_loge("ZINK: vkResetCommandPool failed (%s)", vk_Result_to_str(result)); in zink_reset_batch_state()
200 VkResult result = VKSCR(CreateCommandPool)(screen->dev, &cpci, NULL, &bs->cmdpool); in create_batch_state() local
201 if (result != VK_SUCCESS) { in create_batch_state()
202 mesa_loge("ZINK: vkCreateCommandPool failed (%s)", vk_Result_to_str(result)); in create_batch_state()
212 result = VKSCR(AllocateCommandBuffers)(screen->dev, &cbai, &bs->cmdbuf); in create_batch_state()
213 if (result != VK_SUCCESS) { in create_batch_state()
214 mesa_loge("ZINK: vkAllocateCommandBuffers failed (%s)", vk_Result_to_str(result)); in create_batch_state()
218 result in create_batch_state()
323 VkResult result = VKCTX(BeginCommandBuffer)(batch->state->cmdbuf, &cbbi); zink_start_batch() local
415 VkResult result = VKSCR(EndCommandBuffer)(bs->cmdbuf); submit_queue() local
[all...]
/third_party/node/deps/v8/src/objects/
H A Dtransitions.cc55 Handle<TransitionArray> result = in Insert() local
57 result->Set(0, *name, HeapObjectReference::Weak(*target)); in Insert()
58 ReplaceTransitions(isolate, map, result); in Insert()
59 DCHECK_EQ(kFullTransitionArray, GetEncoding(isolate, *result)); in Insert()
80 Handle<TransitionArray> result = in Insert() local
87 result->Set(0, *name, HeapObjectReference::Weak(*target)); in Insert()
88 ReplaceTransitions(isolate, map, result); in Insert()
89 DCHECK_EQ(kFullTransitionArray, GetEncoding(isolate, *result)); in Insert()
94 result->Set(0, GetSimpleTransitionKey(simple_transition), in Insert()
102 result in Insert()
180 Handle<TransitionArray> result = isolate->factory()->NewTransitionArray( Insert() local
536 Handle<TransitionArray> result = isolate->factory()->NewTransitionArray(nof); EnsureHasFullTransitionArray() local
[all...]
/third_party/python/Lib/multiprocessing/
H A Dpool.py90 return "Error sending result: '%s'. Reason: '%s'" % (self.value,
125 result = (True, func(*args, **kwds))
129 result = (False, e)
131 put((job, i, result))
133 wrapped = MaybeEncodingError(e, result[1])
134 util.debug("Possible encoding error while sending result: %s" % (
138 task = job = result = func = args = kwds = None
402 result = IMapIterator(self)
405 self._guarded_task_generation(result._job, func, iterable),
406 result
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djmemmgr.c439 JSAMPARRAY result; in METHODDEF() local
468 result = (JSAMPARRAY)alloc_small(cinfo, pool_id, in METHODDEF()
479 result[currow++] = workspace; in METHODDEF()
484 return result; in METHODDEF()
499 JBLOCKARRAY result; in METHODDEF() local
520 result = (JBLOCKARRAY)alloc_small(cinfo, pool_id, in METHODDEF()
531 result[currow++] = workspace; in METHODDEF()
536 return result; in METHODDEF()
584 jvirt_sarray_ptr result; in METHODDEF() local
591 result in METHODDEF()
614 jvirt_barray_ptr result; METHODDEF() local
[all...]
/third_party/python/Lib/test/
H A Dtest_tcl.py279 result = tcl.exprstring(expr)
280 self.assertEqual(result, expected)
281 self.assertIsInstance(result, str)
313 result = tcl.exprdouble(expr)
314 self.assertEqual(result, expected)
315 self.assertIsInstance(result, float)
344 result = tcl.exprlong(expr)
345 self.assertEqual(result, expected)
346 self.assertIsInstance(result, int)
375 result
[all...]
/third_party/python/Lib/logging/
H A Dconfig.py303 result = self.configurator.convert(value)
305 if value is not result:
307 self[key] = result
308 if type(result) in (ConvertingDict, ConvertingList,
310 result.parent = self
311 result.key = key
312 return result
315 result = self.configurator.convert(value)
316 if value is not result:
317 if type(result) i
[all...]
/foundation/filemanagement/app_file_service/interfaces/kits/ndk/fileuri/include/
H A Doh_file_uri.h39 * @param result Output a pointer to a uri string. Please use free() to clear the resource.
44 FileManagement_ErrCode OH_FileUri_GetUriFromPath(const char *path, unsigned int length, char **result);
51 * @param result Output a pointer to a path string. Please use free() to clear the resource.
56 FileManagement_ErrCode OH_FileUri_GetPathFromUri(const char *uri, unsigned int length, char **result);
63 * @param result Output a pointer to a uri string. Please use free() to clear the resource.
68 FileManagement_ErrCode OH_FileUri_GetFullDirectoryUri(const char *uri, unsigned int length, char **result);
86 * @param result Output a pointer to a FileName string or FolderName string. Please use free() to clear the resource.
91 FileManagement_ErrCode OH_FileUri_GetFileName(const char *uri, unsigned int length, char **result);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
H A DRequireAffixValidator.java12 public void postProcess(ParsedNumber result) { in postProcess() argument
13 if (result.prefix == null || result.suffix == null) { in postProcess()
15 result.flags |= ParsedNumber.FLAG_FAIL; in postProcess()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
H A DRequireAffixValidator.java14 public void postProcess(ParsedNumber result) { in postProcess() argument
15 if (result.prefix == null || result.suffix == null) { in postProcess()
17 result.flags |= ParsedNumber.FLAG_FAIL; in postProcess()
/third_party/jerryscript/tests/jerry/es2015/
H A Dobject-get-own-property-names.js20 var result = Object.getOwnPropertyNames ({1: 5, "a": 6, [foo]: 7, [asd]: 8, [bar]: 9});
21 assert (!Object.hasOwnProperty (result, foo));
22 assert (!Object.hasOwnProperty (result, asd));
23 assert (!Object.hasOwnProperty (result, bar));
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_max/
H A D1-3.c24 int result = -1; in main() local
26 result = sched_get_priority_max(SCHED_SPORADIC); in main()
28 if (result != -1 && errno == 0) { in main()
31 result); in main()
H A D2-1.c20 int result = -1; in main() local
22 result = sched_get_priority_max(-1); in main()
24 if (result == -1 && errno == EINVAL) { in main()
29 if (result != -1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_min/
H A D1-3.c24 int result = -1; in main() local
26 result = sched_get_priority_min(SCHED_SPORADIC); in main()
28 if (result != -1 && errno == 0) { in main()
31 result); in main()
H A D2-1.c20 int result = -1; in main() local
22 result = sched_get_priority_min(-1); in main()
24 if (result == -1 && errno == EINVAL) { in main()
29 if (result != -1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D11-1.c23 int result; in main() local
28 result = shm_unlink(SHM_NAME); in main()
30 if (result == -1 && errno == ENOENT) { in main()
33 } else if (result == -1) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/ipc/
H A Dftok.c29 key_t result = ftok(path, 1); in ftok_0100() local
30 EXPECT_NE("ftok_0100", result, -1); in ftok_0100()
40 key_t result = ftok("./test", 1); in ftok_0200() local
41 EXPECT_EQ("ftok_0200", result, -1); in ftok_0200()

Completed in 20 milliseconds

1...<<171172173174175176177178179180>>...845