| /third_party/musl/porting/liteos_m/kernel/src/time/ |
| H A D | __tz.c | 40 static const unsigned char *zi, *trans, *index_local, *types, *abbrevs, *abbrevs_end; variable 75 if (local) off = (int32_t)zi_read32(types + 6 * index_local[m-1]); in scan_trans() 92 if (local) off = (int32_t)zi_read32(types + 6 * index_local[a-1]); in scan_trans() 94 for (a=0; a<(abbrevs-types)/6; a++) { in scan_trans() 95 if (types[6*a+4] != types[4]) break; in scan_trans() 97 if (a == (abbrevs-types)/6) a = 0; in scan_trans() 98 if (types[6*a+4]) { in scan_trans() 110 if (a && types[6*index_local[a-1]+4] != types[ in scan_trans() [all...] |
| /kernel/linux/linux-5.10/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 29 while (types) { in nvkm_event_put() 30 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_put() 39 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument 42 while (types) { in nvkm_event_get() 43 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_get() 52 nvkm_event_send(struct nvkm_event *event, u32 types, int index, in nvkm_event_send() argument 63 if (notify->index == index && (notify->types in nvkm_event_send() [all...] |
| /third_party/vk-gl-cts/modules/gles2/functional/ |
| H A D | es2fAttribLocationTests.cpp | 49 const AttribType types[] = in createAttributeLocationTests() local 69 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests() 71 const AttribType& type = types[typeNdx]; in createAttributeLocationTests() 82 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests() 84 const AttribType& type = types[typeNdx]; in createAttributeLocationTests() 95 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests() 97 const AttribType& type = types[typeNdx]; in createAttributeLocationTests() 102 // For types which occupy more than one location. Alias second location. in createAttributeLocationTests() 120 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests() 122 const AttribType& type = types[typeNd in createAttributeLocationTests() [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | namespaceMemberAccess.js | 8 import * as types from './a'; 9 types.A; 10 const { A } = types;
23 var types = require("./a");
variable 24 types.A;
25 var A = types.A;
|
| /third_party/node/deps/openssl/openssl/crypto/asn1/ |
| H A D | a_mbstr.c | 29 * of permissible ASN1 string types. It then works out the minimal type 277 unsigned long types = *((unsigned long *)arg); in type_str() local 280 if ((types & B_ASN1_NUMERICSTRING) && !(ossl_isdigit(native) in type_str() 282 types &= ~B_ASN1_NUMERICSTRING; in type_str() 283 if ((types & B_ASN1_PRINTABLESTRING) && !ossl_isasn1print(native)) in type_str() 284 types &= ~B_ASN1_PRINTABLESTRING; in type_str() 285 if ((types & B_ASN1_IA5STRING) && !ossl_isascii(native)) in type_str() 286 types &= ~B_ASN1_IA5STRING; in type_str() 287 if ((types & B_ASN1_T61STRING) && (value > 0xff)) in type_str() 288 types in type_str() [all...] |
| /third_party/openssl/crypto/asn1/ |
| H A D | a_mbstr.c | 29 * of permissible ASN1 string types. It then works out the minimal type 281 unsigned long types = *((unsigned long *)arg); in type_str() local 284 if ((types & B_ASN1_NUMERICSTRING) && !(ossl_isdigit(native) in type_str() 286 types &= ~B_ASN1_NUMERICSTRING; in type_str() 287 if ((types & B_ASN1_PRINTABLESTRING) && !ossl_isasn1print(native)) in type_str() 288 types &= ~B_ASN1_PRINTABLESTRING; in type_str() 289 if ((types & B_ASN1_IA5STRING) && !ossl_isascii(native)) in type_str() 290 types &= ~B_ASN1_IA5STRING; in type_str() 291 if ((types & B_ASN1_T61STRING) && (value > 0xff)) in type_str() 292 types in type_str() [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
| H A D | vgpu.c | 117 * Depend on physical SKU resource, might see vGPU types like in intel_gvt_init_vgpu_types() 119 * different types of vGPU on same physical GPU depending on in intel_gvt_init_vgpu_types() 129 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types() 131 if (!gvt->types) in intel_gvt_init_vgpu_types() 139 gvt->types[i].low_gm_size = vgpu_types[i].low_mm; in intel_gvt_init_vgpu_types() 140 gvt->types[i].high_gm_size = vgpu_types[i].high_mm; in intel_gvt_init_vgpu_types() 141 gvt->types[i].fence = vgpu_types[i].fence; in intel_gvt_init_vgpu_types() 147 gvt->types[i].weight = vgpu_types[i].weight; in intel_gvt_init_vgpu_types() 148 gvt->types[i].resolution = vgpu_types[i].edid; in intel_gvt_init_vgpu_types() 149 gvt->types[ in intel_gvt_init_vgpu_types() [all...] |
| /third_party/node/benchmark/napi/function_args/ |
| H A D | napi_binding.c | 15 napi_valuetype types[1]; in CallWithString() local 16 status = napi_typeof(env, args[0], types); in CallWithString() 19 assert(types[0] == napi_string); in CallWithString() 20 if (types[0] == napi_string) { in CallWithString() 72 napi_valuetype types[1]; in CallWithNumber() local 73 status = napi_typeof(env, args[0], types); in CallWithNumber() 76 assert(types[0] == napi_number); in CallWithNumber() 77 if (types[0] == napi_number) { in CallWithNumber() 94 napi_valuetype types[1]; in CallWithObject() local 95 status = napi_typeof(env, args[0], types); in CallWithObject() 167 napi_valuetype types[1]; CallWithArguments() local [all...] |
| /kernel/linux/linux-6.6/tools/perf/tests/ |
| H A D | event_groups.c | 14 static int types[] = {0, 1, -1}; variable 60 types[2] = pmu->type; in setup_uncore_event() 70 fd = event_open(types[2], configs[2], -1); in setup_uncore_event() 86 group_fd = event_open(types[i], configs[i], -1); in run_test() 90 sibling_fd1 = event_open(types[j], configs[j], group_fd); in run_test() 96 sibling_fd2 = event_open(types[k], configs[k], group_fd); in run_test() 116 if (ret || types[2] == -1) in test__event_groups() 128 types[i], configs[i], types[j], configs[j], in test__event_groups() 129 types[ in test__event_groups() [all...] |
| /third_party/skia/third_party/externals/tint/src/transform/ |
| H A D | remove_phonies.cc | 38 std::vector<const sem::Type*> types; member 41 if (types.size() != other.types.size()) { in operator ==() 44 for (size_t i = 0; i < types.size(); i++) { in operator ==() 45 if (types[i] != other.types[i]) { in operator ==() 56 size_t hash = tint::utils::Hash(sig.types.size()); in operator ()() 57 for (auto* ty : sig.types) { in operator ()() 120 sig.types.push_back(sem.Get(arg)->Type()->UnwrapRef()); in Run() 125 for (auto* ty : sig.types) { in Run() [all...] |
| /third_party/rust/crates/syn/codegen/src/ |
| H A D | parse.rs | 13 use syn_codegen as types; 29 /// Parse the contents of `src` and return a list of AST types. 30 pub fn parse() -> Result<types::Definitions> { in parse() 43 let types = lookup in parse() 55 Ok(types::Definitions { in parse() 57 types, in parse() 68 fn introspect_item(item: &AstItem, lookup: &Lookup) -> types::Node { in introspect_item() 72 Data::Enum(data) => types::Node { in introspect_item() 75 data: types::Data::Enum(introspect_enum(data, lookup)), in introspect_item() 79 Data::Struct(data) => types in introspect_item() [all...] |
| /base/msdp/device_status/utils/common/src/ |
| H A D | preview_style_packer.cpp | 31 std::vector<int32_t> types; in Marshalling() local 32 for (const auto &elem : previewStyle.types) { in Marshalling() 33 types.push_back(static_cast<int32_t>(elem)); in Marshalling() 35 WRITEINT32VECTOR(data, types, ERR_INVALID_VALUE); in Marshalling() 45 std::vector<int32_t> types; in UnMarshalling() local 46 READINT32VECTOR(data, types, ERR_INVALID_VALUE); in UnMarshalling() 47 for (const auto &elem : types) { in UnMarshalling() 48 previewStyle.types.push_back(static_cast<PreviewType>(elem)); in UnMarshalling()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPConstants.cpp | 20 using namespace types; 39 /// Declarations for LLVM-IR types (simple, function and structure) are 46 #define OMP_TYPE(VarName, InitValue) Type *llvm::omp::types::VarName = nullptr; 48 FunctionType *llvm::omp::types::VarName = nullptr; \ 49 PointerType *llvm::omp::types::VarName##Ptr = nullptr; 51 StructType *llvm::omp::types::VarName = nullptr; \ 52 PointerType *llvm::omp::types::VarName##Ptr = nullptr; 57 void llvm::omp::types::initializeTypes(Module &M) { in initializeTypes() 62 // Create all simple and struct types exposed by the runtime and remember in initializeTypes() 78 void llvm::omp::types [all...] |
| /third_party/skia/third_party/externals/tint/src/writer/spirv/ |
| H A D | builder_constructor_expression_test.cc | 34 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeFloat 32 in TEST_F() 61 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F() 80 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F() 105 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 1 in TEST_F() 128 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeFloat 32 in TEST_F() 155 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 0 in TEST_F() 179 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeBool in TEST_F() 194 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 1 in TEST_F() 209 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 0 in TEST_F() 224 EXPECT_EQ(DumpInstructions(b.types()), in TEST_F() [all...] |
| /third_party/node/deps/npm/node_modules/nopt/lib/ |
| H A D | nopt.js | 15 function nopt (types, shorthands, args = process.argv, slice = 2) { 17 types: types || {}, 24 function clean (data, types, typeDefs = exports.typeDefs) { 26 types: types || {},
|
| /third_party/rust/crates/cxx/gen/lib/src/syntax/ |
| H A D | check.rs | 15 types: &'a Types<'a>, 33 pub(crate) fn typecheck(cx: &mut Errors, apis: &[Api], types: &Types, generator: Generator) { 36 types, 45 for ty in cx.types { in do_typecheck() 85 && !cx.types.structs.contains_key(ident) in check_type_ident() 86 && !cx.types.enums.contains_key(ident) in check_type_ident() 87 && !cx.types.cxx.contains(ident) in check_type_ident() 88 && !cx.types.rust.contains(ident) in check_type_ident() 97 if cx.types.cxx.contains(&ident.rust) in check_type_box() 98 && !cx.types in check_type_box() [all...] |
| /third_party/rust/crates/cxx/syntax/ |
| H A D | check.rs | 15 types: &'a Types<'a>, 33 pub(crate) fn typecheck(cx: &mut Errors, apis: &[Api], types: &Types, generator: Generator) { 36 types, 45 for ty in cx.types { in do_typecheck() 85 && !cx.types.structs.contains_key(ident) in check_type_ident() 86 && !cx.types.enums.contains_key(ident) in check_type_ident() 87 && !cx.types.cxx.contains(ident) in check_type_ident() 88 && !cx.types.rust.contains(ident) in check_type_ident() 97 if cx.types.cxx.contains(&ident.rust) in check_type_box() 98 && !cx.types in check_type_box() [all...] |
| /third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
| H A D | check.rs | 15 types: &'a Types<'a>, 33 pub(crate) fn typecheck(cx: &mut Errors, apis: &[Api], types: &Types, generator: Generator) { 36 types, 45 for ty in cx.types { in do_typecheck() 85 && !cx.types.structs.contains_key(ident) in check_type_ident() 86 && !cx.types.enums.contains_key(ident) in check_type_ident() 87 && !cx.types.cxx.contains(ident) in check_type_ident() 88 && !cx.types.rust.contains(ident) in check_type_ident() 97 if cx.types.cxx.contains(&ident.rust) in check_type_box() 98 && !cx.types in check_type_box() [all...] |
| /third_party/rust/crates/cxx/macro/src/syntax/ |
| H A D | check.rs | 15 types: &'a Types<'a>, 33 pub(crate) fn typecheck(cx: &mut Errors, apis: &[Api], types: &Types, generator: Generator) { 36 types, 45 for ty in cx.types { in do_typecheck() 85 && !cx.types.structs.contains_key(ident) in check_type_ident() 86 && !cx.types.enums.contains_key(ident) in check_type_ident() 87 && !cx.types.cxx.contains(ident) in check_type_ident() 88 && !cx.types.rust.contains(ident) in check_type_ident() 97 if cx.types.cxx.contains(&ident.rust) in check_type_box() 98 && !cx.types in check_type_box() [all...] |
| /third_party/rust/crates/cxx/gen/build/src/syntax/ |
| H A D | check.rs | 15 types: &'a Types<'a>, 33 pub(crate) fn typecheck(cx: &mut Errors, apis: &[Api], types: &Types, generator: Generator) { 36 types, 45 for ty in cx.types { in do_typecheck() 85 && !cx.types.structs.contains_key(ident) in check_type_ident() 86 && !cx.types.enums.contains_key(ident) in check_type_ident() 87 && !cx.types.cxx.contains(ident) in check_type_ident() 88 && !cx.types.rust.contains(ident) in check_type_ident() 97 if cx.types.cxx.contains(&ident.rust) in check_type_box() 98 && !cx.types in check_type_box() [all...] |
| /third_party/node/deps/npm/node_modules/aproba/ |
| H A D | index.js | 8 const types = { 14 O: {label: 'object', check: _ => typeof _ === 'object' && _ != null && !types.A.check(_) && !types.E.check(_)}, 29 if (!types.S.check(rawSchemas)) throw invalidType(0, ['string'], rawSchemas) 30 if (!types.A.check(args)) throw invalidType(1, ['array'], args) 37 if (!types[type]) throw unknownType(ii, type) 54 const typeCheck = types[type].check 58 const labels = matching.map(_ => types[_[ii]].label).filter(_ => _ != null) 75 Object.keys(types).forEach(typeCode => { 76 if (types[typeCod [all...] |
| /third_party/python/Tools/c-analyzer/cpython/ |
| H A D | _analyzer.py | 73 types, _ = _datafiles.analyze_known( 77 _KNOWN.update(types) 134 def analyze_resolved(resolved, decl, types, knowntypes, extra=None): 152 unsupported = _check_unsupported(decl, typedeps, types, knowntypes) 158 def _check_unsupported(decl, typedeps, types, knowntypes): 163 return _check_members(decl, typedeps, types, knowntypes) 169 return _check_typedep(decl, typedeps, types, knowntypes) 172 def _check_members(decl, typedeps, types, knowntypes): 186 checked = _check_typedep(member, typedecl, types, knowntypes) 196 def _check_typedep(decl, typedecl, types, knowntype [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | uconn.c | 39 args.v0.types = 0; in nvkm_uconn_uevent_aux() 41 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_aux() 43 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_aux() 45 args.v0.types |= NVIF_CONN_EVENT_V0_IRQ; in nvkm_uconn_uevent_aux() 56 args.v0.types = 0; in nvkm_uconn_uevent_gpio() 58 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_gpio() 60 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_gpio() 104 if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG ) bits |= NVKM_I2C_PLUG; in nvkm_uconn_uevent() 105 if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_I2C_UNPLUG; in nvkm_uconn_uevent() 106 if (args->v0.types in nvkm_uconn_uevent() [all...] |
| /third_party/node/test/internet/ |
| H A D | test-dns-any.js | 109 const types = {}; 111 types[obj.type] = true; 115 return types; 120 const types = processResult(res); 121 assert.ok(types.A && types.NS && types.NAPTR && types.SOA, 122 `Missing record type, found ${Object.keys(types)}`); 140 const types [all...] |
| /third_party/musl/porting/liteos_a/kernel/src/time/ |
| H A D | __tz.c | 36 static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end; variable 71 if (local) off = (int32_t)zi_read32(types + 6 * index[m-1]); in scan_trans() 90 for (size_t i=abbrevs-types; i; i-=6) { in scan_trans() 91 if (!types[i-6+4]) j = i-6; in scan_trans() 93 if (local) off = (int32_t)zi_read32(types + j); in scan_trans() 104 if (a && types[6*index[a-1]+4] != types[6*index[a]+4]) in scan_trans() 106 else if (a+1<n && types[6*index[a+1]+4] != types[6*index[a]+4]) in scan_trans() 163 *isdst = types[ in __secs_to_zone() [all...] |