/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...] |
/build/tools/component_tools/ |
H A D | generate_kconfig.py | 36 def create_config(name: str, comment: str): 37 return KCONFIG_STR.format(name, comment) 40 def create_property(name: str, comment: str): 41 return PROPERTIES_STR.format(name, comment) 44 def create_menu(name: str): 45 return KMENU_STR.format(name) 52 def create_feature(name: str): 53 return FEATURE_STR % (name, name)
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/java/ |
H A D | hdi_java_code_emitter.cpp | 34 std::string HDIJavaCodeEmitter::MethodName(const std::string &name) const
in MethodName() 36 if (name.empty() || islower(name[0])) {
in MethodName() 37 return name;
in MethodName() 39 return StringHelper::Format("%c%s", tolower(name[0]), name.substr(1).c_str());
in MethodName() 67 std::string name = param->GetName();
in EmitInterfaceMethodParameter() local 93 sb.Append(prefix).AppendFormat("%s %s", typeEmitter->EmitJavaType(TypeMode::NO_MODE).c_str(), name.c_str());
in EmitInterfaceMethodParameter() 97 sb.Append(prefix).AppendFormat("unknow type %s", name.c_str());
in EmitInterfaceMethodParameter()
|
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_performance.h | 29 static const char* perfTitle[5] = {"name", "times", "minCost", "maxCost", "avgCost"}; 56 void UpdateItem(std::string name, int32_t cost, int32_t warmup) in UpdateItem() argument 58 if (mapPerfItem.find(name) == mapPerfItem.end()) { in UpdateItem() 63 mapPerfItem[name] = item; in UpdateItem() 65 PerformanceItem& item = mapPerfItem[name]; in UpdateItem() 68 PerformanceItem& item = mapPerfItem[name]; in UpdateItem() 88 * perfTitle[0]: "name" in PrintResult() 117 explicit PerformanceTool(const char* name) : name_(name) in PerformanceTool() argument 122 PerformanceTool(const char* name, int32_ argument [all...] |
/foundation/graphic/graphic_surface/utils/hebc_white_list/ |
H A D | hebc_white_list.cpp | 30 bool HebcWhiteList::Check(const std::string& name) noexcept 36 return (std::find(hebcList_.begin(), hebcList_.end(), name) != hebcList_.end()); 49 void HebcWhiteList::GetApplicationName(std::string& name) noexcept 55 std::getline(procfile, name); 57 name = name.substr(0, name.find('\0')); 72 std::string name = appNameJson[i].asString(); variable 73 hebcList_.emplace_back(name);
|
/foundation/resourceschedule/memmgr/common/src/config/ |
H A D | kill_config.cpp | 74 std::string name = std::string(reinterpret_cast<const char *>(currNodePtr->name)); in ParseKillLevelNode() local 75 if (name.compare("comment") == 0) { in ParseKillLevelNode() 76 HILOGD("%{public}s comment skip :<%{public}s>", __func__, name.c_str()); in ParseKillLevelNode() 79 if (name.compare("killLevel") != 0) { in ParseKillLevelNode() 80 HILOGW("%{public}s unknown node :<%{public}s>", __func__, name.c_str()); in ParseKillLevelNode() 89 HILOGE("node:<%{public}s> <%{public}u, %{public}d> read fail", name.c_str(), memoryMB, minPriority); in ParseKillLevelNode() 93 HILOGE("<%{public}s> %{public}u MB to KB > UINT_MAX", name.c_str(), memoryMB); in ParseKillLevelNode() 99 name.c_str(), memoryKB, minPriority, killLevelsMap_.size()); in ParseKillLevelNode()
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/ |
H A D | file_operations_cloud.h | 25 void Lookup(fuse_req_t req, fuse_ino_t parent, const char *name) override; 29 void MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode) override; 30 void RmDir(fuse_req_t req, fuse_ino_t parent, const char *name) override; 31 void Unlink(fuse_req_t req, fuse_ino_t parent, const char *name) override; 33 void MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, 35 void Create(fuse_req_t req, fuse_ino_t parent, const char *name, 39 void SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 41 void GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 43 void Rename(fuse_req_t req, fuse_ino_t parent, const char *name,
|
H A D | file_operations_base.h | 30 virtual void Lookup(fuse_req_t req, fuse_ino_t parent, const char *name); 36 virtual void MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode); 37 virtual void RmDir(fuse_req_t req, fuse_ino_t parent, const char *name); 38 virtual void Unlink(fuse_req_t req, fuse_ino_t parent, const char *name); 40 virtual void MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, 42 virtual void Create(fuse_req_t req, fuse_ino_t parent, const char *name, 46 virtual void SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 48 virtual void GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 50 virtual void Rename(fuse_req_t req, fuse_ino_t parent, const char *name,
|
H A D | fuse_operations.h | 25 static void Lookup(fuse_req_t req, fuse_ino_t parent, const char *name); 31 static void MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode); 32 static void RmDir(fuse_req_t req, fuse_ino_t parent, const char *name); 33 static void Unlink(fuse_req_t req, fuse_ino_t parent, const char *name); 35 static void MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, 37 static void Create(fuse_req_t req, fuse_ino_t parent, const char *name, 41 static void SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 43 static void GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 45 static void Rename(fuse_req_t req, fuse_ino_t parent, const char *name,
|
/kernel/linux/linux-5.10/drivers/bcma/ |
H A D | driver_chipcommon_sflash.c | 14 .name = "bcma_sflash", 21 .name = "bcma_sflash", 27 char *name; member 110 for (e = bcma_sflash_sst_tbl; e->name; e++) { in bcma_sflash_init() 118 for (e = bcma_sflash_st_tbl; e->name; e++) { in bcma_sflash_init() 124 if (!e->name) { in bcma_sflash_init() 134 for (e = bcma_sflash_at_tbl; e->name; e++) { in bcma_sflash_init() 138 if (!e->name) { in bcma_sflash_init() 155 e->name, sflash->size / 1024, sflash->blocksize, in bcma_sflash_init()
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | selftest.c | 21 #define selftest(n, f) [__idx_##n] = { .name = #n, .func = f }, 24 const char *name; member 31 /* Embed the line number into the parameter name so that we can order tests */ 47 static bool apply_subtest_filter(const char *caller, const char *name) in apply_subtest_filter() argument 76 if (strcmp(tok, name)) { in apply_subtest_filter() 100 if (!apply_subtest_filter(caller, st->name)) in __subtests() 103 pr_info("dma-buf: Running %s/%s\n", caller, st->name); in __subtests() 108 caller, st->name, err); in __subtests() 139 pr_info("dma-buf: Running %s\n", st->name); in run_selftests() 147 st->name, er in run_selftests() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
H A D | cerf.c | 40 .name = "sa11x0-uart", 62 .name = "cerf:d0", 67 .name = "cerf:d1", 72 .name = "cerf:d2", 77 .name = "cerf:d3", 105 .name = "Bootloader", 109 .name = "Params", 113 .name = "Kernel", 117 .name = "Filesystem",
|
H A D | hackkit.c | 102 .name = "BLOB", 107 .name = "config", 111 .name = "kernel", 115 .name = "initrd", 119 .name = "rootfs", 123 .name = "data", 141 .name = "hackkit:red", 146 .name = "hackkit:green", 158 .name = "leds-gpio",
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | sys32.c | 68 #define arg_u32p(name) u32, name##_hi, u32, name##_lo 70 #define arg_u32p(name) u32, name##_lo, u32, name##_hi 73 #define arg_u64(name) (((u64)name##_hi << 32) | name##_lo)
|
/kernel/linux/linux-5.10/arch/sh/boards/ |
H A D | board-edosk7760.c | 34 .name = "bootloader", 39 .name = "kernel", 43 .name = "fs", 47 .name = "other", 61 .name = "NOR Flash", 69 .name = "physmap-flash", 99 .name = SH7760_I2C_DEVNAME, 121 .name = SH7760_I2C_DEVNAME, 146 .name = "smc91x",
|
/kernel/linux/linux-5.10/arch/mips/jazz/ |
H A D | setup.c | 35 .name = "dma1", 40 .name = "timer", 45 .name = "dma page reg", 50 .name = "dma2", 115 .name = "serial8250", 143 .name = "jazz_esp", 168 .name = "jazzsonic", 191 .name = "rtc_cmos", 197 .name = "pcspkr",
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | xcep.c | 48 .name = "Bootloader", 53 .name = "Bootloader ENV", 58 .name = "Kernel", 62 .name = "Rescue fs", 66 .name = "Filesystem", 87 .name = "physmap-flash", 102 .name = "smc91x-regs", 113 .name = "smc91x-attrib", 126 .name = "smc91x",
|
/kernel/linux/linux-5.10/drivers/clk/uniphier/ |
H A D | clk-uniphier.h | 57 const char *name; member 72 .name = (_name), \ 85 .name = (_name), \ 97 .name = (_name), \ 124 const char *name, 127 const char *name, 130 const char *name, 134 const char *name, 138 const char *name,
|
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
H A D | sun_uflash.c | 40 const char *name; /* device name */ member 46 .name = "SUNW,???-????", 76 up->name = of_get_property(dp, "model", NULL); in uflash_devinit() 77 if (up->name && 0 < strlen(up->name)) in uflash_devinit() 78 up->map.name = up->name; in uflash_devinit() 144 .name = UFLASH_OBPNAME, 153 .name [all...] |
/kernel/linux/linux-6.6/arch/mips/jazz/ |
H A D | setup.c | 35 .name = "dma1", 40 .name = "timer", 45 .name = "dma page reg", 50 .name = "dma2", 115 .name = "serial8250", 143 .name = "jazz_esp", 168 .name = "jazzsonic", 191 .name = "rtc_cmos", 197 .name = "pcspkr",
|