/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_shader.c | 36 struct vmw_resource res; member 49 struct vmw_resource res; member 57 static void vmw_user_shader_free(struct vmw_resource *res); 61 static int vmw_gb_shader_create(struct vmw_resource *res); 62 static int vmw_gb_shader_bind(struct vmw_resource *res, 64 static int vmw_gb_shader_unbind(struct vmw_resource *res, 67 static int vmw_gb_shader_destroy(struct vmw_resource *res); 69 static int vmw_dx_shader_create(struct vmw_resource *res); 70 static int vmw_dx_shader_bind(struct vmw_resource *res, 72 static int vmw_dx_shader_unbind(struct vmw_resource *res, 131 vmw_res_to_shader(struct vmw_resource *res) vmw_res_to_shader() argument 143 vmw_res_to_dx_shader(struct vmw_resource *res) vmw_res_to_dx_shader() argument 148 vmw_hw_shader_destroy(struct vmw_resource *res) vmw_hw_shader_destroy() argument 157 vmw_gb_shader_init(struct vmw_private *dev_priv, struct vmw_resource *res, uint32_t size, uint64_t offset, SVGA3dShaderType type, uint8_t num_input_sig, uint8_t num_output_sig, struct vmw_bo *byte_code, void (*res_free) (struct vmw_resource *res)) vmw_gb_shader_init() argument 199 vmw_gb_shader_create(struct vmw_resource *res) vmw_gb_shader_create() argument 245 vmw_gb_shader_bind(struct vmw_resource *res, struct ttm_validate_buffer *val_buf) vmw_gb_shader_bind() argument 272 vmw_gb_shader_unbind(struct vmw_resource *res, bool readback, struct ttm_validate_buffer *val_buf) vmw_gb_shader_unbind() argument 311 vmw_gb_shader_destroy(struct vmw_resource *res) vmw_gb_shader_destroy() argument 354 vmw_dx_shader_commit_notify(struct vmw_resource *res, enum vmw_cmdbuf_res_state state) vmw_dx_shader_commit_notify() argument 383 vmw_dx_shader_unscrub(struct vmw_resource *res) vmw_dx_shader_unscrub() argument 420 vmw_dx_shader_create(struct vmw_resource *res) vmw_dx_shader_create() argument 445 vmw_dx_shader_bind(struct vmw_resource *res, struct ttm_validate_buffer *val_buf) vmw_dx_shader_bind() argument 469 vmw_dx_shader_scrub(struct vmw_resource *res) vmw_dx_shader_scrub() argument 506 vmw_dx_shader_unbind(struct vmw_resource *res, bool readback, struct ttm_validate_buffer *val_buf) vmw_dx_shader_unbind() argument 566 vmw_dx_shader_res_free(struct vmw_resource *res) vmw_dx_shader_res_free() argument 591 struct vmw_resource *res; vmw_dx_shader_add() local 647 vmw_user_shader_free(struct vmw_resource *res) vmw_user_shader_free() argument 655 vmw_shader_free(struct vmw_resource *res) vmw_shader_free() argument 670 struct vmw_resource *res = vmw_user_shader_base_to_res(base); vmw_user_shader_base_release() local 696 struct vmw_resource *res, *tmp; vmw_user_shader_alloc() local 746 struct vmw_resource *res; vmw_shader_alloc() local 893 struct vmw_resource *res; vmw_compat_shader_add() local [all...] |
H A D | vmwgfx_streamoutput.c | 38 * @res: Base resource struct. 39 * @ctx: Non-refcounted context to which @res belong. 47 struct vmw_resource res; member 56 static int vmw_dx_streamoutput_create(struct vmw_resource *res); 57 static int vmw_dx_streamoutput_bind(struct vmw_resource *res, 59 static int vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback, 61 static void vmw_dx_streamoutput_commit_notify(struct vmw_resource *res, 79 vmw_res_to_dx_streamoutput(struct vmw_resource *res) in vmw_res_to_dx_streamoutput() argument 81 return container_of(res, struct vmw_dx_streamoutput, res); in vmw_res_to_dx_streamoutput() 90 vmw_dx_streamoutput_unscrub(struct vmw_resource *res) vmw_dx_streamoutput_unscrub() argument 119 vmw_dx_streamoutput_create(struct vmw_resource *res) vmw_dx_streamoutput_create() argument 138 vmw_dx_streamoutput_bind(struct vmw_resource *res, struct ttm_validate_buffer *val_buf) vmw_dx_streamoutput_bind() argument 161 vmw_dx_streamoutput_scrub(struct vmw_resource *res) vmw_dx_streamoutput_scrub() argument 193 vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback, struct ttm_validate_buffer *val_buf) vmw_dx_streamoutput_unbind() argument 219 vmw_dx_streamoutput_commit_notify(struct vmw_resource *res, enum vmw_cmdbuf_res_state state) vmw_dx_streamoutput_commit_notify() argument 255 vmw_dx_streamoutput_res_free(struct vmw_resource *res) vmw_dx_streamoutput_res_free() argument 263 vmw_dx_streamoutput_hw_destroy(struct vmw_resource *res) vmw_dx_streamoutput_hw_destroy() argument 283 struct vmw_resource *res; vmw_dx_streamoutput_add() local 324 vmw_dx_streamoutput_set_size(struct vmw_resource *res, u32 size) vmw_dx_streamoutput_set_size() argument [all...] |
/base/security/crypto_framework/test/unittest/src/ |
H A D | alg_25519_common_param_spec.c | 52 HcfResult res = HCF_ERR_CRYPTO_OPERATION; in ConstructAlg25519KeyPairParamsSpec() local 55 return res; in ConstructAlg25519KeyPairParamsSpec() 61 return res; in ConstructAlg25519KeyPairParamsSpec() 69 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, ED25519_PK_BN, &retBigInt); in ConstructAlg25519KeyPairParamsSpec() 71 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, X25519_PK_BN, &retBigInt); in ConstructAlg25519KeyPairParamsSpec() 73 if (res == HCF_SUCCESS) { in ConstructAlg25519KeyPairParamsSpec() 77 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, ED25519_SK_BN, &retBigInt); in ConstructAlg25519KeyPairParamsSpec() 79 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, X25519_SK_BN, &retBigInt); in ConstructAlg25519KeyPairParamsSpec() 81 if (res == HCF_SUCCESS) { in ConstructAlg25519KeyPairParamsSpec() 91 if (res ! in ConstructAlg25519KeyPairParamsSpec() 131 HcfResult res = HCF_ERR_CRYPTO_OPERATION; ConstructAlg25519PubKeyParamsSpec() local 196 HcfResult res = HCF_ERR_CRYPTO_OPERATION; ConstructAlg25519PriKeyParamsSpec() local 231 HcfResult res = HcfAsyKeyGeneratorCreate(algName, generator); TestHcfAsyKeyGeneratorCreate() local 243 HcfResult res = generator->generateKeyPair(generator, NULL, keyPair); TestGenerateKeyPair() local 255 HcfResult res = TestHcfAsyKeyGeneratorCreate(algName, generator); TestKeyGeneratorAndGenerateKeyPair() local 269 HcfResult res = generator->convertKey(generator, NULL, pubKeyBlob, priKeyBlob, keyPair); TestGenerateConvertKey() local 282 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(algName, generator, keyPair); TestGenerateKeyPairAndConvertKey() local 298 HcfResult res = ConstructAlg25519KeyPairParamsSpec(algName, choose, paramSpec); TestCreateKeyPairParamsSpecAndGeneratorBySpec() local 318 HcfResult res = ConstructAlg25519PubKeyParamsSpec(algName, choose, paramSpec); TestCreatePubKeyParamsSpecAndGeneratorBySpec() local 338 HcfResult res = ConstructAlg25519PriKeyParamsSpec(algName, choose, paramSpec); TestCreatePriKeyParamsSpecAndGeneratorBySpec() local [all...] |
H A D | crypto_ed25519_asy_key_generator_by_spec_test.cpp | 69 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, in HWTEST_F() local 71 ASSERT_EQ(res, HCF_SUCCESS); in HWTEST_F() 80 HcfResult res = TestCreatePubKeyParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, in HWTEST_F() local 82 ASSERT_EQ(res, HCF_SUCCESS); in HWTEST_F() 91 HcfResult res = TestCreatePriKeyParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, in HWTEST_F() local 93 ASSERT_EQ(res, HCF_SUCCESS); in HWTEST_F() 102 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, in HWTEST_F() local 104 ASSERT_EQ(res, HCF_SUCCESS); in HWTEST_F() 118 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, in HWTEST_F() local 120 ASSERT_EQ(res, HCF_SUCCES in HWTEST_F() 131 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 148 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 167 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 190 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 209 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 231 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 251 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 282 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 303 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 324 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 354 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 379 HcfResult res = TestCreatePubKeyParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 423 HcfResult res = TestCreateKeyPairParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 471 HcfResult res = HcfAsyKeyGeneratorSpiEd25519Create(¶ms, &returnSpi); HWTEST_F() local 487 HcfResult res = HcfAsyKeyGeneratorSpiEd25519Create(¶ms, &returnSpi); HWTEST_F() local 516 HcfResult res = HcfAsyKeyGeneratorSpiEd25519Create(¶ms, &returnSpi); HWTEST_F() local 545 HcfResult res = HcfAsyKeyGeneratorSpiEd25519Create(¶ms, &returnSpi); HWTEST_F() local 569 HcfResult res = TestCreatePubKeyParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 594 HcfResult res = TestCreatePriKeyParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 617 HcfResult res = HcfAsyKeyGeneratorCreate(g_ed25519AlgoName.c_str(), &generator); HWTEST_F() local 664 HcfResult res = HcfAsyKeyGeneratorCreate(g_ed25519AlgoName.c_str(), &generator); HWTEST_F() local 713 HcfResult res = TestCreatePriKeyParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local 748 HcfResult res = TestCreatePubKeyParamsSpecAndGeneratorBySpec(g_ed25519AlgoName.c_str(), true, HWTEST_F() local [all...] |
H A D | crypto_x25519_asy_key_generator_test.cpp | 63 HcfResult res = HcfAsyKeyGeneratorCreate("X25519", &generator); in X25519KeyBlob() local 64 if (res != HCF_SUCCESS) { in X25519KeyBlob() 65 return res; in X25519KeyBlob() 69 res = generator->generateKeyPair(generator, nullptr, &keyPair); in X25519KeyBlob() 70 if (res != HCF_SUCCESS) { in X25519KeyBlob() 72 return res; in X25519KeyBlob() 74 res = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &g_mockX25519PriKeyBlob); in X25519KeyBlob() 75 if (res != HCF_SUCCESS) { in X25519KeyBlob() 78 return res; in X25519KeyBlob() 80 res in X25519KeyBlob() 93 HcfResult res = X25519KeyBlob(&g_mockX25519PriKeyBlob, &g_mockX25519PubKeyBlob); SetUpTestCase() local 100 HcfResult res = TestHcfAsyKeyGeneratorCreate(g_x25519AlgoName.c_str(), &generator); HWTEST_F() local 109 HcfResult res = HcfAsyKeyGeneratorCreate("X25519", &generator); HWTEST_F() local 122 HcfResult res = TestHcfAsyKeyGeneratorCreate(g_x25519AlgoName.c_str(), &generator); HWTEST_F() local 131 HcfResult res = TestHcfAsyKeyGeneratorCreate(g_x25519AlgoName.c_str(), &generator); HWTEST_F() local 146 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 157 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 171 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 182 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 196 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 210 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 233 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 247 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 261 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 284 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 302 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 322 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 337 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 348 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 363 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 378 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 403 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 418 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 433 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 458 HcfResult res = TestGenerateKeyPairAndConvertKey(g_x25519AlgoName.c_str(), &generator, &g_mockX25519PubKeyBlob, HWTEST_F() local 480 HcfResult res = HcfAsyKeyGeneratorCreate("X25519", &tmpGenerator); MemoryMallocTestFunc() local 528 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local 566 HcfResult res = HcfAsyKeyGeneratorCreate("X25519", &tmpGenerator); OpensslMockTestFunc() local 614 HcfResult res = TestKeyGeneratorAndGenerateKeyPair(g_x25519AlgoName.c_str(), &generator, &keyPair); HWTEST_F() local [all...] |
H A D | crypto_brainpool_key_agreement_test.cpp | 57 HcfResult res = HcfKeyAgreementCreate(algName, &keyAgreement); in HcfKeyAgreementCreateTest() local 58 if (res == HCF_SUCCESS) { in HcfKeyAgreementCreateTest() 61 return res; in HcfKeyAgreementCreateTest() 66 HcfResult res = HcfKeyAgreementCreateTest("ECC_BrainPoolP160r1"); in HWTEST_F() local 67 ASSERT_EQ(res, HCF_SUCCESS); in HWTEST_F() 72 HcfResult res = HcfKeyAgreementCreateTest(nullptr); in HWTEST_F() local 73 ASSERT_NE(res, HCF_SUCCESS); in HWTEST_F() 78 HcfResult res = HcfKeyAgreementCreateTest("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCD" in HWTEST_F() local 80 ASSERT_NE(res, HCF_SUCCESS); in HWTEST_F() 85 HcfResult res in HWTEST_F() local 91 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP512t1", nullptr); HWTEST_F() local 98 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 111 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 121 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 133 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 145 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 158 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 171 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 184 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 209 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 234 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 259 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 284 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); HWTEST_F() local 303 HcfResult res = HcfAsyKeyGeneratorCreate("ECC_BrainPoolP160r1", &generator); HWTEST_F() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | shader_query.cpp | 45 program_resource_location(struct gl_program_resource *res, 53 const type * RESOURCE_ ## name (gl_program_resource *res) { \ 54 assert(res->Data); \ 55 return (type *) res->Data; \ 188 struct gl_program_resource *res = in _mesa_GetActiveAttrib() local 193 if (!res) { in _mesa_GetActiveAttrib() 198 const gl_shader_variable *const var = RESOURCE_VAR(res); in _mesa_GetActiveAttrib() 205 _mesa_program_resource_prop(shProg, res, desired_index, GL_ARRAY_SIZE, in _mesa_GetActiveAttrib() 209 _mesa_program_resource_prop(shProg, res, desired_index, GL_TYPE, in _mesa_GetActiveAttrib() 239 struct gl_program_resource *res in _mesa_GetAttribLocation() local 257 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_count_active_attribs() local 277 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_longest_attribute_name_length() local 448 struct gl_program_resource *res = _mesa_GetFragDataLocation() local 459 _mesa_program_resource_name(struct gl_program_resource *res) _mesa_program_resource_name() argument 494 _mesa_program_resource_name_length(struct gl_program_resource *res) _mesa_program_resource_name_length() argument 529 _mesa_program_get_resource_name(struct gl_program_resource *res, struct gl_resource_name *out) _mesa_program_get_resource_name() argument 573 _mesa_program_resource_array_size(struct gl_program_resource *res) _mesa_program_resource_array_size() argument 683 struct gl_program_resource *res = _mesa_program_resource_find_name() local 815 struct gl_program_resource *res = shProg->data->ProgramResourceList; program_resource_find_binding_offset() local 879 struct gl_program_resource *res; _mesa_program_resource_find_active_variable() local 900 calc_resource_index(struct gl_shader_program *shProg, struct gl_program_resource *res) calc_resource_index() argument 918 _mesa_program_resource_index(struct gl_shader_program *shProg, struct gl_program_resource *res) _mesa_program_resource_index() argument 949 struct gl_program_resource *res = shProg->data->ProgramResourceList; program_resource_find_data() local 964 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_program_resource_find_index() local 1025 add_index_to_name(struct gl_program_resource *res) add_index_to_name() argument 1037 _mesa_program_resource_name_length_array(struct gl_program_resource *res) _mesa_program_resource_name_length_array() argument 1064 struct gl_program_resource *res = _mesa_get_program_resource_name() local 1110 program_resource_location(struct gl_program_resource *res, unsigned array_index) program_resource_location() argument 1190 struct gl_program_resource *res = _mesa_program_resource_location() local 1202 _get_resource_location_index(struct gl_program_resource *res) _get_resource_location_index() argument 1226 struct gl_program_resource *res = _mesa_program_resource_location_index() local 1259 is_resource_referenced(struct gl_shader_program *shProg, struct gl_program_resource *res, GLuint index, uint8_t stage) is_resource_referenced() argument 1280 get_buffer_property(struct gl_shader_program *shProg, struct gl_program_resource *res, const GLenum prop, GLint *val, bool glthread, const char *caller) get_buffer_property() argument 1438 _mesa_program_resource_prop(struct gl_shader_program *shProg, struct gl_program_resource *res, GLuint index, const GLenum prop, GLint *val, bool glthread, const char *caller) _mesa_program_resource_prop() argument 1711 struct gl_program_resource *res = _mesa_get_program_resourceiv() local 1911 struct gl_program_resource *res = validate_io() local 1932 struct gl_program_resource *res = validate_io() local 2154 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_create_program_resource_hash() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
H A D | pcie-qcom.c | 239 union qcom_pcie_resources res; member 301 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0; in qcom_pcie_get_resources_2_1_0() local 307 res->supplies[0].supply = "vdda"; in qcom_pcie_get_resources_2_1_0() 308 res->supplies[1].supply = "vdda_phy"; in qcom_pcie_get_resources_2_1_0() 309 res->supplies[2].supply = "vdda_refclk"; in qcom_pcie_get_resources_2_1_0() 310 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(res->supplies), in qcom_pcie_get_resources_2_1_0() 311 res->supplies); in qcom_pcie_get_resources_2_1_0() 315 res->clks[0].id = "iface"; in qcom_pcie_get_resources_2_1_0() 316 res in qcom_pcie_get_resources_2_1_0() 349 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0; qcom_pcie_deinit_2_1_0() local 361 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0; qcom_pcie_init_2_1_0() local 391 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0; qcom_pcie_post_init_2_1_0() local 451 struct qcom_pcie_resources_1_0_0 *res = &pcie->res.v1_0_0; qcom_pcie_get_resources_1_0_0() local 475 struct qcom_pcie_resources_1_0_0 *res = &pcie->res.v1_0_0; qcom_pcie_deinit_1_0_0() local 484 struct qcom_pcie_resources_1_0_0 *res = &pcie->res.v1_0_0; qcom_pcie_init_1_0_0() local 546 struct qcom_pcie_resources_2_3_2 *res = &pcie->res.v2_3_2; qcom_pcie_get_resources_2_3_2() local 572 struct qcom_pcie_resources_2_3_2 *res = &pcie->res.v2_3_2; qcom_pcie_deinit_2_3_2() local 580 struct qcom_pcie_resources_2_3_2 *res = &pcie->res.v2_3_2; qcom_pcie_init_2_3_2() local 633 struct qcom_pcie_resources_2_4_0 *res = &pcie->res.v2_4_0; qcom_pcie_get_resources_2_4_0() local 675 struct qcom_pcie_resources_2_4_0 *res = &pcie->res.v2_4_0; qcom_pcie_deinit_2_4_0() local 683 struct qcom_pcie_resources_2_4_0 *res = &pcie->res.v2_4_0; qcom_pcie_init_2_4_0() local 715 struct qcom_pcie_resources_2_3_3 *res = &pcie->res.v2_3_3; qcom_pcie_get_resources_2_3_3() local 747 struct qcom_pcie_resources_2_3_3 *res = &pcie->res.v2_3_3; qcom_pcie_deinit_2_3_3() local 754 struct qcom_pcie_resources_2_3_3 *res = &pcie->res.v2_3_3; qcom_pcie_init_2_3_3() local 837 struct qcom_pcie_resources_2_7_0 *res = &pcie->res.v2_7_0; qcom_pcie_get_resources_2_7_0() local 891 struct qcom_pcie_resources_2_7_0 *res = &pcie->res.v2_7_0; qcom_pcie_init_2_7_0() local 971 struct qcom_pcie_resources_2_7_0 *res = &pcie->res.v2_7_0; qcom_pcie_deinit_2_7_0() local 1056 struct qcom_pcie_resources_2_9_0 *res = &pcie->res.v2_9_0; qcom_pcie_get_resources_2_9_0() local 1080 struct qcom_pcie_resources_2_9_0 *res = &pcie->res.v2_9_0; qcom_pcie_deinit_2_9_0() local 1087 struct qcom_pcie_resources_2_9_0 *res = &pcie->res.v2_9_0; qcom_pcie_init_2_9_0() local 1453 struct resource *res; qcom_pcie_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | rx_res.h | 25 int mlx5e_rx_res_init(struct mlx5e_rx_res *res, struct mlx5_core_dev *mdev, 29 void mlx5e_rx_res_destroy(struct mlx5e_rx_res *res); 30 void mlx5e_rx_res_free(struct mlx5e_rx_res *res); 33 u32 mlx5e_rx_res_get_tirn_direct(struct mlx5e_rx_res *res, unsigned int ix); 34 u32 mlx5e_rx_res_get_tirn_rss(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt); 35 u32 mlx5e_rx_res_get_tirn_rss_inner(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt); 36 u32 mlx5e_rx_res_get_tirn_ptp(struct mlx5e_rx_res *res); 39 void mlx5e_rx_res_channels_activate(struct mlx5e_rx_res *res, struct mlx5e_channels *chs); 40 void mlx5e_rx_res_channels_deactivate(struct mlx5e_rx_res *res); 41 void mlx5e_rx_res_xsk_update(struct mlx5e_rx_res *res, struc [all...] |
/third_party/lwip/test/unit/mdns/ |
H A D | test_mdns.c | 374 err_t res; in START_TEST() local 378 res = mdns_domain_add_label(&domain, "multi", 5); in START_TEST() 379 fail_unless(res == ERR_OK); in START_TEST() 380 res = mdns_domain_add_label(&domain, "cast", 4); in START_TEST() 381 fail_unless(res == ERR_OK); in START_TEST() 382 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST() 383 fail_unless(res == ERR_OK); in START_TEST() 393 err_t res; in START_TEST() local 397 res = mdns_domain_add_label(&domain, "multi", 5); in START_TEST() 398 fail_unless(res in START_TEST() 408 err_t res; START_TEST() local 460 err_t res; START_TEST() local 487 err_t res; START_TEST() local 513 err_t res; START_TEST() local 541 err_t res; START_TEST() local 571 err_t res; START_TEST() local 602 err_t res; START_TEST() local 637 err_t res; START_TEST() local 674 err_t res; START_TEST() local 709 err_t res; START_TEST() local 743 err_t res; START_TEST() local 778 err_t res; START_TEST() local 815 err_t res; START_TEST() local 855 err_t res; START_TEST() local [all...] |
/third_party/node/deps/npm/node_modules/npm-registry-fetch/lib/ |
H A D | check-response.js | 12 async ({ method, uri, res, startTime, auth, opts }) => { 14 if (res.headers.has('npm-notice') && !res.headers.has('x-local-cache')) { 15 log.notice('', res.headers.get('npm-notice')) 18 if (res.status >= 400) { 19 logRequest(method, res, startTime) 31 return checkErrors(method, res, startTime, opts) 33 res.body.on('end', () => logRequest(method, res, startTime, opts)) 35 res [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_resource.c | 22 #define NFP_RESOURCE_TBL_NAME "nfp.res" 69 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find() argument 78 if (!strcmp(res->name, NFP_RESOURCE_TBL_NAME)) { in nfp_cpp_resource_find() 82 key = crc32_posix(res->name, NFP_RESOURCE_ENTRY_NAME_SZ); in nfp_cpp_resource_find() 96 res->mutex = in nfp_cpp_resource_find() 99 res->cpp_id = NFP_CPP_ID(entry.region.cpp_target, in nfp_cpp_resource_find() 102 res->addr = (u64)entry.region.page_offset << 8; in nfp_cpp_resource_find() 103 res->size = (u64)entry.region.page_size << 8; in nfp_cpp_resource_find() 112 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire() argument 120 err = nfp_cpp_resource_find(cpp, res); in nfp_resource_try_acquire() 155 struct nfp_resource *res; nfp_resource_acquire() local 213 nfp_resource_release(struct nfp_resource *res) nfp_resource_release() argument 235 struct nfp_resource *res; nfp_resource_wait() local 271 nfp_resource_cpp_id(struct nfp_resource *res) nfp_resource_cpp_id() argument 282 nfp_resource_name(struct nfp_resource *res) nfp_resource_name() argument 293 nfp_resource_address(struct nfp_resource *res) nfp_resource_address() argument 304 nfp_resource_size(struct nfp_resource *res) nfp_resource_size() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | kstrtox.c | 53 unsigned long long res; in _parse_integer_limit() local 56 res = 0; in _parse_integer_limit() 76 if (unlikely(res & (~0ull << 60))) { in _parse_integer_limit() 77 if (res > div_u64(ULLONG_MAX - val, base)) in _parse_integer_limit() 80 res = res * base + val; in _parse_integer_limit() 84 *p = res; in _parse_integer_limit() 93 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull() argument 109 *res = _res; in _kstrtoull() 123 * @res 128 kstrtoull(const char *s, unsigned int base, unsigned long long *res) kstrtoull() argument 151 kstrtoll(const char *s, unsigned int base, long long *res) kstrtoll() argument 176 _kstrtoul(const char *s, unsigned int base, unsigned long *res) _kstrtoul() argument 192 _kstrtol(const char *s, unsigned int base, long *res) _kstrtol() argument 222 kstrtouint(const char *s, unsigned int base, unsigned int *res) kstrtouint() argument 252 kstrtoint(const char *s, unsigned int base, int *res) kstrtoint() argument 267 kstrtou16(const char *s, unsigned int base, u16 *res) kstrtou16() argument 282 kstrtos16(const char *s, unsigned int base, s16 *res) kstrtos16() argument 297 kstrtou8(const char *s, unsigned int base, u8 *res) kstrtou8() argument 312 kstrtos8(const char *s, unsigned int base, s8 *res) kstrtos8() argument 336 kstrtobool(const char *s, bool *res) kstrtobool() argument 378 kstrtobool_from_user(const char __user *s, size_t count, bool *res) kstrtobool_from_user() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_resource.c | 22 #define NFP_RESOURCE_TBL_NAME "nfp.res" 69 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find() argument 78 if (!strcmp(res->name, NFP_RESOURCE_TBL_NAME)) { in nfp_cpp_resource_find() 82 key = crc32_posix(res->name, NFP_RESOURCE_ENTRY_NAME_SZ); in nfp_cpp_resource_find() 96 res->mutex = in nfp_cpp_resource_find() 99 res->cpp_id = NFP_CPP_ID(entry.region.cpp_target, in nfp_cpp_resource_find() 102 res->addr = (u64)entry.region.page_offset << 8; in nfp_cpp_resource_find() 103 res->size = (u64)entry.region.page_size << 8; in nfp_cpp_resource_find() 112 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire() argument 120 err = nfp_cpp_resource_find(cpp, res); in nfp_resource_try_acquire() 155 struct nfp_resource *res; nfp_resource_acquire() local 213 nfp_resource_release(struct nfp_resource *res) nfp_resource_release() argument 235 struct nfp_resource *res; nfp_resource_wait() local 271 nfp_resource_cpp_id(struct nfp_resource *res) nfp_resource_cpp_id() argument 282 nfp_resource_name(struct nfp_resource *res) nfp_resource_name() argument 293 nfp_resource_address(struct nfp_resource *res) nfp_resource_address() argument 304 nfp_resource_size(struct nfp_resource *res) nfp_resource_size() argument [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | tc_wrapper.h | 23 struct tcf_result *res)) 47 struct tcf_result *res) in tc_act() 54 return tcf_gact_act(skb, a, res); in tc_act() 58 return tcf_mirred_act(skb, a, res); in tc_act() 62 return tcf_pedit_act(skb, a, res); in tc_act() 66 return tcf_skbedit_act(skb, a, res); in tc_act() 70 return tcf_skbmod_act(skb, a, res); in tc_act() 74 return tcf_police_act(skb, a, res); in tc_act() 78 return tcf_bpf_act(skb, a, res); in tc_act() 82 return tcf_connmark_act(skb, a, res); in tc_act() 46 tc_act(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res) tc_act() argument 157 tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res) tc_classify() argument 218 tc_act(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res) tc_act() argument 224 tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res) tc_classify() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | kstrtox.c | 55 unsigned long long res; in _parse_integer_limit() local 58 res = 0; in _parse_integer_limit() 78 if (unlikely(res & (~0ull << 60))) { in _parse_integer_limit() 79 if (res > div_u64(ULLONG_MAX - val, base)) in _parse_integer_limit() 82 res = res * base + val; in _parse_integer_limit() 86 *p = res; in _parse_integer_limit() 96 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull() argument 112 *res = _res; in _kstrtoull() 126 * @res 132 kstrtoull(const char *s, unsigned int base, unsigned long long *res) kstrtoull() argument 156 kstrtoll(const char *s, unsigned int base, long long *res) kstrtoll() argument 181 _kstrtoul(const char *s, unsigned int base, unsigned long *res) _kstrtoul() argument 197 _kstrtol(const char *s, unsigned int base, long *res) _kstrtol() argument 228 kstrtouint(const char *s, unsigned int base, unsigned int *res) kstrtouint() argument 259 kstrtoint(const char *s, unsigned int base, int *res) kstrtoint() argument 275 kstrtou16(const char *s, unsigned int base, u16 *res) kstrtou16() argument 291 kstrtos16(const char *s, unsigned int base, s16 *res) kstrtos16() argument 307 kstrtou8(const char *s, unsigned int base, u8 *res) kstrtou8() argument 323 kstrtos8(const char *s, unsigned int base, s8 *res) kstrtos8() argument 348 kstrtobool(const char *s, bool *res) kstrtobool() argument 395 kstrtobool_from_user(const char __user *s, size_t count, bool *res) kstrtobool_from_user() argument [all...] |
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
H A D | dl_speke_protocol.c | 235 int32_t res = SetSelfKeyLenByMod(inputData, params); in DlSpekeServerStartRspParseEvent() local 236 if (res != HC_SUCCESS) { in DlSpekeServerStartRspParseEvent() 237 return res; in DlSpekeServerStartRspParseEvent() 248 int32_t res = GetLoaderInstance()->generateRandom(¶ms->salt); in CalSalt() local 249 if (res != HC_SUCCESS) { in CalSalt() 250 LOGE("Generate salt failed, res: %x.", res); in CalSalt() 251 return res; in CalSalt() 260 int32_t res = GetLoaderInstance()->computeHkdf(&keyParams, &(params->salt), &keyInfo, secret); in CalSecret() local 261 if (res ! in CalSecret() 297 int32_t res = GetLoaderInstance()->bigNumExpMod(secret, &exp, params->largePrimeNumHex, ¶ms->base); DlSpekeCalBase() local 310 int res = GetLoaderInstance()->generateRandom(&(params->eskSelf)); DlSpekeCalEskSelf() local 323 int32_t res = GetLoaderInstance()->bigNumExpMod(¶ms->base, &(params->eskSelf), DlSpekeCalEpkSelf() local 359 int32_t res = GetLoaderInstance()->bigNumExpMod(&(params->epkPeer), &(params->eskSelf), CalTmpSharedSecret() local 386 int32_t res = GetLoaderInstance()->sha256(&sidSelfMsg, sidSelf); CalSidSelf() local 414 int32_t res = GetLoaderInstance()->sha256(&sidPeerMsg, sidPeer); CalSidPeer() local 429 int32_t res = CalSidSelf(params, &sidSelf); CalSid() local 485 int32_t res = CalTmpSharedSecret(params, &tmpSharedSecret); GenerateSharedSecretMsg() local 512 int32_t res = GenerateSharedSecretMsg(params, &sharedSecretMsg); CalSharedSecret() local 600 int32_t res = GenerateKcfDataMsg(impl, isClient, false, &kcfDataMsg); CalKcfDataSelf() local 628 int32_t res = GenerateKcfDataMsg(impl, isClient, true, &kcfDataMsg); VerifyKcfDataPeer() local 661 int32_t res = GetLoaderInstance()->computeHkdf(&keyParams, &impl->params.salt, &keyInfo, CalSessionKey() local 673 int32_t res = CalSalt(&impl->params); DlSpekeServerStartRspProcEvent() local 728 int32_t res = DlSpekeServerStartRspParseEvent(inputData, &impl->params); DlSpekeServerStartRsp() local 741 int32_t res = GetSaltFromInput(inputData, params); DlSpekeClientFinishReqParseEvent() local 756 int32_t res = CalSecret(&impl->params, &secret); DlSpekeClientFinishReqProcEvent() local 813 int32_t res = DlSpekeClientFinishReqParseEvent(inputData, &impl->params); DlSpekeClientFinishReq() local 830 int32_t res = GetEpkPeerFromInput(inputData, params, false); DlSpekeServerFinishRspParseEvent() local 839 int32_t res = CheckEpkPeerValid(&impl->params); DlSpekeServerFinishRspProcEvent() local 882 int32_t res = DlSpekeServerFinishRspParseEvent(inputData, &impl->params); DlSpekeServerFinishRsp() local 900 int32_t res = VerifyKcfDataPeer(impl, true); DlSpekeClientFinishProcEvent() local 910 int32_t res = DlSpekeClientFinishParseEvent(inputData, &impl->params); DlSpekeClientFinish() local 988 int32_t res = STATE_MACHINE[i].stateProcessFunc((DlSpekeProtocol *)self, receviedMsg, returnSendMsg); DlSpekeProtocolSwitchState() local 1146 int32_t res = BuildDlSpekeProtocolObj(params, isClient, instance); CreateDlSpekeProtocol() local [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_config_test.cc | 75 auto res = parse_log_format( in test_shrpx_config_parse_log_format() local 80 CU_ASSERT(16 == res.size()); in test_shrpx_config_parse_log_format() 82 CU_ASSERT(LogFragmentType::REMOTE_ADDR == res[0].type); in test_shrpx_config_parse_log_format() 84 CU_ASSERT(LogFragmentType::LITERAL == res[1].type); in test_shrpx_config_parse_log_format() 85 CU_ASSERT(" - $remote_user [" == res[1].value); in test_shrpx_config_parse_log_format() 87 CU_ASSERT(LogFragmentType::TIME_LOCAL == res[2].type); in test_shrpx_config_parse_log_format() 89 CU_ASSERT(LogFragmentType::LITERAL == res[3].type); in test_shrpx_config_parse_log_format() 90 CU_ASSERT("] \"" == res[3].value); in test_shrpx_config_parse_log_format() 92 CU_ASSERT(LogFragmentType::REQUEST == res[4].type); in test_shrpx_config_parse_log_format() 94 CU_ASSERT(LogFragmentType::LITERAL == res[ in test_shrpx_config_parse_log_format() [all...] |
/third_party/skia/third_party/externals/tint/src/utils/io/ |
H A D | command_test.cc | 31 auto res = cmd("/C", "echo", "hello world"); in TEST() local 32 EXPECT_EQ(res.error_code, 0); in TEST() 33 EXPECT_EQ(res.out, "hello world\r\n"); in TEST() 34 EXPECT_EQ(res.err, ""); in TEST() 45 auto res = cmd("hello world"); 46 EXPECT_EQ(res.error_code, 0); 47 EXPECT_EQ(res.out, "hello world\n"); 48 EXPECT_EQ(res.err, ""); 58 auto res = cmd(); 59 EXPECT_EQ(res [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | eeprom.c | 45 int res = tb_eeprom_ctl_read(sw, &ctl); in tb_eeprom_active() local 46 if (res) in tb_eeprom_active() 47 return res; in tb_eeprom_active() 50 res = tb_eeprom_ctl_write(sw, &ctl); in tb_eeprom_active() 51 if (res) in tb_eeprom_active() 52 return res; in tb_eeprom_active() 57 res = tb_eeprom_ctl_write(sw, &ctl); in tb_eeprom_active() 58 if (res) in tb_eeprom_active() 59 return res; in tb_eeprom_active() 74 int res; in tb_eeprom_transfer() local 100 int res = tb_eeprom_ctl_read(sw, &ctl); tb_eeprom_out() local 120 int res = tb_eeprom_ctl_read(sw, &ctl); tb_eeprom_in() local 140 int res; tb_eeprom_get_drom_offset() local 172 int i, res; tb_eeprom_read_n() local 306 int res; tb_drom_read_uid_only() local 364 int res; tb_drom_parse_entry_port() local 412 int res; tb_drom_parse_entries() local 444 int len, res; tb_drom_copy_efi() local [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
H A D | standard_server_bind_exchange_task.c | 35 int res = HC_SUCCESS; in ExchangeStart() local 43 res = GenerateSelfChallenge(params); in ExchangeStart() 44 if (res != HC_SUCCESS) { in ExchangeStart() 46 return res; in ExchangeStart() 62 return res; in ExchangeStart() 67 int res = HC_SUCCESS; in ExchangeResponse() local 89 GOTO_ERR_AND_SET_RET(GetPeerChallenge(params, in), res); in ExchangeResponse() local 92 in, FIELD_EX_AUTH_INFO), res); in ExchangeResponse() 95 res = ServerResponseStandardBindExchange(params, &(realTask->params)); in ExchangeResponse() 96 if (res ! in ExchangeResponse() 106 GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_MESSAGE, PAKE_BIND_EXCHANGE_RESPONSE), res); ExchangeResponse() local 116 GOTO_ERR_AND_SET_RET(AddObjToJson(out, FIELD_SEND_TO_PEER, sendToPeer), res); ExchangeResponse() local 128 int res; Process() local 183 int res = InitStandardBindExchangeParams(&(task->params)); CreateStandardBindExchangeServerTask() local [all...] |
H A D | standard_client_bind_exchange_task.c | 35 int res; in ExchangeRequest() local 48 res = HC_ERR_ALLOC_MEMORY; in ExchangeRequest() 54 GOTO_ERR_AND_SET_RET(GetPeerChallenge(params, in), res); in ExchangeRequest() local 55 GOTO_ERR_AND_SET_RET(GenerateSelfChallenge(params), res); in ExchangeRequest() local 57 params->baseParams.challengeSelf.length), res); in ExchangeRequest() 61 GOTO_ERR_AND_SET_RET(ClientRequestStandardBindExchange(params, &(realTask->params)), res); in ExchangeRequest() local 64 GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_MESSAGE, PAKE_BIND_EXCHANGE_REQUEST), res); in ExchangeRequest() local 66 data, FIELD_EX_AUTH_INFO), res); in ExchangeRequest() 67 GOTO_ERR_AND_SET_RET(AddIntToJson(data, FIELD_PEER_USER_TYPE, params->userType), res); in ExchangeRequest() 68 GOTO_ERR_AND_SET_RET(AddObjToJson(sendToPeer, FIELD_PAYLOAD, data), res); in ExchangeRequest() local 69 GOTO_ERR_AND_SET_RET(AddObjToJson(out, FIELD_SEND_TO_PEER, sendToPeer), res); ExchangeRequest() local 95 int res = ParseNonceAndCipherFromJson(&(realTask->params.nonce), ExchangeConfirm() local 116 int res = HC_SUCCESS; Process() local 171 int res = InitStandardBindExchangeParams(&(task->params)); CreateStandardBindExchangeClientTask() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | ibmphp_res.c | 445 struct resource_node *res = NULL; in update_resources() local 451 res = bus_cur->firstMem; in update_resources() 455 res = bus_cur->firstPFMem; in update_resources() 459 res = bus_cur->firstIO; in update_resources() 463 if (res) { in update_resources() 464 while (res) { in update_resources() 465 if (res->rangeno == rangeno) in update_resources() 467 if (res->next) in update_resources() 468 res = res in update_resources() 487 fix_me(struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) fix_me() argument 545 struct resource_node *res; fix_resources() local 575 ibmphp_add_resource(struct resource_node *res) ibmphp_add_resource() argument 757 ibmphp_remove_resource(struct resource_node *res) ibmphp_remove_resource() argument 917 find_range(struct bus_node *bus_cur, struct resource_node *res) find_range() argument 952 ibmphp_check_resource(struct resource_node *res, u8 bridge) ibmphp_check_resource() argument 1428 struct resource_node *res = NULL; remove_ranges() local 1479 ibmphp_find_resource(struct bus_node *bus, u32 start_address, struct resource_node **res, int flag) ibmphp_find_resource() argument 1758 struct resource_node *res; ibmphp_print_test() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | ibmphp_res.c | 445 struct resource_node *res = NULL; in update_resources() local 451 res = bus_cur->firstMem; in update_resources() 455 res = bus_cur->firstPFMem; in update_resources() 459 res = bus_cur->firstIO; in update_resources() 463 if (res) { in update_resources() 464 while (res) { in update_resources() 465 if (res->rangeno == rangeno) in update_resources() 467 if (res->next) in update_resources() 468 res = res in update_resources() 487 fix_me(struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) fix_me() argument 545 struct resource_node *res; fix_resources() local 575 ibmphp_add_resource(struct resource_node *res) ibmphp_add_resource() argument 757 ibmphp_remove_resource(struct resource_node *res) ibmphp_remove_resource() argument 917 find_range(struct bus_node *bus_cur, struct resource_node *res) find_range() argument 952 ibmphp_check_resource(struct resource_node *res, u8 bridge) ibmphp_check_resource() argument 1428 struct resource_node *res = NULL; remove_ranges() local 1479 ibmphp_find_resource(struct bus_node *bus, u32 start_address, struct resource_node **res, int flag) ibmphp_find_resource() argument 1758 struct resource_node *res; ibmphp_print_test() local [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/ |
H A D | das_task_main.c | 90 int res; in CombineJson() local 101 res = CombineJson(payload, item); in CombineJson() 102 if (res != HC_SUCCESS) { in CombineJson() 103 LOGE("Combine payload failed, res: %x.", res); in CombineJson() 104 return res; in CombineJson() 132 int res = HC_SUCCESS; in ProcessMultiTask() local 145 res = HC_ERR_JSON_CREATE; in ProcessMultiTask() 148 res = ((SubTaskBase *)(*ptr))->process((*ptr), in, tmpOut, status); in ProcessMultiTask() 149 if (res ! in ProcessMultiTask() 178 int res = GetVersionFromJson(in, &minVersionPeer, &curVersionPeer); NegotiateAndProcessTask() local 221 IsPeerErrMessage(const CJson *in, int32_t *res) IsPeerErrMessage() argument 240 int32_t res; ProcessTaskT() local 330 int res = GetVersionFromJson(in, &minVersionPeer, &curVersionPeer); CreateSingleSubTask() local 374 int res; CreateTaskT() local 426 int32_t res = HC_SUCCESS; RegisterLocalIdentityInTask() local 446 int32_t res = HC_SUCCESS; UnregisterLocalIdentityInTask() local 466 int32_t res = HC_SUCCESS; DeletePeerAuthInfoInTask() local [all...] |