| /third_party/node/tools/inspector_protocol/jinja2/ |
| H A D | sandbox.py | 15 import types namespace 65 # on python 2.x we can register the user collection types 138 if not isinstance(callable, (types.MethodType, 139 types.BuiltinMethodType)) or \ 183 if isinstance(obj, types.FunctionType): 186 elif isinstance(obj, types.MethodType): 193 elif isinstance(obj, (types.CodeType, types.TracebackType, types.FrameType)): 195 elif isinstance(obj, types [all...] |
| /third_party/skia/third_party/externals/jinja2/ |
| H A D | sandbox.py | 6 import types namespace 59 # on python 2.x we can register the user collection types 158 callable, (types.MethodType, types.BuiltinMethodType) 206 if isinstance(obj, types.FunctionType): 209 elif isinstance(obj, types.MethodType): 215 elif isinstance(obj, (types.CodeType, types.TracebackType, types.FrameType)): 217 elif isinstance(obj, types [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | event.c | 26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument 30 nvkm_trace(event->subdev, "event: decr %08x on %d\n", types, index); in nvkm_event_put() 32 while (types) { in nvkm_event_put() 33 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_put() 43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument 47 nvkm_trace(event->subdev, "event: incr %08x on %d\n", types, index); in nvkm_event_get() 49 while (types) { in nvkm_event_get() 50 int type = __ffs(types); types in nvkm_event_get() [all...] |
| /foundation/distributeddatamgr/pasteboard/framework/test/src/ |
| H A D | paste_data_record_test.cpp | 278 auto types = record->GetValidTypes(inputTypes); in HWTEST_F() local 279 ASSERT_EQ(types.size(), 0); in HWTEST_F() 282 types = record->GetValidTypes(inputTypes); in HWTEST_F() 283 auto it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)); in HWTEST_F() 284 ASSERT_NE(it, types.end()); in HWTEST_F() 287 types = record->GetValidTypes(inputTypes); in HWTEST_F() 288 it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)); in HWTEST_F() 289 ASSERT_NE(it, types in HWTEST_F() [all...] |
| /third_party/rust/crates/syn/codegen/src/ |
| H A D | gen.rs | 16 let mut types = defs.types.clone(); in traverse() variables 18 types.push(Node { in traverse() 25 types.sort_by(|a, b| a.ident.cmp(&b.ident)); in traverse() 29 for s in types { in traverse()
|
| /foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
| H A D | unified_record_test.cpp | 97 auto types = record.GetUtdIds(); in HWTEST_F() local 98 EXPECT_TRUE(types.empty()); in HWTEST_F() 122 auto types = record.GetUtdIds(); in HWTEST_F() local 123 EXPECT_TRUE(types.find(utdId) != types.end()); in HWTEST_F() 148 auto types = record.GetUtdIds(); in HWTEST_F() local 149 EXPECT_TRUE(types.find(utdId) != types.end()); in HWTEST_F()
|
| /third_party/jerryscript/jerry-core/ecma/base/ |
| H A D | ecma-property-hashmap.c | 96 ecma_property_types_t type = ECMA_PROPERTY_GET_TYPE (prop_iter_p->types[i]); in ecma_property_hashmap_create() 131 hashmap_p->header.types[0] = ECMA_PROPERTY_TYPE_HASHMAP; in ecma_property_hashmap_create() 151 if (!ECMA_PROPERTY_IS_NAMED_PROPERTY (prop_iter_p->types[i])) in ecma_property_hashmap_create() 158 uint32_t entry_index = ecma_string_get_property_name_hash (prop_iter_p->types[i], in ecma_property_hashmap_create() 207 JERRY_ASSERT (property_p->types[0] == ECMA_PROPERTY_TYPE_HASHMAP); in ecma_property_hashmap_free() 231 JERRY_ASSERT (hashmap_p->header.types[0] == ECMA_PROPERTY_TYPE_HASHMAP); in ecma_property_hashmap_insert() 305 JERRY_ASSERT (hashmap_p->header.types[0] == ECMA_PROPERTY_TYPE_HASHMAP); in ecma_property_hashmap_delete() 342 if ((property_pair_p->header.types + offset) == property_p) in ecma_property_hashmap_delete() 393 if (ECMA_PROPERTY_IS_NAMED_PROPERTY (prop_iter_p->types[i])) in ecma_property_hashmap_find() 395 if (ecma_string_compare_to_property_name (prop_iter_p->types[ in ecma_property_hashmap_find() [all...] |
| H A D | ecma-helpers.c | 36 * \addtogroup ecmahelpers Helpers for operations with ECMA data types 324 if (prop_iter_p->types[0] == ECMA_PROPERTY_TYPE_HASHMAP) in ecma_clone_decl_lexical_environment() 341 if (prop_iter_p->types[i] != ECMA_PROPERTY_TYPE_DELETED) in ecma_clone_decl_lexical_environment() 343 JERRY_ASSERT (ECMA_PROPERTY_GET_TYPE (prop_iter_p->types[i]) == ECMA_PROPERTY_TYPE_NAMEDDATA); in ecma_clone_decl_lexical_environment() 345 uint8_t prop_attributes = (uint8_t) (prop_iter_p->types[i] & ECMA_PROPERTY_CONFIGURABLE_ENUMERABLE_WRITABLE); in ecma_clone_decl_lexical_environment() 346 ecma_string_t *name_p = ecma_string_from_property_name (prop_iter_p->types[i], prop_pair_p->names_cp[i]); in ecma_clone_decl_lexical_environment() 403 if (first_property_p->types[0] == ECMA_PROPERTY_TYPE_HASHMAP) in ecma_create_property() 414 if (first_property_p->types[0] == ECMA_PROPERTY_TYPE_DELETED) in ecma_create_property() 421 first_property_p->types[0] = (ecma_property_t) (type_and_flags | name_type); in ecma_create_property() 423 ecma_property_t *property_p = first_property_p->types in ecma_create_property() [all...] |
| /third_party/skia/third_party/externals/tint/src/writer/spirv/ |
| H A D | builder_global_variable_test.cc | 36 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeFloat 32 in TEST_F() 55 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F() 77 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F() 95 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F() 114 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F() 146 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeSampler in TEST_F() 165 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeBool in TEST_F() 183 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeBool in TEST_F() 201 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeBool in TEST_F() 219 EXPECT_EQ(DumpInstructions(b.types()), in TEST_F() [all...] |
| H A D | builder_literal_test.cc | 34 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeBool in TEST_F() 49 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeBool in TEST_F() 68 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeBool in TEST_F() 83 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeInt 32 1 in TEST_F() 99 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeInt 32 1 in TEST_F() 114 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeInt 32 0 in TEST_F() 130 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeInt 32 0 in TEST_F() 145 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeFloat 32 in TEST_F() 161 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeFloat 32 in TEST_F()
|
| H A D | builder_accessor_expression_test.cc | 44 EXPECT_EQ(DumpInstructions(b.types()), R"(%4 = OpTypeFloat 32 in TEST_F() 82 EXPECT_EQ(DumpInstructions(b.types()), R"(%4 = OpTypeFloat 32 in TEST_F() 119 EXPECT_EQ(DumpInstructions(b.types()), R"(%4 = OpTypeFloat 32 in TEST_F() 155 EXPECT_EQ(DumpInstructions(b.types()), R"(%5 = OpTypeFloat 32 in TEST_F() 192 EXPECT_EQ(DumpInstructions(b.types()), R"(%5 = OpTypeFloat 32 in TEST_F() 239 EXPECT_EQ(DumpInstructions(b.types()), R"(%4 = OpTypeFloat 32 in TEST_F() 284 EXPECT_EQ(DumpInstructions(b.types()), R"(%5 = OpTypeFloat 32 in TEST_F() 327 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F() 368 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeFloat 32 in TEST_F() 412 EXPECT_EQ(DumpInstructions(b.types()), in TEST_F() [all...] |
| /third_party/curl/CMake/ |
| H A D | CurlTests.c | 27 #include <sys/types.h> 69 #include <sys/types.h> 110 #include <sys/types.h> 126 #include <sys/types.h> 153 #include <sys/types.h> 243 # include <sys/types.h> 271 # include <sys/types.h> 306 # include <sys/types.h> 391 # include <sys/types.h>
|
| /third_party/node/deps/v8/src/torque/ |
| H A D | declarable.cc | 45 m.signature().parameter_types.types.begin(), in operator <<() 46 m.signature().parameter_types.types.begin() + in operator <<() 50 m.signature().parameter_types.types.begin() + in operator <<() 52 m.signature().parameter_types.types.end()); in operator <<() 122 const std::vector<const Type*>& types, in FindConstraintViolation() 124 DCHECK_EQ(constraints.size(), types.size()); in FindConstraintViolation() 125 for (size_t i = 0; i < types.size(); ++i) { in FindConstraintViolation() 126 if (auto violation = constraints[i].IsViolated(types[i])) { in FindConstraintViolation() 152 declaration()->parameters.types; in InferSpecializationTypes() 121 FindConstraintViolation( const std::vector<const Type*>& types, const std::vector<TypeConstraint>& constraints) FindConstraintViolation() argument
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | namespaceImportTypeQuery.js | 9 import * as types from './a'; 10 let A: typeof types.A; 11 let B: typeof types.B; 13 let t: typeof types = { 14 // error: while you can ask for `typeof types.A`, 15 // `typeof types` does not include `A` 43 // error: while you can ask for `typeof types.A`,
44 // `typeof types` does not include `A`
|
| /third_party/node/test/common/ |
| H A D | dns.js | 6 const types = { 80 for (const name in types) { 81 if (types[name] === type) 91 case types.A: 96 case types.AAAA: 101 case types.TXT: 115 case types.MX: 124 case types.NS: 125 case types.CNAME: 126 case types [all...] |
| /third_party/musl/porting/linux/user/src/time/ |
| H A D | __tz.c | 53 static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end; variable 267 * map[36]-map[39]: The number of local time types for which data entries are in do_tzset() 293 types = index + zi_read32(trans-12); in do_tzset() 294 abbrevs = types + 6*zi_read32(trans-8); in do_tzset() 303 for (p=types; p<abbrevs; p+=6) { in do_tzset() 367 if (local) off = (int32_t)zi_read32(types + 6 * index[m-1]); in scan_trans() 386 for (size_t i=abbrevs-types; i; i-=6) { in scan_trans() 387 if (!types[i-6+4]) j = i-6; in scan_trans() 389 if (local) off = (int32_t)zi_read32(types + j); in scan_trans() 400 if (a && types[ in scan_trans() [all...] |
| /third_party/musl/src/time/ |
| H A D | __tz.c | 43 static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end, *tzdata_map; variable 341 * map[36]-map[39]: The number of local time types for which data entries are in do_tzset() 367 types = index + zi_read32(trans-12); in do_tzset() 368 abbrevs = types + 6*zi_read32(trans-8); in do_tzset() 377 for (p=types; p<abbrevs; p+=6) { in do_tzset() 441 if (local) off = (int32_t)zi_read32(types + 6 * index[m-1]); in scan_trans() 460 for (size_t i=abbrevs-types; i; i-=6) { in scan_trans() 461 if (!types[i-6+4]) j = i-6; in scan_trans() 463 if (local) off = (int32_t)zi_read32(types + j); in scan_trans() 474 if (a && types[ in scan_trans() [all...] |
| /foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
| H A D | mock_data_ability_impl.cpp | 38 std::vector<std::string> types; in GetFileTypes() local 39 types.push_back("Type1"); in GetFileTypes() 40 types.push_back("Type2"); in GetFileTypes() 41 types.push_back("Type3"); in GetFileTypes() 42 return types; in GetFileTypes()
|
| /third_party/vk-gl-cts/modules/egl/ |
| H A D | teglMakeCurrentPerfTests.cpp | 215 vector<SurfaceType> types; in createSurfaces() local 218 types.push_back(SURFACETYPE_WINDOW); in createSurfaces() 221 types.push_back(SURFACETYPE_PIXMAP); in createSurfaces() 224 types.push_back(SURFACETYPE_PBUFFER); in createSurfaces() 226 DE_ASSERT((int)types.size() <= m_spec.surfaceCount); in createSurfaces() 231 SurfaceType type = types[surfaceNdx % types.size()]; in createSurfaces() 558 const MakeCurrentPerfCase::SurfaceType types[] = { in init() local 564 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in init() 570 spec.surfaceTypes = types[typeNd in init() 588 const MakeCurrentPerfCase::SurfaceType types[] = { init() local 625 const MakeCurrentPerfCase::SurfaceType types[] = { init() local 668 const MakeCurrentPerfCase::SurfaceType types[] = { init() local [all...] |
| /third_party/node/test/async-hooks/ |
| H A D | test-enable-disable.js | 96 const types = [ 'Immediate', 'Unknown' ]; 152 const as1 = hook1.activitiesOfTypes(types); 153 const as2 = hook2.activitiesOfTypes(types); 154 const as3 = hook3.activitiesOfTypes(types); 189 const as1 = hook1.activitiesOfTypes(types); 190 const as2 = hook2.activitiesOfTypes(types); 191 const as3 = hook3.activitiesOfTypes(types);
|
| /third_party/node/test/parallel/ |
| H A D | test-http2-client-request-options-errors.js | 21 const types = { 39 Object.keys(types).forEach((type) => { 48 [option]: types[type] 53 `Received ${inspect(types[type])}`
|
| H A D | test-fs-readdir-types.js | 16 const types = { 25 const typeMethods = Object.keys(types); 81 // Check for correct types when the binding returns unknowns 85 binding.readdir = common.mustCall((path, encoding, types, req, ctx) => { 96 oldReaddir(path, encoding, types, req); 98 const results = oldReaddir(path, encoding, types, req, ctx); 110 // Dirent types 112 const dirent = new fs.Dirent('foo', types[method]);
|
| /third_party/node/deps/v8/src/wasm/ |
| H A D | canonical-types.h | 22 // types. 23 // A recursive group is a subsequence of types explicitly marked in the type 26 // types in two identical groups are considered identical for all purposes. 29 // - identical types, if those do not belong to the rec. group, 30 // - types in the same relative position in the group, if those belong to the 42 // Registers the last {size} types of {module} as a recursive group, and 83 return types == other.types; in operator ==() 87 return types != other.types; in operator !=() 98 std::vector<CanonicalType> types; global() member [all...] |
| /third_party/node/deps/undici/src/lib/fetch/ |
| H A D | webidl.js | 3 const { types } = require('util') 6 /** @type {import('../../types/webidl').Webidl} */ 17 const plural = context.types.length === 1 ? '' : ' one of' 20 `${plural}: ${context.types.join(', ')}.` 61 // https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values 271 if (!types.isProxy(O)) { 511 !types.isAnyArrayBuffer(V) 516 types: ['ArrayBuffer'] 524 if (opts.allowShared === false && types.isSharedArrayBuffer(V)) { 550 !types [all...] |
| /third_party/python/Lib/test/test_importlib/ |
| H A D | test_api.py | 12 import types namespace 110 module = types.ModuleType(name) 123 module = types.ModuleType(name) 136 module = types.ModuleType(name) 228 with import_helper.CleanImport('types'): 229 import types namespace 230 loader = types.__loader__ 231 del types.__loader__ 232 reloaded = self.init.reload(types) 234 self.assertIs(reloaded, types) 240 import types global() namespace [all...] |