/base/hiviewdfx/faultloggerd/test/unittest/rustc_demangle/ |
H A D | rustc_demangle_test.cpp | 59 char *res = reinterpret_cast<char*>(std::malloc(sizeof(char) * BUF_LEN)); in HWTEST_F() local 60 res = rustc_demangle(buf); in HWTEST_F() 62 if (res != nullptr) { in HWTEST_F() 63 GTEST_LOG_(INFO) << "RustcDemangleTest001: res=" << std::string(res); in HWTEST_F() 64 ret = strcmp(res, "panic_handler_example::main"); in HWTEST_F() 65 std::free(res); in HWTEST_F() 80 char *res = reinterpret_cast<char*>(std::malloc(sizeof(char) * BUF_LEN)); in HWTEST_F() local 81 res = rustc_demangle(buf); in HWTEST_F() 82 EXPECT_EQ(true, res in HWTEST_F() 98 char *res = reinterpret_cast<char*>(malloc(sizeof(char) * BUF_LEN)); HWTEST_F() local 116 char *res = reinterpret_cast<char*>(std::malloc(sizeof(char) * BUF_LEN)); HWTEST_F() local [all...] |
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | fixed_bfin.h | 44 spx_word32_t res, bb; in PDIV32_16() local 60 : "=m" (res) in PDIV32_16() 63 return res; in PDIV32_16() 69 spx_word32_t res, bb; in DIV32_16() local 87 : "=m" (res) in DIV32_16() 90 return res; in DIV32_16() 96 spx_word32_t res; in MAX16() local 101 : "=d" (res) in MAX16() 105 return res; in MAX16() 111 spx_word32_t res; in MULT16_32_Q15() local 127 spx_word32_t res; MAC16_32_Q15() local 144 spx_word32_t res; MULT16_32_Q14() local 161 spx_word32_t res; MAC16_32_Q14() local [all...] |
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
H A D | pub_key_exchange.c | 131 int32_t res = BuildKeyAliasMsg(serviceId, keyType, authId, &keyAliasMsg); in CalKeyAlias() local 132 if (res != HC_SUCCESS) { in CalKeyAlias() 134 return res; in CalKeyAlias() 136 res = GetLoaderInstance()->sha256(&keyAliasMsg, keyAlias); in CalKeyAlias() 138 if (res != HC_SUCCESS) { in CalKeyAlias() 140 return res; in CalKeyAlias() 166 int32_t res = GetLoaderInstance()->sha256(&serviceIdPlain, serviceId); in CalServiceId() local 168 if (res != HC_SUCCESS) { in CalServiceId() 170 return res; in CalServiceId() 179 int32_t res in GenerateKeyAlias() local 219 int32_t res = GenerateKeyAlias(params, true, false, &keyAlias); ExportSelfPubKey() local 325 int32_t res = GetAuthIdPeerFromInput(inputEvent, params, false); ServerSendPkInfoParseEvent() local 349 int32_t res = GenerateKeyAlias(params, true, false, selfKeyAlias); GenerateSelfKeyAlias() local 371 int32_t res = GetLoaderInstance()->exportPublicKey(&keyParams, &peerPubKeyBuff); ComputeAndSavePskInner() local 391 int32_t res = GenerateSelfKeyAlias(params, &selfKeyAlias); ComputeAndSavePsk() local 431 int32_t res = GenerateKeyAlias(params, false, false, &keyAlias); SavePeerPubKey() local 451 int32_t res = ExportSelfPubKey(params); ServerSendPkInfoProcEvent() local 496 int32_t res = GetAuthIdPeerFromInput(inputEvent, params, true); ClientImportPkParseEvent() local 520 int32_t res = SavePeerPubKey(params); ClientImportPkProcEvent() local 569 int32_t res = ClientSendPkInfoProcEvent(&impl->params); ClientSendPkInfo() local 579 int32_t res = ServerSendPkInfoParseEvent(inputEvent, &impl->params); ServerSendPkInfo() local 594 int32_t res = ClientImportPkParseEvent(inputEvent, &impl->params); ClientImportPk() local 631 int32_t res = STATE_MACHINE[i].stateProcessFunc(self, receviedMsg, returnSendMsg); SwitchState() local 743 int32_t res = InitPubkeyExchangeCmd(instance, params, isCaller, strategy); CreatePubKeyExchangeCmd() local [all...] |
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfverifycreate_fuzzer/ |
H A D | hcfverifycreate_fuzzer.cpp | 31 HcfResult res = HcfAsyKeyGeneratorCreate("ECC224", &generator); in TestVerify() local 32 if (res != HCF_SUCCESS) { in TestVerify() 37 res = generator->generateKeyPair(generator, nullptr, &ecc224KeyPair); in TestVerify() 39 if (res != HCF_SUCCESS) { in TestVerify() 44 res = HcfSignCreate("ECC224|SHA384", &sign); in TestVerify() 45 if (res != HCF_SUCCESS) { in TestVerify() 57 res = HcfVerifyCreate("ECC224|SHA384", &verify); in TestVerify() 58 if (res != HCF_SUCCESS) { in TestVerify() 80 HcfResult res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); in TestVerifySm2() local 81 if (res ! in TestVerifySm2() 129 HcfResult res = HcfAsyKeyGeneratorCreate("ECC_BrainPoolP160r1", &generator); TestVerifyBrainpool() local 178 HcfResult res = HcfAsyKeyGeneratorCreate("Ed25519", &generator); TestVerifyEd25519() local 232 HcfResult res = HcfVerifyCreate(algoName.c_str(), &verify); HcfVerifyCreateFuzzTest() local [all...] |
/base/security/device_auth/test/fuzztest/protocol/iso_fuzzer/ |
H A D | iso_fuzzer.cpp | 60 int32_t res = CreateIsoProtocol(&g_paramsC, true, &client); in IsoTest02() local 63 res = CreateIsoProtocol(&g_paramsS, false, &server); in IsoTest02() 65 res = client->setPsk(client, &g_psk); in IsoTest02() 66 res = server->setPsk(server, &g_psk); in IsoTest02() 71 res = client->setSelfProtectedMsg(client, &g_msgC); in IsoTest02() 72 res = client->setPeerProtectedMsg(client, &g_msgS); in IsoTest02() 73 res = server->setSelfProtectedMsg(server, &g_msgS); in IsoTest02() 74 res = server->setPeerProtectedMsg(server, &g_msgC); in IsoTest02() 76 res = client->start(client, &clientOut); in IsoTest02() 80 res in IsoTest02() 104 int32_t res = CreateIsoProtocol(&g_paramsC, true, &client); IsoTest03() local 181 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest09() local 190 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest10() local 200 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest11() local 210 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest12() local 220 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest13() local 229 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest14() local 240 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest15() local 251 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest16() local 262 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest17() local 272 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest18() local 282 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest19() local 294 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest20() local 306 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest21() local 315 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest22() local 324 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest23() local 333 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest24() local 342 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest25() local 352 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest26() local 361 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); IsoTest27() local [all...] |
/third_party/elfutils/libebl/ |
H A D | eblosabiname.c | 41 const char *res = ebl != NULL ? ebl->osabi_name (osabi, buf, len) : NULL; in ebl_osabi_name() local 43 if (res == NULL) in ebl_osabi_name() 46 res = "UNIX - System V"; in ebl_osabi_name() 48 res = "HP/UX"; in ebl_osabi_name() 50 res = "NetBSD"; in ebl_osabi_name() 52 res = "Linux"; in ebl_osabi_name() 54 res = "Solaris"; in ebl_osabi_name() 56 res = "AIX"; in ebl_osabi_name() 58 res = "Irix"; in ebl_osabi_name() 60 res in ebl_osabi_name() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.h | 94 * to be zeroed. Note that this also guarantees that res->surf.tiling 208 struct pipe_resource *res; member 232 struct crocus_resource *res; member 295 struct crocus_resource *res = (void *) p_res; in crocus_resource_bo() local 296 return res->bo; in crocus_resource_bo() 324 struct pipe_resource *res, in crocus_get_depth_stencil_resources() 330 *out_z = (void *)res; in crocus_get_depth_stencil_resources() 331 *out_s = (void *)res; in crocus_get_depth_stencil_resources() 335 if (res && res in crocus_get_depth_stencil_resources() 323 crocus_get_depth_stencil_resources(const struct intel_device_info *devinfo, struct pipe_resource *res, struct crocus_resource **out_z, struct crocus_resource **out_s) crocus_get_depth_stencil_resources() argument 476 crocus_resource_access_raw(struct crocus_context *ice, struct crocus_resource *res, uint32_t level, uint32_t layer, uint32_t num_layers, bool write) crocus_resource_access_raw() argument 495 crocus_resource_texture_aux_usage(const struct crocus_resource *res) crocus_resource_texture_aux_usage() argument 507 crocus_resource_unfinished_aux_import(struct crocus_resource *res) crocus_resource_unfinished_aux_import() argument [all...] |
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/ |
H A D | save_trusted_info_test.cpp | 141 int32_t res = GenerateGroupParams(params, groupParams); in AddTrustedGroup() local 142 if (res != HC_SUCCESS) { in AddTrustedGroup() 144 return res; in AddTrustedGroup() 146 res = AddGroup(params->osAccountId, groupParams); in AddTrustedGroup() 148 return res; in AddTrustedGroup() 157 int32_t res = GenerateSelfDevParams(params, devParams); in AddSelfTrustedDevice() local 158 if (res != HC_SUCCESS) { in AddSelfTrustedDevice() 160 return res; in AddSelfTrustedDevice() 162 res = AddTrustedDevice(params->osAccountId, devParams); in AddSelfTrustedDevice() 164 return res; in AddSelfTrustedDevice() 169 int32_t res = AddTrustedGroup(params); CreatePeerToPeerGroup() local 225 int32_t res = InitDatabase(); HWTEST_F() local 273 int32_t res = InitDatabase(); HWTEST_F() local 362 int32_t res = self->start(nullptr, &out); HWTEST_F() local 372 int32_t res = self->start(self, nullptr); HWTEST_F() local 380 int32_t res = InitDatabase(); HWTEST_F() local 414 int32_t res = self->process(nullptr, &in, &out, &state); HWTEST_F() local 427 int32_t res = self->process(self, nullptr, &out, &state); HWTEST_F() local 440 int32_t res = self->process(self, &in, nullptr, &state); HWTEST_F() local 453 int32_t res = self->process(self, &in, &out, nullptr); HWTEST_F() local 469 int32_t res = self->process(self, &in, &out, &state); HWTEST_F() local 485 int32_t res = self->process(self, &in, &out, &state); HWTEST_F() local 500 int32_t res = self->process(self, failEvent, &out, &state); HWTEST_F() local 517 int32_t res = self->process(self, failEvent, &out, &state); HWTEST_F() local 534 int32_t res = self->process(self, invalidMsg, &out, &state); HWTEST_F() local 551 int32_t res = self->process(self, invalidMsg, &out, &state); HWTEST_F() local 568 int32_t res = self->process(self, invalidMsg, &out, &state); HWTEST_F() local 593 int32_t res = client->start(client, &clientOut); TestMemoryInner() local 623 int32_t res = InitDatabase(); TestMemoryException() local 652 int32_t res = InitDatabase(); TestMemoryException2() local 679 int32_t res = TestMemoryException(); HWTEST_F() local 696 int32_t res = TestMemoryException2(); HWTEST_F() local [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/ |
H A D | iso_auth_task_common.c | 73 int32_t res = InitSingleParam(¶ms->devIdSelf, DEV_AUTH_DEVICE_ID_SIZE); in FillPayload() local 74 if (res != HC_SUCCESS) { in FillPayload() 75 return res; in FillPayload() 104 res = InitSingleParam(¶ms->isoBaseParams.authIdSelf, params->isoBaseParams.authIdSelf.length); in FillPayload() 105 if (res != HC_SUCCESS) { in FillPayload() 106 return res; in FillPayload() 146 int32_t res = GetSymTokenManager()->generateKeyAlias(params->userIdSelf, (const char *)(params->devIdSelf.val), in GenerateAuthTokenForAccessory() local 148 if (res != HC_SUCCESS) { in GenerateAuthTokenForAccessory() 150 return res; in GenerateAuthTokenForAccessory() 152 res in GenerateAuthTokenForAccessory() 172 int32_t res = InitSingleParam(authTokenAlias, SHA256_LEN); GenerateTokenAliasForController() local 191 int32_t res; AccountAuthGeneratePsk() local 222 int32_t res = HC_ERR_JSON_GET; InitIsoAuthParams() local 337 int32_t res = InitSingleParam(&(params->isoBaseParams.authIdPeer), HcStrlen(payloadHex) / BYTE_TO_HEX_OPER_LENGTH); ExtractPeerAuthId() local 352 int32_t res = ExtractPeerAuthId(params, in); ExtractAndVerifyPayload() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uresdata.h | 68 #define RES_GET_TYPE(res) ((int32_t)((res)>>28UL)) 69 #define RES_GET_OFFSET(res) ((res)&0x0fffffff) 70 #define RES_GET_POINTER(pRoot, res) ((pRoot)+RES_GET_OFFSET(res)) 76 # define RES_GET_INT_NO_TRACE(res) (((int32_t)((res)<<4L))>>4L) 78 # define RES_GET_INT_NO_TRACE(res) (int32_t)(((res) 483 res_getString(const ResourceTracer& traceInfo, const ResourceData *pResData, Resource res, int32_t *pLength) res_getString() argument 489 res_getBinary(const ResourceTracer& traceInfo, const ResourceData *pResData, Resource res, int32_t *pLength) res_getBinary() argument 495 res_getIntVector(const ResourceTracer& traceInfo, const ResourceData *pResData, Resource res, int32_t *pLength) res_getIntVector() argument 501 res_getInt(const ResourceTracer& traceInfo, Resource res) res_getInt() argument 506 res_getUInt(const ResourceTracer& traceInfo, Resource res) res_getUInt() argument 548 Resource res; global() member in ResourceDataValue [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | amfenc_h264.c | 131 AMF_RESULT res = AMF_OK; in amf_encode_init_h264() local 152 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_USAGE, ctx->usage); in amf_encode_init_h264() 154 AMF_ASSIGN_PROPERTY_SIZE(res, ctx->encoder, AMF_VIDEO_ENCODER_FRAMESIZE, framesize); in amf_encode_init_h264() 156 AMF_ASSIGN_PROPERTY_RATE(res, ctx->encoder, AMF_VIDEO_ENCODER_FRAMERATE, framerate); in amf_encode_init_h264() 179 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_PROFILE, profile); in amf_encode_init_h264() 186 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_PROFILE_LEVEL, profile_level); in amf_encode_init_h264() 191 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_MAX_NUM_REFRAMES, avctx->refs); in amf_encode_init_h264() 195 AMF_ASSIGN_PROPERTY_RATIO(res, ctx->encoder, AMF_VIDEO_ENCODER_ASPECT_RATIO, ratio); in amf_encode_init_h264() 200 AMF_ASSIGN_PROPERTY_BOOL(res, ctx->encoder, AMF_VIDEO_ENCODER_FULL_RANGE_COLOR, 1); in amf_encode_init_h264() 218 AMF_ASSIGN_PROPERTY_INT64(res, ct in amf_encode_init_h264() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_kopper.c | 463 kopper_acquire(struct zink_screen *screen, struct zink_resource *res, uint64_t timeout) in kopper_acquire() argument 465 struct kopper_displaytarget *cdt = res->obj->dt; in kopper_acquire() 474 if (!res->obj->new_dt && res->obj->dt_idx != UINT32_MAX && in kopper_acquire() 475 (cdt->swapchain->images[res->obj->dt_idx].acquire || cdt->swapchain->images[res->obj->dt_idx].acquired)) in kopper_acquire() 480 if (res->obj->new_dt) { in kopper_acquire() 481 VkResult error = update_swapchain(screen, cdt, res->base.b.width0, res->base.b.height0); in kopper_acquire() 485 res in kopper_acquire() 535 kill_swapchain(struct zink_context *ctx, struct zink_resource *res) kill_swapchain() argument 558 zink_kopper_acquire(struct zink_context *ctx, struct zink_resource *res, uint64_t timeout) zink_kopper_acquire() argument 586 zink_kopper_acquire_submit(struct zink_screen *screen, struct zink_resource *res) zink_kopper_acquire_submit() argument 608 zink_kopper_present(struct zink_screen *screen, struct zink_resource *res) zink_kopper_present() argument 626 struct zink_resource *res; global() member 722 zink_kopper_present_queue(struct zink_screen *screen, struct zink_resource *res) zink_kopper_present_queue() argument 772 zink_kopper_acquire_readback(struct zink_context *ctx, struct zink_resource *res) zink_kopper_acquire_readback() argument 804 zink_kopper_present_readback(struct zink_context *ctx, struct zink_resource *res) zink_kopper_present_readback() argument 837 struct zink_resource *res = zink_resource(pres); zink_kopper_update() local 875 struct zink_resource *res = zink_resource(ctx->fb_state.zsbuf->texture); zink_kopper_fixup_depth_buffer() local 905 struct zink_resource *res = zink_resource(pres); zink_kopper_check() local 916 struct zink_resource *res = zink_resource(pres); zink_kopper_set_swap_interval() local 932 struct zink_resource *res = zink_resource(pres); zink_kopper_query_buffer_age() local [all...] |
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnndec.c | 36 struct rnndeccontext *res = calloc (sizeof *res, 1); in rnndec_newcontext() local 37 res->db = db; in rnndec_newcontext() 38 res->colors = &envy_null_colors; in rnndec_newcontext() 39 return res; in rnndec_newcontext() 161 char *res = 0; in rnndec_decodeval() local 189 asprintf (&res, "%s%s%s", ctx->colors->eval, ctmp, ctx->colors->reset); in rnndec_decodeval() 217 if (!res) in rnndec_decodeval() 218 asprintf (&res, "%s%s%s", color, bitfields[i]->name, ctx->colors->reset); in rnndec_decodeval() 220 asprintf (&tmp, "%s | %s%s%s", res, colo in rnndec_decodeval() 327 char *res; appendidx() local 371 struct rnndecaddrinfo *res; trymatch() local 473 struct rnndecaddrinfo *res = trymatch(ctx, domain->subelems, domain->subelemsnum, addr, write, domain->width, 0, 0); rnndec_checkaddr() local 482 struct rnndecaddrinfo *res = trymatch(ctx, domain->subelems, domain->subelemsnum, addr, write, domain->width, 0, 0); rnndec_decodeaddr() local [all...] |
/base/security/device_auth/services/frameworks/src/module/ |
H A D | dev_auth_module_manager.c | 89 int32_t res = dasModule->registerLocalIdentity(¶ms); in RegisterLocalIdentity() local 90 if (res != HC_SUCCESS) { in RegisterLocalIdentity() 91 LOGE("Register local identity failed, res: %x", res); in RegisterLocalIdentity() 92 return res; in RegisterLocalIdentity() 117 int32_t res = dasModule->unregisterLocalIdentity(¶ms); in UnregisterLocalIdentity() local 118 if (res != HC_SUCCESS) { in UnregisterLocalIdentity() 119 LOGE("Unregister local identity failed, res: %x", res); in UnregisterLocalIdentity() 120 return res; in UnregisterLocalIdentity() 145 int32_t res = dasModule->deletePeerAuthInfo(¶ms); DeletePeerAuthInfo() local 174 int32_t res = dasModule->getPublicKey(¶ms, returnPk); GetPublicKey() local 208 int32_t res = module->createTask(taskId, in, out); CreateTask() local 228 int32_t res = module->processTask(taskId, in, out, status); ProcessTask() local 255 int32_t res; InitModules() local 300 int32_t res = plugin->init(); AddAuthModulePlugin() local [all...] |
/third_party/lzma/C/ |
H A D | MtCoder.c | 93 SRes res;
in ThreadFunc2() local 110 res = MtProgress_GetError(&mtc->mtProgress);
in ThreadFunc2() 116 if (res == SZ_OK)
in ThreadFunc2() 125 res = SZ_ERROR_MEM;
in ThreadFunc2() 127 if (res == SZ_OK)
in ThreadFunc2() 129 res = SeqInStream_ReadMax(mtc->inStream, t->inBuf, &size);
in ThreadFunc2() 133 if (res != SZ_OK)
in ThreadFunc2() 135 mtc->readRes = res;
in ThreadFunc2() 137 MtProgress_SetError(&mtc->mtProgress, res);
in ThreadFunc2() 163 if (res in ThreadFunc2() 322 SRes res = ThreadFunc2(t); ThreadFunc() local 430 SRes res = SZ_OK; MtCoder_Code() local [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_resource.c | 84 struct lima_resource *res = lima_resource(pres); in lima_resource_create_scanout() local 85 res->scanout = scanout; in lima_resource_create_scanout() 91 setup_miptree(struct lima_resource *res, in setup_miptree() argument 95 struct pipe_resource *pres = &res->base; in setup_miptree() 122 res->levels[level].width = aligned_width; in setup_miptree() 123 res->levels[level].stride = stride; in setup_miptree() 124 res->levels[level].offset = size; in setup_miptree() 125 res->levels[level].layer_stride = util_format_get_stride(pres->format, align(width, 16)) * align(height, 16); in setup_miptree() 128 res->levels[level].layer_stride /= 4; in setup_miptree() 138 res in setup_miptree() 152 struct lima_resource *res; lima_resource_create_bo() local 227 struct lima_resource *res = lima_resource(pres); _lima_resource_create_with_modifiers() local 273 struct lima_resource *res = lima_resource(pres); lima_resource_destroy() local 308 struct lima_resource *res = CALLOC_STRUCT(lima_resource); lima_resource_from_handle() local 411 struct lima_resource *res = lima_resource(pres); lima_resource_get_handle() local 439 struct lima_resource *res = lima_resource(pres); lima_resource_get_param() local 496 struct lima_resource *res = lima_resource(pres); lima_resource_set_damage_region() local 607 struct lima_resource *res = lima_resource(pres); lima_transfer_map() local 708 lima_should_convert_linear(struct lima_resource *res, struct pipe_transfer *ptrans) lima_should_convert_linear() argument 745 struct lima_resource *res = lima_resource(ptrans->resource); lima_transfer_flush_region() local 798 struct lima_resource *res = lima_resource(ptrans->resource); lima_transfer_unmap() local 886 struct lima_resource *res = lima_resource(prsc); lima_texture_subdata() local [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | libc_network.cpp | 27 struct addrinfo *res; in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() local 29 int n = getaddrinfo("www.baidu.com", nullptr, nullptr, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() 34 freeaddrinfo(res); in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() 36 res = nullptr; in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() 43 struct addrinfo *res; in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() local 48 int n = getaddrinfo("127.0.0.1", nullptr, &hint, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() 53 freeaddrinfo(res); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() 55 res = nullptr; in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() 62 struct addrinfo *res; in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2() local 67 int n = getaddrinfo("127.0.0.1", nullptr, &hint, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2() 81 struct addrinfo *res; Bm_function_Getaddrinfo_Freeaddrinfo_intranet3() local 100 struct addrinfo *res; Bm_function_Getaddrinfo_Freeaddrinfo_intranet4() local 119 struct addrinfo *res; Bm_function_Getaddrinfo_Freeaddrinfo_intranet5() local 138 struct addrinfo *res; Bm_function_Getaddrinfo_Freeaddrinfo_intranet6() local 156 struct addrinfo *res; Bm_function_Getaddrinfo_Freeaddrinfo_intranet7() local [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib1532.c | 34 CURLcode res = CURLE_OK; in test() local 42 res = curl_easy_perform(curl); in test() 43 if(res) { in test() 45 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() 49 res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpcode); in test() 50 if(res) { in test() 52 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() 58 res in test() [all...] |
/third_party/lwip/src/apps/mdns/ |
H A D | mdns.c | 378 u16_t res; in mdns_readname_loop() local 380 res = mdns_readname_loop(p, jumpaddr, domain, depth + 1); in mdns_readname_loop() 382 if (res == MDNS_READNAME_ERROR) { in mdns_readname_loop() 383 return res; in mdns_readname_loop() 393 err_t res; in mdns_readname_loop() local 398 res = mdns_domain_add_label_pbuf(domain, p, offset, c); in mdns_readname_loop() 399 if (res != ERR_OK) { in mdns_readname_loop() 459 int res; in mdns_domain_eq() local 474 res = lwip_strnicmp((char *) ptra, (char *) ptrb, len); in mdns_domain_eq() 475 if (res ! in mdns_domain_eq() 512 err_t res; mdns_build_reverse_v4_domain() local 552 err_t res; mdns_build_reverse_v6_domain() local 590 err_t res = mdns_domain_add_label(domain, TOPDOMAIN_LOCAL, (u8_t)(sizeof(TOPDOMAIN_LOCAL) - 1)); mdns_add_dotlocal() local 605 err_t res; mdns_build_host_domain() local 622 err_t res; mdns_build_dnssd_domain() local 646 err_t res; mdns_build_service_domain() local 671 err_t res; check_host() local 738 err_t res; check_service() local 840 err_t res; mdns_write_domain() local 904 err_t res; mdns_add_question() local 976 err_t res; mdns_add_answer() local 1091 err_t res; mdns_read_question() local 1133 err_t res; mdns_read_answer() local 1312 err_t res = ERR_ARG; mdns_send_outpacket() local 1568 err_t res; mdns_handle_question() local 1790 err_t res; mdns_handle_response() local 1801 err_t res; mdns_handle_response() local 1954 err_t res; mdns_send_probe() local 2062 err_t res; mdns_resp_add_netif() local 2383 err_t res; mdns_resp_init() local [all...] |
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_stub_test/ |
H A D | ans_subscriber_stub_unit_test.cpp | 85 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 86 EXPECT_EQ(res, OBJECT_NULL) << "descriptor error"; in HWTEST_F() 105 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 106 EXPECT_TRUE(res != NO_ERROR); in HWTEST_F() 122 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 123 EXPECT_EQ(res, NO_ERROR); in HWTEST_F() 136 ErrCode res = stub_->HandleOnConnected(data, reply); in HWTEST_F() local 137 EXPECT_EQ(res, ERR_OK); in HWTEST_F() 150 ErrCode res = stub_->HandleOnDisconnected(data, reply); in HWTEST_F() local 151 EXPECT_EQ(res, ERR_O in HWTEST_F() 164 ErrCode res = stub_->HandleOnConsumedMap(data, reply); HWTEST_F() local 182 ErrCode res = stub_->HandleOnConsumedMap(data, reply); HWTEST_F() local 201 ErrCode res = stub_->HandleOnConsumedMap(data, reply); HWTEST_F() local 222 ErrCode res = stub_->HandleOnConsumedMap(data, reply); HWTEST_F() local 236 ErrCode res = stub_->HandleOnConsumedListMap(data, reply); HWTEST_F() local 261 ErrCode res = stub_->HandleOnConsumedListMap(data, reply); HWTEST_F() local 289 ErrCode res = stub_->HandleOnConsumedListMap(data, reply); HWTEST_F() local 319 ErrCode res = stub_->HandleOnConsumedListMap(data, reply); HWTEST_F() local 333 ErrCode res = stub_->HandleOnCanceledMap(data, reply); HWTEST_F() local 350 ErrCode res = stub_->HandleOnCanceledMap(data, reply); HWTEST_F() local 369 ErrCode res = stub_->HandleOnCanceledMap(data, reply); HWTEST_F() local 390 ErrCode res = stub_->HandleOnCanceledMap(data, reply); HWTEST_F() local 413 ErrCode res = stub_->HandleOnCanceledMap(data, reply); HWTEST_F() local 427 ErrCode res = stub_->HandleOnUpdated(data, reply); HWTEST_F() local 444 ErrCode res = stub_->HandleOnUpdated(data, reply); HWTEST_F() local 458 ErrCode res = stub_->HandleOnDoNotDisturbDateChange(data, reply); HWTEST_F() local 475 ErrCode res = stub_->HandleOnDoNotDisturbDateChange(data, reply); HWTEST_F() local 489 ErrCode res = stub_->HandleOnEnabledNotificationChanged(data, reply); HWTEST_F() local 506 ErrCode res = stub_->HandleOnEnabledNotificationChanged(data, reply); HWTEST_F() local 521 ErrCode res = stub_->HandleOnBadgeChanged(data, reply); HWTEST_F() local 539 ErrCode res = stub_->HandleOnBadgeChanged(data, reply); HWTEST_F() local 552 ErrCode res = stub_->HandleOnBadgeChanged(data, reply); HWTEST_F() local 571 ErrCode res = stub_->HandleOnBadgeChanged(data, reply); HWTEST_F() local [all...] |
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/ |
H A D | expand_sub_session.c | 108 int32_t res = GetLoaderInstance()->aesGcmEncrypt(&keyParams, rawData, &gcmParam, &encData); in EncryptMsg() local 109 if (res != HC_SUCCESS) { in EncryptMsg() 112 return res; in EncryptMsg() 131 int32_t res = GetLoaderInstance()->aesGcmDecrypt(&keyParams, encData, &gcmParam, &rawData); in DecryptMsg() local 132 if (res != HC_SUCCESS) { in DecryptMsg() 135 return res; in DecryptMsg() 170 int32_t res = GetRecvEncData(receviedMsg, &recvEncData); in GetRecvCmdList() local 171 if (res != HC_SUCCESS) { in GetRecvCmdList() 172 return res; in GetRecvCmdList() 175 res in GetRecvCmdList() 220 int32_t res = cmd->process(cmd, recvCmdData, &sendCmdData, &cmdState); ProcCmd() local 256 int32_t res = ProcCmd(cmd, recvCmdData, sendCmdList, &isFinish); ProcRecvCmd() local 275 int32_t res = GetRecvCmdList(impl, receviedMsg, &recvCmdList); ProcAllRecvCmds() local 295 int32_t res = cmd->start(cmd, &sendCmdData); StartCmd() local 318 int32_t res = StartCmd(cmd, sendCmdList); StartNewCmds() local 335 int32_t res = EncryptMsg(impl, &sendRawData, &sendEncData); BuildEncData() local 373 int32_t res = BuildEncData(impl, sendCmdList, sendMsg); PackSendMsg() local 434 int32_t res = StartNewCmds(impl, sendCmdList); StartExpandSubSession() local 467 int32_t res; ProcessExpandSubSession() local [all...] |
/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | i18n_test.cpp | 317 int32_t res = brkIterator.Current(); in HWTEST_F() local 318 EXPECT_EQ(res, 0); in HWTEST_F() 319 res = brkIterator.First(); in HWTEST_F() 320 EXPECT_EQ(res, 0); in HWTEST_F() 321 res = brkIterator.Last(); in HWTEST_F() 322 EXPECT_EQ(res, 0); in HWTEST_F() 323 res = brkIterator.Previous(); in HWTEST_F() 324 EXPECT_EQ(res, -1); in HWTEST_F() 326 res = brkIterator.Next(offset); in HWTEST_F() 327 EXPECT_EQ(res, in HWTEST_F() 612 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 630 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 650 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 668 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 686 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 702 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 718 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 738 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 758 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 776 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 796 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 812 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 832 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 850 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 868 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 886 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 906 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 924 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 942 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 962 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 982 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1000 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1020 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1042 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1062 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1082 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1098 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1119 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1139 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1160 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1182 std::vector<std::vector<int>> res = m->FindEntityInfo(message); HWTEST_F() local 1394 int8_t res = LocaleMatcher::IsMoreSuitable(current, other, request); HWTEST_F() local [all...] |
/third_party/node/deps/npm/test/lib/utils/ |
H A D | sbom-cyclonedx.js | 75 const res = cyclonedxOutput({ npm, nodes: [root], packageType: 'application' }) 76 t.matchSnapshot(JSON.stringify(res)) 81 const res = cyclonedxOutput({ npm, nodes: [root], packageLockOnly: true }) 82 t.matchSnapshot(JSON.stringify(res)) 88 const res = cyclonedxOutput({ npm, nodes: [node] }) 89 t.matchSnapshot(JSON.stringify(res)) 96 const res = cyclonedxOutput({ npm, nodes: [node] }) 97 t.matchSnapshot(JSON.stringify(res)) 104 const res = cyclonedxOutput({ npm, nodes: [node] }) 105 t.matchSnapshot(JSON.stringify(res)) [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/ |
H A D | pake_v1_server_task.c | 57 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in CreateAndProcessNextBindTask() local 58 if (res != HC_SUCCESS) { in CreateAndProcessNextBindTask() 61 return res; in CreateAndProcessNextBindTask() 66 int res = HC_SUCCESS; in CreateNextTask() local 73 res = CreateAndProcessNextBindTask(realTask, in, out, status); in CreateNextTask() 80 res = HC_ERR_NOT_SUPPORT; in CreateNextTask() 82 if (res != HC_SUCCESS) { in CreateNextTask() 83 LOGE("Create and process next task failed, opcode: %d, res: %d.", realTask->params.opCode, res); in CreateNextTask() 84 return res; in CreateNextTask() 108 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); Process() local 131 int res = InitDasPakeV1Params(&(task->params), in); CreatePakeV1ServerTask() local [all...] |
H A D | pake_v1_client_task.c | 57 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in CreateAndProcessNextBindTask() local 58 if (res != HC_SUCCESS) { in CreateAndProcessNextBindTask() 61 return res; in CreateAndProcessNextBindTask() 66 int res = HC_SUCCESS; in CreateNextTask() local 73 res = CreateAndProcessNextBindTask(realTask, in, out, status); in CreateNextTask() 80 res = HC_ERR_NOT_SUPPORT; in CreateNextTask() 82 if (res != HC_SUCCESS) { in CreateNextTask() 83 LOGE("Create and process next task failed, opcode: %d, res: %d.", realTask->params.opCode, res); in CreateNextTask() 84 return res; in CreateNextTask() 108 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); Process() local 131 int res = InitDasPakeV1Params(&(task->params), in); CreatePakeV1ClientTask() local [all...] |