/third_party/python/Lib/ |
H A D | glob.py | 106 names = _listdir(dirname, dir_fd, dironly) 108 names = (x for x in names if include_hidden or not _ishidden(x)) 109 return fnmatch.filter(names, pattern) 139 # If dironly is false, yields all file names inside a directory. 140 # If dironly is true, yields only directory names. 181 names = _listdir(dirname, dir_fd, dironly) 182 for x in names:
|
H A D | tempfile.py | 9 The default path names are returned as str. If you supply bytes as 19 TMP_MAX - maximum number of names that will be tried before 135 into file names. Each string is eight characters long. Multiple 198 # Try only a few names per directory. 220 break # no point trying more names in this directory 222 break # no point trying more names in this directory 247 names = _get_candidate_names() 249 names = map(_os.fsencode, names) 252 name = next(names) [all...] |
/third_party/googletest/googlemock/scripts/generator/cpp/ |
H A D | ast.py | 203 def __init__(self, start, end, names): 205 self.names = names 208 return self._StringHelper(self.__class__.__name__, str(self.names)) 244 names = [n or '<anonymous>' for n in self.namespace] 245 suffix += ' in ' + '::'.join(names) 489 names = [] 495 names.append(t.name) 496 name = ''.join(names) 578 # Ensure that names hav [all...] |
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | skx_common.c | 46 const char * const *names; in skx_adxl_get() local 49 names = adxl_get_component_names(); in skx_adxl_get() 50 if (!names) { in skx_adxl_get() 56 for (j = 0; names[j]; j++) { in skx_adxl_get() 57 if (!strcmp(component_names[i], names[j])) { in skx_adxl_get() 63 if (!names[j]) in skx_adxl_get() 67 adxl_component_names = names; in skx_adxl_get() 68 while (*names++) in skx_adxl_get() 89 for (j = 0; names[j]; j++) in skx_adxl_get() 90 skx_printk(KERN_CONT, "%s ", names[ in skx_adxl_get() [all...] |
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | skx_common.c | 53 const char * const *names; in skx_adxl_get() local 56 names = adxl_get_component_names(); in skx_adxl_get() 57 if (!names) { in skx_adxl_get() 63 for (j = 0; names[j]; j++) { in skx_adxl_get() 64 if (!strcmp(component_names[i], names[j])) { in skx_adxl_get() 74 if (!names[j] && i < INDEX_NM_FIRST) in skx_adxl_get() 85 adxl_component_names = names; in skx_adxl_get() 86 while (*names++) in skx_adxl_get() 107 for (j = 0; names[j]; j++) in skx_adxl_get() 108 skx_printk(KERN_CONT, "%s ", names[ in skx_adxl_get() [all...] |
/third_party/gn/src/base/ |
H A D | logging.h | 150 // Note: the log severities are used to index into the array of names, 503 std::string* MakeCheckOpString(const t1& v1, const t2& v2, const char* names) { in MakeCheckOpString() argument 505 ss << names << " ("; in MakeCheckOpString() local 518 const char* names); 522 const char* names); 526 const char* names); 530 const char* names); 547 const char* names) { \ 551 return ::logging::MakeCheckOpString(v1, v2, names); \ 553 inline std::string* Check##name##Impl(int v1, int v2, const char* names) { \ [all...] |
/third_party/nghttp2/doc/_exts/rubydomain/ |
H A D | rubydomain.py | 68 names=('param', 'parameter', 'arg', 'argument'), variable in RubyObject 71 names=('var', 'ivar', 'cvar'), variable in RubyObject 74 names=('raises', 'raise', 'exception', 'except'), variable in RubyObject 77 names=('returns', 'return')), variable in RubyObject 79 names=('rtype',)), variable in RubyObject 218 signode['names'].append(fullname) 220 signode['first'] = (not self.names) 323 if self.names: 324 self.env.temp_data['rb:class'] = self.names[0][0] 374 lastname = self.names an [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | icusvtst.cpp | 702 // iterate over the display names in testAPI_Two() 705 UVector names(status); in testAPI_Two() 706 service.getDisplayNames(names, status); in testAPI_Two() 707 for (int i = 0; i < names.size(); ++i) { in testAPI_Two() 708 const StringPair* pair = (const StringPair*)names[i]; in testAPI_Two() 711 confirmIdentical("26) display names", names.size(), 4); in testAPI_Two() 741 // this time, we have seven display names in testAPI_Two() 745 UVector names(status); in testAPI_Two() 746 service.getDisplayNames(names, Local in testAPI_Two() [all...] |
/third_party/rust/crates/clap/src/builder/ |
H A D | arg.rs | 292 pub fn aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self { in aliases() 294 .extend(names.into_iter().map(|x| (x.into(), false))); in aliases() 320 pub fn short_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self { in short_aliases() 321 for s in names { in short_aliases() 406 pub fn visible_aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self { in visible_aliases() 408 .extend(names.into_iter().map(|n| (n.into(), true))); in visible_aliases() 431 pub fn visible_short_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self { in visible_short_aliases() 432 for n in names { in visible_short_aliases() 1167 /// These names are cosmetic only, used for help and usage strings only. The names ar [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | rdb_result_set_impl_test.cpp | 100 std::vector<std::string> names; in HWTEST_F() local 101 resultSet->GetAllColumnNames(names); in HWTEST_F() 102 ASSERT_EQ(Names.size(), names.size()); in HWTEST_F() 104 ASSERT_EQ(Names[i].first, names[i]); in HWTEST_F() 107 ASSERT_EQ(colName, names[i]); in HWTEST_F() 223 std::vector<std::string> names; in HWTEST_F() local 224 EXPECT_EQ(resultSet->GetAllColumnNames(names), NativeRdb::E_OK); in HWTEST_F() 230 EXPECT_EQ(resultSet->GetColumnIndex(names[1], columnIndex), NativeRdb::E_OK); in HWTEST_F()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
H A D | DataReadWriteTest.java | 178 String[] names = { "zero", "one" }; in testNamedIndex() 180 xrw.namedIndex("x", names, 0); in testNamedIndex() 181 xrw.namedIndex("y", names, 1); in testNamedIndex() 188 assertEquals(null, 0, xrr.namedIndex("x", names)); in testNamedIndex() 189 assertEquals(null, 1, xrr.namedIndex("y", names)); in testNamedIndex() 194 String[] names = { "zero", "one" }; in testNamedIndexArray() 216 xrw.namedIndexArray("test", names, data); in testNamedIndexArray() 223 byte[] out = xrr.namedIndexArray("test", names); in testNamedIndexArray()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
H A D | DataReadWriteTest.java | 181 String[] names = { "zero", "one" }; in testNamedIndex() 183 xrw.namedIndex("x", names, 0); in testNamedIndex() 184 xrw.namedIndex("y", names, 1); in testNamedIndex() 191 assertEquals(null, 0, xrr.namedIndex("x", names)); in testNamedIndex() 192 assertEquals(null, 1, xrr.namedIndex("y", names)); in testNamedIndex() 197 String[] names = { "zero", "one" }; in testNamedIndexArray() 219 xrw.namedIndexArray("test", names, data); in testNamedIndexArray() 226 byte[] out = xrr.namedIndexArray("test", names); in testNamedIndexArray()
|
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | diff_state.py | 199 names = set(a.keys()) 201 names.update(b.keys()) 202 names = list(names) 203 names.sort() 205 for i in range(len(names)): 206 name = names[i] 212 self.dumper.leave_member(i == len(names) - 1)
|
/third_party/rust/crates/serde/serde/src/de/ |
H A D | mod.rs | 259 OneOf { names: expected } in unknown_variant() 277 OneOf { names: expected } in unknown_field() 2169 /// The `fields` are the names of the fields of the struct variant. in tuple_variant() 2269 /// The slice of names must not be empty. 2271 names: &'static [&'static str], 2276 match self.names.len() { in fmt() 2278 1 => write!(formatter, "`{}`", self.names[0]), in fmt() 2279 2 => write!(formatter, "`{}` or `{}`", self.names[0], self.names[1]), in fmt() 2282 for (i, alt) in self.names in fmt() [all...] |
/foundation/ability/ability_lite/interfaces/inner_api/abilitymgr_lite/slite/ |
H A D | bms_helper.h | 43 int32_t RegisterBundleNames(const List<char *> &names); 49 int32_t RegisterTemporaryBundleNames(const List<char *> &names);
|
/kernel/linux/linux-5.10/drivers/zorro/ |
H A D | Makefile | 8 obj-$(CONFIG_ZORRO_NAMES) += names.o 16 $(obj)/names.o: $(obj)/devlist.h
|
/kernel/linux/linux-6.6/drivers/zorro/ |
H A D | Makefile | 8 obj-$(CONFIG_ZORRO_NAMES) += names.o 16 $(obj)/names.o: $(obj)/devlist.h
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
H A D | RecordWriter.java | 20 void namedIndex(String name, String[] names, int value); in namedIndex() argument 21 void namedIndexArray(String name, String[] names, byte[] values); in namedIndexArray() argument
|
H A D | RecordReader.java | 20 byte namedIndex(String name, String[] names); in namedIndex() argument 21 byte[] namedIndexArray(String name, String[] names); in namedIndexArray() argument
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/ |
H A D | RecordWriter.java | 21 void namedIndex(String name, String[] names, int value); in namedIndex() argument 22 void namedIndexArray(String name, String[] names, byte[] values); in namedIndexArray() argument
|
H A D | RecordReader.java | 21 byte namedIndex(String name, String[] names); in namedIndex() argument 22 byte[] namedIndexArray(String name, String[] names); in namedIndexArray() argument
|
/third_party/json/docs/examples/ |
H A D | update__range.cpp | 11 json o1 = R"( {"color": "red", "price": 17.99, "names": {"de": "Flugzeug"}} )"_json; in main() 12 json o2 = R"( {"color": "blue", "speed": 100, "names": {"en": "plane"}} )"_json; in main() 15 // add all keys from o2 to o1 (updating "color", replacing "names") in main() 18 // add all keys from o2 to o1 (updating "color", merging "names") in main()
|
H A D | update.cpp | 11 json o1 = R"( {"color": "red", "price": 17.99, "names": {"de": "Flugzeug"}} )"_json; in main() 12 json o2 = R"( {"color": "blue", "speed": 100, "names": {"en": "plane"}} )"_json; in main() 15 // add all keys from o2 to o1 (updating "color", replacing "names") in main() 18 // add all keys from o2 to o1 (updating "color", merging "names") in main()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_prim.c | 43 static const struct debug_named_value names[] = { in u_prim_name() local 60 return debug_dump_enum(names, prim); in u_prim_name()
|
/third_party/selinux/libsepol/src/ |
H A D | constraint.c | 31 ebitmap_init(&expr->names); in constraint_expr_init() 45 ebitmap_destroy(&expr->names); in constraint_expr_destroy()
|