/third_party/vk-gl-cts/modules/gles2/ |
H A D | tes2CapabilityTests.cpp | 47 GetIntCase (Context& context, const char* name, const char* description, GLenum param) in GetIntCase() argument 48 : tcu::TestCase (context.getTestContext(), tcu::NODETYPE_CAPABILITY, name, description) in GetIntCase() 80 const char* name; in init() member 98 addChild(new GetIntCase(m_context, getIntCases[ndx].name, getIntCases[ndx].description, getIntCases[ndx].param)); in init() 105 ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName); 114 ExtensionCase::ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName) in ExtensionCase() argument 115 : tcu::TestCase (testCtx, tcu::NODETYPE_CAPABILITY, name, desc) in ExtensionCase() 144 ExtGroup (TestCaseGroup* parent, const char* name, const char* desc) in init() 148 group = new tcu::TestCaseGroup(parent->getTestContext(), name, desc); in init()
|
/third_party/zlib/contrib/puff/ |
H A D | pufftest.c | 54 /* Read the input file *name, or stdin if name is NULL, into allocated memory. 60 local void *load(const char *name, size_t *len) in load() argument 70 in = name == NULL ? stdin : fopen(name, "rb"); in load() 92 char *arg, *name = NULL; in main() local 111 else if (name != NULL) { in main() 112 fprintf(stderr, "only one file name allowed\n"); in main() 116 name = arg; in main() 117 source = load(name, in main() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3.h | 163 unsigned name; member 167 * wrmask may be a bad name since it is used to represent both 229 #define DECLARE_ARRAY(type, name) \ 230 unsigned name##_count, name##_sz; \ 231 type *name; 570 unsigned base; /* base vreg name */ 1241 /* TODO better name */ 2059 #define __INSTR0(flag, name, opc) \ 2060 static inline struct ir3_instruction *ir3_##name(struc [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | objectLiteralShorthandPropertiesFunctionArgument2.js | 3 var name: string = "my name"; variable 5 var person = { name, id }; 13 var name = "my name";
variable 14 var person = { name: name, id: id };
|
/third_party/node/deps/v8/src/wasm/ |
H A D | c-api.cc | 124 Name name = Name::make_uninitialized(ref.length()); in GetNameFromWireBytes() 125 std::memcpy(name.get(), wire_bytes.begin() + ref.offset(), ref.length()); in GetNameFromWireBytes() 126 return name; in GetNameFromWireBytes() 238 int32_t* Bind(const char* name, bool is_histogram) { in Bind() argument 240 for (i = 0; i < kMaxNameSize - 1 && name[i]; i++) { in Bind() 241 name_[i] = static_cast<char>(name[i]); in Bind() 290 static Counter* GetCounter(const char* name, bool is_histogram) { in GetCounter() 291 auto map_entry = counter_map_->find(name); in GetCounter() 298 (*counter_map_)[name] = counter; in GetCounter() 299 counter->Bind(name, is_histogra in GetCounter() 813 Name name; global() member 854 Name name; global() member 1162 Name name = GetNameFromWireBytes(imp.field_name, wire_bytes); global() variable 1180 Name name = GetNameFromWireBytes(exp.name, wire_bytes); ExportsImpl() local 2204 auto& name = export_types[i]->name(); global() variable 2684 wasm_importtype_new(wasm_name_t* module, wasm_name_t* name, wasm_externtype_t* type) wasm_importtype_new() argument 2706 wasm_exporttype_new(wasm_name_t* name, wasm_externtype_t* type) wasm_exporttype_new() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_timeout_test/ |
H A D | ability_timeout_test.cpp | 102 abilityRequest.abilityInfo.name = "com.test.DiedAbility001"; in HWTEST_F() 104 abilityRequest.appInfo.name = "com.test"; in HWTEST_F() 141 abilityRequest.abilityInfo.name = "com.test.DiedAbility002"; in HWTEST_F() 144 abilityRequest.appInfo.name = "com.test"; in HWTEST_F() 182 abilityRequest.abilityInfo.name = "com.test.Timeout001"; in HWTEST_F() 185 abilityRequest.appInfo.name = "com.test"; in HWTEST_F() 223 abilityRequest.abilityInfo.name = "com.test.rootLauncher"; in HWTEST_F() 226 abilityRequest.appInfo.name = "com.test"; in HWTEST_F() 239 abilityRequest.abilityInfo.name = "com.test.Timeout002"; in HWTEST_F() 279 abilityRequest.abilityInfo.name in HWTEST_F() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | tzgnames.cpp | 67 * Hash function for partial location name hash key 82 * Comparer for partial location name hash key 108 * GNameInfo stores zone name information in the local trie 116 * GMatchInfo stores zone name match information used by find method 127 // The class stores time zone generic name match information 280 UDate date, UnicodeString& name) const; 282 UnicodeString& getGenericLocationName(const UnicodeString& tzCanonicalID, UnicodeString& name) const; 312 UDate date, UnicodeString& name) const; 316 UnicodeString& name) const; 455 TZGNCore::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) cons 462 getGenericLocationName(UnicodeString(true, tzCanonicalID, -1), name); getDisplayName() local 472 getGenericLocationName(UnicodeString(true, tzCanonicalID, -1), name); getDisplayName() local 533 UnicodeString name; getGenericLocationName() local 810 UnicodeString name; getPartialLocationName() local [all...] |
/third_party/libbpf/src/ |
H A D | bpf_tracing.h | 659 * function arguments of specified type and name. 665 #define BPF_PROG(name, args...) \ 666 name(unsigned long long *ctx); \ 667 static __always_inline typeof(name(0)) \ 668 ____##name(unsigned long long *ctx, ##args); \ 669 typeof(name(0)) name(unsigned long long *ctx) \ 673 return ____##name(___bpf_ctx_cast(args)); \ 676 static __always_inline typeof(name(0)) \ 677 ____##name(unsigne [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | tzgnames.cpp | 67 * Hash function for partial location name hash key 82 * Comparer for partial location name hash key 108 * GNameInfo stores zone name information in the local trie 116 * GMatchInfo stores zone name match information used by find method 127 // The class stores time zone generic name match information 280 UDate date, UnicodeString& name) const; 282 UnicodeString& getGenericLocationName(const UnicodeString& tzCanonicalID, UnicodeString& name) const; 312 UDate date, UnicodeString& name) const; 316 UnicodeString& name) const; 455 TZGNCore::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) cons 462 getGenericLocationName(UnicodeString(true, tzCanonicalID, -1), name); getDisplayName() local 472 getGenericLocationName(UnicodeString(true, tzCanonicalID, -1), name); getDisplayName() local 533 UnicodeString name; getGenericLocationName() local 810 UnicodeString name; getPartialLocationName() local [all...] |
/third_party/libfuse/example/ |
H A D | passthrough_ll.c | 309 static int lo_do_lookup(fuse_req_t req, fuse_ino_t parent, const char *name, in lo_do_lookup() argument 322 newfd = openat(lo_fd(req, parent), name, O_PATH | O_NOFOLLOW); in lo_do_lookup() 360 (unsigned long long) parent, name, (unsigned long long) e->ino); in lo_do_lookup() 371 static void lo_lookup(fuse_req_t req, fuse_ino_t parent, const char *name) in lo_lookup() argument 377 fuse_log(FUSE_LOG_DEBUG, "lo_lookup(parent=%" PRIu64 ", name=%s)\n", in lo_lookup() 378 parent, name); in lo_lookup() 380 err = lo_do_lookup(req, parent, name, &e); in lo_lookup() 388 const char *name, mode_t mode, dev_t rdev, in lo_mknod_symlink() 396 res = mknod_wrapper(dir->fd, name, link, mode, rdev); in lo_mknod_symlink() 402 saverr = lo_do_lookup(req, parent, name, in lo_mknod_symlink() 387 lo_mknod_symlink(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, dev_t rdev, const char *link) lo_mknod_symlink() argument 417 lo_mknod(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, dev_t rdev) lo_mknod() argument 423 lo_mkdir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode) lo_mkdir() argument 429 lo_symlink(fuse_req_t req, const char *link, fuse_ino_t parent, const char *name) lo_symlink() argument 435 lo_link(fuse_req_t req, fuse_ino_t ino, fuse_ino_t parent, const char *name) lo_link() argument 477 lo_rmdir(fuse_req_t req, fuse_ino_t parent, const char *name) lo_rmdir() argument 486 lo_rename(fuse_req_t req, fuse_ino_t parent, const char *name, fuse_ino_t newparent, const char *newname, unsigned int flags) lo_rename() argument 503 lo_unlink(fuse_req_t req, fuse_ino_t parent, const char *name) lo_unlink() argument 635 is_dot_or_dotdot(const char *name) is_dot_or_dotdot() argument 667 const char *name; lo_do_readdir() local 755 lo_create(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, struct fuse_file_info *fi) lo_create() argument 950 lo_getxattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) lo_getxattr() argument 1051 lo_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) lo_setxattr() argument 1077 lo_removexattr(fuse_req_t req, fuse_ino_t ino, const char *name) lo_removexattr() argument [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | write.rs | 38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations() 53 Api::Struct(strct) => write_struct_decl(out, &strct.name), in write_forward_declarations() 55 Api::CxxType(ety) => write_struct_using(out, &ety.name), in write_forward_declarations() 56 Api::RustType(ety) => write_struct_decl(out, &ety.name), in write_forward_declarations() 86 Api::Struct(strct) if !structs_written.contains(&strct.name.rust) => { 88 if !out.types.cxx.contains(&strct.name.rust) { 91 .get(&strct.name.rust) 96 structs_written.insert(&next.name.rust); 97 if next.name.rust == strct.name [all...] |
/third_party/rust/crates/cxx/gen/src/ |
H A D | write.rs | 38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations() 53 Api::Struct(strct) => write_struct_decl(out, &strct.name), in write_forward_declarations() 55 Api::CxxType(ety) => write_struct_using(out, &ety.name), in write_forward_declarations() 56 Api::RustType(ety) => write_struct_decl(out, &ety.name), in write_forward_declarations() 86 Api::Struct(strct) if !structs_written.contains(&strct.name.rust) => { 88 if !out.types.cxx.contains(&strct.name.rust) { 91 .get(&strct.name.rust) 96 structs_written.insert(&next.name.rust); 97 if next.name.rust == strct.name [all...] |
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | write.rs | 38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations() 53 Api::Struct(strct) => write_struct_decl(out, &strct.name), in write_forward_declarations() 55 Api::CxxType(ety) => write_struct_using(out, &ety.name), in write_forward_declarations() 56 Api::RustType(ety) => write_struct_decl(out, &ety.name), in write_forward_declarations() 86 Api::Struct(strct) if !structs_written.contains(&strct.name.rust) => { 88 if !out.types.cxx.contains(&strct.name.rust) { 91 .get(&strct.name.rust) 96 structs_written.insert(&next.name.rust); 97 if next.name.rust == strct.name [all...] |
/third_party/python/Lib/ |
H A D | pathlib.py | 121 is_supported = (os.name == 'nt') 139 # regular name character in the object namespace. 215 name = parts[-1].partition('.')[0].partition(':')[0].rstrip(' ') 216 return name.upper() in self.reserved_names 237 is_supported = (os.name != 'nt') 333 def __init__(self, name, child_parts, flavour): 334 self.name = name 339 path = parent_path._make_child_relpath(self.name) 369 name 623 def name(self): global() member in PurePath [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | tzgnames.cpp | 67 * Hash function for partial location name hash key 82 * Comparer for partial location name hash key 108 * GNameInfo stores zone name information in the local trie 116 * GMatchInfo stores zone name match information used by find method 127 // The class stores time zone generic name match information 283 UDate date, UnicodeString& name) const; 285 UnicodeString& getGenericLocationName(const UnicodeString& tzCanonicalID, UnicodeString& name) const; 315 UDate date, UnicodeString& name) const; 319 UnicodeString& name) const; 458 TZGNCore::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) cons 465 getGenericLocationName(UnicodeString(TRUE, tzCanonicalID, -1), name); getDisplayName() local 475 getGenericLocationName(UnicodeString(TRUE, tzCanonicalID, -1), name); getDisplayName() local 536 UnicodeString name; getGenericLocationName() local 813 UnicodeString name; getPartialLocationName() local [all...] |
/third_party/rust/crates/cxx/gen/build/src/gen/ |
H A D | write.rs | 38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations() 53 Api::Struct(strct) => write_struct_decl(out, &strct.name), in write_forward_declarations() 55 Api::CxxType(ety) => write_struct_using(out, &ety.name), in write_forward_declarations() 56 Api::RustType(ety) => write_struct_decl(out, &ety.name), in write_forward_declarations() 86 Api::Struct(strct) if !structs_written.contains(&strct.name.rust) => { 88 if !out.types.cxx.contains(&strct.name.rust) { 91 .get(&strct.name.rust) 96 structs_written.insert(&next.name.rust); 97 if next.name.rust == strct.name [all...] |
/third_party/jinja2/ |
H A D | runtime.py | 126 def __getitem__(self, name: str) -> t.Any: 127 blocks = self.__context.blocks[name] 128 return BlockReference(name, self.__context, blocks, 0) 131 return f"<{type(self).__name__} {self.__context.name!r}>" 167 name: t.Optional[str], 174 self.eval_ctx = EvalContext(self.environment, name) 176 self.name = name 185 self, name: str, current: t.Callable[["Context"], t.Iterator[str]] 189 blocks = self.blocks[name] [all...] |
/third_party/ltp/include/ |
H A D | tst_safe_macros.h | 66 #define SAFE_GETPWNAM(name) \ 67 safe_getpwnam(__FILE__, __LINE__, NULL, (name)) 192 #define SAFE_SYSCONF(name) \ 193 safe_sysconf(__FILE__, __LINE__, NULL, name) 233 #define SAFE_OPENDIR(name) \ 234 safe_opendir(__FILE__, __LINE__, NULL, (name)) 554 const char *name); 555 #define SAFE_GETGRNAM(name) \ 556 safe_getgrnam(__FILE__, __LINE__, (name)) 559 const char *name, cons [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | ty.rs | 23 /// A type has an optional name, which if present cannot be empty, a `layout` 28 /// The name of the type, or None if it was an unnamed struct or union. 29 name: Option<String>, 65 name: Option<String>, in new() 71 name, in new() 88 /// Get this type's name. 89 pub fn name(&self) -> Option<&str> { in name() functions 90 self.name.as_deref() in name() 157 /// Creates a new named type, with name `name` 707 let mut name = if is_anonymous { from_clang_ty() variables [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 110 std::string name = MakeFilePath(fileName, fileType); in RenameFile() local 111 if (std::rename(fileName.c_str(), name.c_str())) { in RenameFile() 168 LOG_ERROR("The length of the file name is 0."); in ReadSettingXml() 178 if (!root || xmlStrcmp(root->name, reinterpret_cast<const xmlChar *>("preferences"))) { in ReadSettingXml() 205 if (!xmlStrcmp(node->name, reinterpret_cast<const xmlChar *>("int")) in ParseNodeElement() 206 || !xmlStrcmp(node->name, reinterpret_cast<const xmlChar *>("long")) in ParseNodeElement() 207 || !xmlStrcmp(node->name, reinterpret_cast<const xmlChar *>("bool")) in ParseNodeElement() 208 || !xmlStrcmp(node->name, reinterpret_cast<const xmlChar *>("float")) in ParseNodeElement() 209 || !xmlStrcmp(node->name, reinterpret_cast<const xmlChar *>("double")) in ParseNodeElement() 210 || !xmlStrcmp(node->name, reinterpret_cas in ParseNodeElement() [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_device.c | 71 /* g_interfaceList store the actual interface name prefix for one platform */ 78 * g_interfacePrefixList store all interface name prefix to adapt different platform 79 * when platform interface name prefix update, just update g_interfacePrefixList 453 (void)strcpy_s(g_interfaceList[IFACE_TYPE_WLAN].name, in GlobalInterfaceListInit() 454 sizeof(g_interfaceList[IFACE_TYPE_WLAN].name), NSTACKX_WLAN_INTERFACE_NAME_PREFIX); in GlobalInterfaceListInit() 455 (void)strcpy_s(g_interfaceList[IFACE_TYPE_ETH].name, in GlobalInterfaceListInit() 456 sizeof(g_interfaceList[IFACE_TYPE_ETH].name), NSTACKX_ETH_INTERFACE_NAME_PREFIX); in GlobalInterfaceListInit() 457 (void)strcpy_s(g_interfaceList[IFACE_TYPE_P2P].name, in GlobalInterfaceListInit() 458 sizeof(g_interfaceList[IFACE_TYPE_P2P].name), NSTACKX_P2P_INTERFACE_NAME_PREFIX); in GlobalInterfaceListInit() 461 (void)strcpy_s(g_interfaceList[IFACE_TYPE_USB].name, in GlobalInterfaceListInit() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | argo_asf.c | 47 const char *name; member 58 memcpy(hdr->name, buf + 16, ASF_NAME_SIZE); in ff_argo_asf_parse_file_header() 59 hdr->name[ASF_NAME_SIZE] = '\0'; in ff_argo_asf_parse_file_header() 213 av_dict_set(&s->metadata, "title", asf->fhdr.name, 0); in argo_asf_read_header() 275 .name = "argo_asf", 337 avio_write(pb, fhdr->name, ASF_NAME_SIZE); in argo_asf_write_file_header() 363 const char *name, *end; in argo_asf_write_header() local 367 * If the user specified a name, use it as is. Otherwise, in argo_asf_write_header() 371 if (ctx->name) { in argo_asf_write_header() 372 name in argo_asf_write_header() [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | elem.c | 24 .name = "manifest", 36 .name = "control mixer", 49 .name = "control enum", 62 .name = "control extended (bytes)", 75 .name = "dapm widget", 88 .name = "pcm", 101 .name = "physical dai", 114 .name = "be", 128 .name = "cc", 141 .name 402 tplg_elem_new_common(snd_tplg_t *tplg, snd_config_t *cfg, const char *name, enum snd_tplg_type type) tplg_elem_new_common() argument [all...] |
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationServiceTest.java | 83 String name = Collator.getDisplayName(fu_FU); in TestRegister() 84 if (!"fu (FU, FOO)".equals(name) in TestRegister() 85 && !"fu_FU_FOO".equals(name) /* no LocaleDisplayNamesImpl */) { in TestRegister() 86 errln("found " + name + " for fu_FU"); in TestRegister() 92 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister() 93 if (!"fu (FU, FOO)".equals(name) in TestRegister() 94 && !"fu_FU_FOO".equals(name) /* no LocaleDisplayNamesImpl */) { in TestRegister() 95 errln("found " + name + " for fu_FU"); in TestRegister() 143 String name = null; in TestRegisterFactory() 145 name in TestRegisterFactory() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationServiceTest.java | 86 String name = Collator.getDisplayName(fu_FU); in TestRegister() 87 if (!"fu (FU, FOO)".equals(name) in TestRegister() 88 && !"fu_FU_FOO".equals(name) /* no LocaleDisplayNamesImpl */) { in TestRegister() 89 errln("found " + name + " for fu_FU"); in TestRegister() 95 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister() 96 if (!"fu (FU, FOO)".equals(name) in TestRegister() 97 && !"fu_FU_FOO".equals(name) /* no LocaleDisplayNamesImpl */) { in TestRegister() 98 errln("found " + name + " for fu_FU"); in TestRegister() 146 String name = null; in TestRegisterFactory() 148 name in TestRegisterFactory() [all...] |