/third_party/python/Lib/tkinter/test/test_ttk/ |
H A D | test_widgets.py | 149 label = ttk.Label(self.root, text='Mupp', name='foo') 156 def checkImageParam(self, widget, name): 157 image = tkinter.PhotoImage(master=self.root, name='image1') 158 image2 = tkinter.PhotoImage(master=self.root, name='image2') 159 self.checkParam(widget, name, image, expected=('image1',)) 160 self.checkParam(widget, name, 'image1', expected=('image1',)) 161 self.checkParam(widget, name, (image,), expected=('image1',)) 162 self.checkParam(widget, name, (image, 'active', image2), 164 self.checkParam(widget, name, 'image1 active image2', 166 self.checkInvalidParam(widget, name, 'spa [all...] |
/third_party/selinux/libsepol/cil/src/ |
H A D | cil.c | 289 CIL_KEY_NAME = cil_strpool_add("name"); in cil_init_keys() 431 (*db)->selftype->datum.name = CIL_KEY_SELF; in cil_db_init() 513 int cil_add_file(cil_db_t *db, const char *name, const char *data, size_t size) in cil_add_file() argument 518 cil_log(CIL_INFO, "Parsing %s\n", name); in cil_add_file() 524 rc = cil_parser(name, buffer, size + 2, &db->parse); in cil_add_file() 526 cil_log(CIL_INFO, "Failed to parse %s\n", name); in cil_add_file() 2370 void cil_name_init(struct cil_name **name) in cil_name_init() argument 2372 *name = cil_malloc(sizeof(**name)); in cil_name_init() 2374 cil_symtab_datum_init(&(*name) in cil_name_init() [all...] |
/third_party/protobuf/conformance/third_party/jsoncpp/ |
H A D | jsoncpp.cpp | 648 std::string name; 658 if (tokenName.type_ == tokenObjectEnd && name.empty()) // empty object 660 name = ""; 662 if (!decodeString(tokenName, name)) 668 name = numberName.asString(); 676 "Missing ':' after object member name", colon, tokenObjectEnd); 678 Value& value = currentValue()[name]; 699 "Missing '}' or object member name", tokenName, tokenObjectEnd); 1624 std::string name; 1634 if (tokenName.type_ == tokenObjectEnd && name 2328 std::string ValueIteratorBase::name() const { name() function in Json::ValueIteratorBase 4346 const std::string& name = *it; writeValue() local 4414 const std::string& name = *it; writeValue() local 4631 const std::string& name = *it; writeValue() local 4912 std::string const& name = *it; writeValue() member in Json::std [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingMutableTests.cpp | 2143 MutableTypesTest (tcu::TestContext& testCtx, const std::string& name, const TestParams& params) 2144 : TestCase(testCtx, name) 3603 const char* name; 3612 const char* name; 3622 const char* name; 3632 const char* name; 3642 const char* name; 3651 const char* name; 3661 const char* name; 3682 GroupPtr updateGroup(new tcu::TestCaseGroup(testCtx, ut.name)); [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelinePushDescriptorTests.cpp | 649 const string& name, 661 const string& name, in PushDescriptorBufferGraphicsTest() 663 : vkt::TestCase (testContext, name) in PushDescriptorBufferGraphicsTest() 1013 const string& name, 1024 const string& name, in PushDescriptorBufferComputeTest() 1026 : vkt::TestCase (testContext, name) in PushDescriptorBufferComputeTest() 1805 const string& name, 1818 const string& name, in PushDescriptorImageGraphicsTest() 1820 : vkt::TestCase (testContext, name) in PushDescriptorImageGraphicsTest() 2599 const string& name, 660 PushDescriptorBufferGraphicsTest(tcu::TestContext& testContext, const string& name, const TestParams& params) PushDescriptorBufferGraphicsTest() argument 1023 PushDescriptorBufferComputeTest(tcu::TestContext& testContext, const string& name, const TestParams& params) PushDescriptorBufferComputeTest() argument 1817 PushDescriptorImageGraphicsTest(tcu::TestContext& testContext, const string& name, const TestParams& params) PushDescriptorImageGraphicsTest() argument 2609 PushDescriptorImageComputeTest(tcu::TestContext& testContext, const string& name, const TestParams& params) PushDescriptorImageComputeTest() argument 3143 PushDescriptorTexelBufferGraphicsTest(tcu::TestContext& testContext, const string& name, const TestParams& params) PushDescriptorTexelBufferGraphicsTest() argument 3534 PushDescriptorTexelBufferComputeTest(tcu::TestContext& testContext, const string& name, const TestParams& params) PushDescriptorTexelBufferComputeTest() argument 4218 PushDescriptorInputAttachmentGraphicsTest(tcu::TestContext& testContext, const string& name, const TestParams& params) PushDescriptorInputAttachmentGraphicsTest() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
H A D | vktBindingMutableTests.cpp | 2139 MutableTypesTest (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& params) 2140 : TestCase(testCtx, name, description) 3599 const char* name; 3608 const char* name; 3618 const char* name; 3628 const char* name; 3638 const char* name; 3647 const char* name; 3657 const char* name; 3678 GroupPtr updateGroup(new tcu::TestCaseGroup(testCtx, ut.name, "")); [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_hlsl.cpp | 406 // Need OpName lookup here to get a "sensible" name for a struct. in type_to_glsl() 908 auto name = to_name(var.self); in emit_interface_block_in_struct() local 941 variable_decl(newtype, join(name, "_", i)), " : ", effective_semantic, ";"); in emit_interface_block_in_struct() 947 statement(to_interpolation_qualifiers(get_decoration_bitset(var.self)), variable_decl(type, name), " : ", in emit_interface_block_in_struct() 957 statement(variable_decl(type, name), " : ", binding, ";"); in emit_interface_block_in_struct() 1170 auto name = to_name(c.self); in emit_composite_constants() 1171 statement("static const ", variable_decl(type, name), " = ", constant_expression(c), ";"); in emit_composite_constants() 1216 auto name = to_name(c.self); in emit_specialization_constants_and_structs() local 1225 statement("static const ", variable_decl(type, name), " = ", c.specialization_constant_macro_name, ";"); in emit_specialization_constants_and_structs() 1233 auto name in emit_specialization_constants_and_structs() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelinePushDescriptorTests.cpp | 638 const string& name, 651 const string& name, in PushDescriptorBufferGraphicsTest() 654 : vkt::TestCase (testContext, name, description) in PushDescriptorBufferGraphicsTest() 1000 const string& name, 1012 const string& name, in PushDescriptorBufferComputeTest() 1015 : vkt::TestCase (testContext, name, description) in PushDescriptorBufferComputeTest() 1793 const string& name, 1807 const string& name, in PushDescriptorImageGraphicsTest() 1810 : vkt::TestCase (testContext, name, description) in PushDescriptorImageGraphicsTest() 2588 const string& name, 650 PushDescriptorBufferGraphicsTest(tcu::TestContext& testContext, const string& name, const string& description, const TestParams& params) PushDescriptorBufferGraphicsTest() argument 1011 PushDescriptorBufferComputeTest(tcu::TestContext& testContext, const string& name, const string& description, const TestParams& params) PushDescriptorBufferComputeTest() argument 1806 PushDescriptorImageGraphicsTest(tcu::TestContext& testContext, const string& name, const string& description, const TestParams& params) PushDescriptorImageGraphicsTest() argument 2599 PushDescriptorImageComputeTest(tcu::TestContext& testContext, const string& name, const string& description, const TestParams& params) PushDescriptorImageComputeTest() argument 3126 PushDescriptorTexelBufferGraphicsTest(tcu::TestContext& testContext, const string& name, const string& description, const TestParams& params) PushDescriptorTexelBufferGraphicsTest() argument 3515 PushDescriptorTexelBufferComputeTest(tcu::TestContext& testContext, const string& name, const string& description, const TestParams& params) PushDescriptorTexelBufferComputeTest() argument 4199 PushDescriptorInputAttachmentGraphicsTest(tcu::TestContext& testContext, const string& name, const string& description, const TestParams& params) PushDescriptorInputAttachmentGraphicsTest() argument [all...] |
/third_party/skia/third_party/externals/microhttpd/doc/ |
H A D | texinfo.tex | 65 % they might have appeared in the input file name. 345 \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi 525 % whether the environment name matches. The \checkenv macro can also be 1109 % double any backslashes. Otherwise, a name like "\node" will be 1185 % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto). 1245 \safewhatsit{\pdfdest name{\pdfdestname} xyz}% 1287 \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}% 1429 \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}} 3423 % For double-sided printing, put current file name in lower left corner, 3424 % chapter name o [all...] |
/base/powermgr/power_manager/test/unittest/src/servicetest/ |
H A D | powermgr_service_test_proxy.cpp | 67 bool PowerMgrServiceTestProxy::ReleaseRunningLock(const sptr<IRemoteObject>& remoteObj, const std::string& name) in ReleaseRunningLock() argument 81 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, String, name, false); in ReleaseRunningLock() 150 bool PowerMgrServiceTestProxy::UnLock(const sptr<IRemoteObject>& remoteObj, const std::string& name) in UnLock() argument 164 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, String, name, false); in UnLock()
|
/base/print/print_fwk/test/fuzztest/scanserviceability_fuzzer/ |
H A D | scanserviceability_fuzzer.cpp | 284 optionDesc.name = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestSetScanOptionDescriptor() 325 std::string name = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestSetScannerInfo() local 329 currentDevice.name = name.c_str(); in TestSetScannerInfo()
|
/base/security/device_auth/services/privacy_enhancement/src/ |
H A D | pseudonym_manager.c | 586 const char *name = StringGet(dbName); in LoadPseudonymData() local 587 if (name == NULL) { in LoadPseudonymData() 590 if (strcmp(name, "pseudonym_data.dat") == 0) { in LoadPseudonymData() 592 } else if (sscanf_s(name, "pseudonym_data%d.dat", &osAccountId) == 1) { in LoadPseudonymData()
|
/base/sensors/sensor/frameworks/js/napi/src/ |
H A D | sensor_napi_utils.cpp | 74 napi_value GetNamedProperty(const napi_env &env, const napi_value &object, string name)
in GetNamedProperty() argument 78 CHKNRP(env, napi_has_named_property(env, object, name.c_str(), &status), "napi_has_named_property");
in GetNamedProperty() 80 SEN_HILOGW("%{public}s not exists on the object", name.c_str());
in GetNamedProperty() 84 CHKNRP(env, napi_get_named_property(env, object, name.c_str(), &value),
in GetNamedProperty()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_sandboxmgr_test.cpp | 161 auto testFunc = [result](const char *name, uint32_t len, size_t nameIndex, size_t lenIndex) { in HWTEST_F() 163 SandboxSection *section = CreateSandboxSection(name, len, type); in HWTEST_F() 167 free(section->name); in HWTEST_F() 631 const AppSpawnSandboxCfg *appSandBox, const char *name) in TestProcessExpandSandboxCfg() 630 TestProcessExpandSandboxCfg(const SandboxContext *context, const AppSpawnSandboxCfg *appSandBox, const char *name) TestProcessExpandSandboxCfg() argument
|
/base/telephony/telephony_data/common/src/ |
H A D | parser_util.cpp | 84 const char *ITEM_NAME = "name"; 389 bean.name = ParseAsString(cJSON_GetObjectItem(itemRoot, ITEM_NAME)); in ParserNumMatchInfos() 419 value.PutString(NumMatchData::NAME, bean.name); in ParserNumMatchToValuesBucket() 483 bean.name = ParseAsString(cJSON_GetObjectItem(itemRoot, ITEM_NAME)); in ParserEccDataInfos() 497 value.PutString(EccData::NAME, bean.name); in ParserEccDataToValuesBucket()
|
/base/update/packaging_tools/ |
H A D | build_update.py | 479 :param image_name: image name
516 :param partition: image name
567 '-p', patch_file_obj.name, '-l', '4096'])
673 with open(transfer_list_file_obj.name) as f_t:
691 (os.path.getsize(new_dat_file_obj.name) == num * PER_BLOCK_SIZE) and \
692 (os.path.getsize(patch_dat_file_obj.name) == diff_num)
|
/foundation/ability/form_fwk/test/unittest/fms_form_host_record_test/ |
H A D | fms_form_host_record_test.cpp | 60 const std::string PARAM_FORM_NAME = "com.form.name.test"; 156 * @tc.name: FormDbCache_001 173 * @tc.name: FormDbCache_002 189 * @tc.name: FormDbCache_003 205 * @tc.name: FormDbCache_004 221 * @tc.name: FormDbCache_005 237 * @tc.name: FormDbCache_006 253 * @tc.name: FormDbCache_007 269 * @tc.name: FormDbCache_008 285 * @tc.name [all...] |
/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/ |
H A D | form_info_mgr_test.cpp | 37 const std::string PARAM_FORM_NAME = "com.form.name.test"; 72 formInfo.name = PARAM_FORM_NAME; in GetTestFormInfo() 91 formInfo.name = PARAM_FORM_NAME; in GetTestCircleFormInfo() 105 * @tc.name: FormInfoHelper_LoadFormConfigInfoByBundleName_0100 120 * @tc.name: FormInfoHelper_LoadFormConfigInfoByBundleName_0200 142 * @tc.name: FormInfoHelper_LoadStageFormConfigInfo_0100 159 * @tc.name: FormInfoHelper_LoadStageFormConfigInfo_0200 176 * @tc.name: FormInfoHelper_GetResourceManager_0100 192 * @tc.name: FormInfoHelper_GetFormInfoDescription_0100 208 * @tc.name [all...] |
/foundation/ability/ability_runtime/test/unittest/running_infos_test/ |
H A D | running_infos_test.cpp | 253 * @tc.name: GetAbilityRunningInfos_007 347 * @tc.name: GetAbilityRunningInfos_006 592 const std::string dataAbilityName(abilityRequest.abilityInfo.bundleName + '.' + abilityRequest.abilityInfo.name); in HWTEST_F() 632 const std::string dataAbilityName(abilityRequest.abilityInfo.bundleName + '.' + abilityRequest.abilityInfo.name); in HWTEST_F() 672 const std::string dataAbilityName(abilityRequest.abilityInfo.bundleName + '.' + abilityRequest.abilityInfo.name); in HWTEST_F() 688 const std::string dataAbilityName2(abilityRequest2.abilityInfo.bundleName + '.' + abilityRequest2.abilityInfo.name); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/appkit/ohos_application_test/ |
H A D | ohos_application_test.cpp | 69 * @tc.name: OnForeground 82 * @tc.name: OnForeground 96 * @tc.name: OnBackground 109 * @tc.name: OnBackground 123 * @tc.name: DumpApplication 141 * @tc.name: DumpApplication 160 * @tc.name: DumpApplication 178 * @tc.name: SetRuntime 192 * @tc.name: SetRuntime 207 * @tc.name 788 const std::string name = "entry"; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ui_ability_thread.cpp | 64 TAG_LOGE(AAFwkTag::UIABILITY, "abilityInfo name: %{public}s", abilityInfo->name.c_str()); in CreateAbilityName() 65 return abilityInfo->name; in CreateAbilityName() 70 abilityName = abilityInfo->name; in CreateAbilityName() 72 TAG_LOGD(AAFwkTag::UIABILITY, "ability name: %{public}s", abilityName.c_str()); in CreateAbilityName() 127 TAG_LOGD(AAFwkTag::UIABILITY, "ability: %{public}s", abilityRecord->GetAbilityInfo()->name.c_str()); in Attach() 236 TAG_LOGI(AAFwkTag::UIABILITY, "Lifecycle:name %{public}s", want.GetElement().GetAbilityName().c_str()); in HandleAbilityTransaction() 316 TAG_LOGI(AAFwkTag::UIABILITY, "name:%{public}s,targeState:%{public}d,isNewWant:%{public}d", in ScheduleAbilityTransaction()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | frontend_delegate_declarative.h | 171 void GetState(int32_t& index, std::string& name, std::string& path) override; 172 void GetRouterStateByIndex(int32_t& index, std::string& name, std::string& path, std::string& params) override; 183 void PostJsTask(std::function<void()>&& task, const std::string& name) override; 248 void PostSyncTaskToPage(std::function<void()>&& task, const std::string& name) override;
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_model.cpp | 45 void* FindFunction(void* library, const char* name) in FindFunction() argument 47 return (void*)GetProcAddress(reinterpret_cast<HMODULE>(library), name); in FindFunction() 62 void* FindFunction(void* library, const char* name) 64 return dlsym(library, name);
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 837 void JSI::SetModuleAPI(JSIValue exports, const char * const name, JSIFunctionHandler handler) in SetModuleAPI() argument 844 SetNamedProperty(exports, name, jsFunc); in SetModuleAPI() 884 void JSI::SetNamedPointer(JSIValue object, const char * const name, JsiCallback callback) in SetNamedPointer() argument 894 SetNamedProperty(object, name, funObj); in SetNamedPointer()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_ble_central_manager.cpp | 617 void BleScanResult::SetName(const std::string &name) in SetName() argument 619 name_ = name; in SetName() 724 void BleScanFilter::SetName(std::string name) in SetName() argument 726 name_ = name; in SetName()
|