/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | ninja.py | 378 def WriteSpec(self, spec, config_name, generator_flags): 379 """The main entry point for NinjaWriter: write the build rules for a spec. 381 Returns a Target object, which represents the output paths for this spec. 386 self.name = spec["target_name"] 387 self.toolset = spec["toolset"] 388 config = spec["configurations"][config_name] 389 self.target = Target(spec["type"]) 391 spec.get("standalone_static_library", 0) 396 self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spec) 399 self.xcode_settings = gyp.xcode_emulation.XcodeSettings(spec) [all...] |
H A D | xcode.py | 642 # Optionally configure each spec to use ninja as the external builder. 703 spec = target_dicts[qualified_target] 704 if spec["toolset"] != "target": 709 configuration_names = [spec["default_configuration"]] 710 for configuration_name in sorted(spec["configurations"].keys()): 748 type = spec["type"] 749 is_xctest = int(spec.get("mac_xctest_bundle", 0)) 750 is_xcuitest = int(spec.get("mac_xcuitest_bundle", 0)) 751 is_bundle = int(spec.get("mac_bundle", 0)) or is_xctest 752 is_app_extension = int(spec [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | ninja.py | 378 def WriteSpec(self, spec, config_name, generator_flags): 379 """The main entry point for NinjaWriter: write the build rules for a spec. 381 Returns a Target object, which represents the output paths for this spec. 386 self.name = spec["target_name"] 387 self.toolset = spec["toolset"] 388 config = spec["configurations"][config_name] 389 self.target = Target(spec["type"]) 391 spec.get("standalone_static_library", 0) 396 self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spec) 399 self.xcode_settings = gyp.xcode_emulation.XcodeSettings(spec) [all...] |
H A D | xcode.py | 642 # Optionally configure each spec to use ninja as the external builder. 703 spec = target_dicts[qualified_target] 704 if spec["toolset"] != "target": 709 configuration_names = [spec["default_configuration"]] 710 for configuration_name in sorted(spec["configurations"].keys()): 748 type = spec["type"] 749 is_xctest = int(spec.get("mac_xctest_bundle", 0)) 750 is_xcuitest = int(spec.get("mac_xcuitest_bundle", 0)) 751 is_bundle = int(spec.get("mac_bundle", 0)) or is_xctest 752 is_app_extension = int(spec [all...] |
/third_party/python/Lib/unittest/ |
H A D | mock.py | 42 """Indicates that an invalid value was used as a mock spec.""" 426 # Check if spec is an async object or function 428 spec_arg = bound_args.get('spec_set', bound_args.get('spec')) 437 self, spec=None, wraps=None, name=None, spec_set=None, 452 spec = spec_set 457 self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) 476 spec, wraps, name, spec_set, parent, 496 def mock_add_spec(self, spec, spec_set=False): 497 """Add a spec to a mock. `spec` ca [all...] |
/third_party/mesa3d/src/intel/common/ |
H A D | intel_decoder.h | 53 struct intel_group *intel_spec_find_struct(struct intel_spec *spec, const char *name); 59 void intel_spec_destroy(struct intel_spec *spec); 60 uint32_t intel_spec_get_gen(struct intel_spec *spec); 61 struct intel_group *intel_spec_find_instruction(struct intel_spec *spec, 64 struct intel_group *intel_spec_find_register(struct intel_spec *spec, uint32_t offset); 65 struct intel_group *intel_spec_find_register_by_name(struct intel_spec *spec, const char *name); 66 struct intel_enum *intel_spec_find_enum(struct intel_spec *spec, const char *name); 72 struct intel_enum *intel_spec_find_enum(struct intel_spec *spec, const char *name); 114 struct intel_spec *spec; member 243 struct intel_spec *spec; member [all...] |
/third_party/node/deps/v8/tools/wasm/ |
H A D | update-wasm-spec-tests.sh | 30 SPEC_TEST_DIR=${V8_DIR}/test/wasm-spec-tests 51 # Generate the spec tests. 54 echo Process spec 56 log_and_run git clone https://github.com/WebAssembly/spec 57 log_and_run cd spec/interpreter 60 # https://github.com/WebAssembly/spec/tree/master/interpreter/. 63 log_and_run cd ${TMP_DIR}/spec/test/core 66 log_and_run ./run.py --wasm ${TMP_DIR}/spec/interpreter/wasm --out ${TMP_DIR} 69 log_and_run cp -r ${TMP_DIR}/spec/test/js-api/* ${JS_API_TEST_DIR}/tests 101 # Compile the spec interprete [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | exception_safety_testing.cc | 50 std::string GetSpecString(TypeSpec spec) { in GetSpecString() argument 57 if (static_cast<bool>(TypeSpec::kNoThrowCopy & spec)) { in GetSpecString() 60 if (static_cast<bool>(TypeSpec::kNoThrowMove & spec)) { in GetSpecString() 63 if (static_cast<bool>(TypeSpec::kNoThrowNew & spec)) { in GetSpecString() 69 std::string GetSpecString(AllocSpec spec) { in GetSpecString() argument 70 return static_cast<bool>(AllocSpec::kNoThrowAllocate & spec) in GetSpecString()
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeSpecificationTest.java | 131 RangeSpecification spec = parse("123[4-7]xxxx"); in testFirst() 132 assertThat(spec.first(3)).isEqualTo(parse("123")); in testFirst() 133 assertThat(spec.first(6)).isEqualTo(parse("123[4-7]xx")); in testFirst() 134 assertThat(spec.first(spec.length())).isSameInstanceAs(spec); in testFirst() 135 assertThat(spec.first(100)).isSameInstanceAs(spec); in testFirst() 136 assertThat(spec.first(0)).isEqualTo(RangeSpecification.empty()); in testFirst() 137 assertThrows(IllegalArgumentException.class, () -> spec in testFirst() [all...] |
/third_party/node/deps/npm/node_modules/pacote/lib/ |
H A D | remote.js | 11 constructor (spec, opts) { 12 super(spec, opts) 13 this.resolved = this.spec.fetchSpec 22 const nameat = this.spec.name ? `${this.spec.name}@` : '' 39 spec: this.spec, 81 // getting a packument and/or manifest is the same as with a file: spec.
|
H A D | registry.js | 25 constructor (spec, opts) { 26 super(spec, opts) 36 this.registry = fetch.pickRegistry(spec, opts) 38 this.spec.escapedName 60 { package: this.spec.toString() } 74 'pacote-pkg-id': `registry:${this.spec.name}`, 94 spec: this.spec, 130 let mani = await pickManifest(packument, this.spec.fetchSpec, { 297 const purl = this.spec [all...] |
/third_party/ltp/testcases/kernel/syscalls/timer_gettime/ |
H A D | timer_gettime01.c | 20 { .timer_gettime = sys_timer_gettime, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old kernel spec"}, 24 { .timer_gettime = sys_timer_gettime64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with kernel spec"}, 51 struct tst_its spec = {.type = tv->ts_type, }; in verify() local 53 TEST(tv->timer_gettime(timer, tst_its_get(&spec))); in verify() 55 if (tst_its_get_interval_sec(spec) || in verify() 56 tst_its_get_interval_nsec(spec) || in verify() 57 tst_its_get_value_sec(spec) || in verify() 58 tst_its_get_value_nsec(spec)) in verify() 66 TEST(tv->timer_gettime((kernel_timer_t)-1, tst_its_get(&spec))); in verify()
|
/third_party/skia/third_party/externals/angle2/src/compiler/fuzz/ |
H A D | translator_fuzzer.cpp | 70 return type == other.type && spec == other.spec && output == other.output; in operator ==() 74 uint32_t spec = 0; member 87 return (hash<uint32_t>()(k.type) << 1) ^ (hash<uint32_t>()(k.spec) >> 1) ^ in operator ()() 115 uint32_t spec = *reinterpret_cast<const uint32_t *>(data + 4); in LLVMFuzzerTestOneInput() local 124 if (spec != SH_GLES2_SPEC && type != SH_WEBGL_SPEC && spec != SH_GLES3_SPEC && in LLVMFuzzerTestOneInput() 125 spec != SH_WEBGL2_SPEC) in LLVMFuzzerTestOneInput() 193 key.spec = spec; in LLVMFuzzerTestOneInput() [all...] |
/third_party/mesa3d/src/intel/common/tests/ |
H A D | genxml_test.c | 51 test_struct(struct intel_spec *spec) { in test_struct() argument 68 group = intel_spec_find_struct(spec, "TEST_STRUCT"); in test_struct() 96 test_two_levels(struct intel_spec *spec) { in test_two_levels() argument 109 group = intel_spec_find_struct(spec, "STRUCT_TWO_LEVELS"); in test_two_levels() 132 struct intel_spec *spec = intel_spec_load_filename(GENXML_PATH); in main() local 137 test_struct(spec); in main() 138 test_two_levels(spec); in main() 140 intel_spec_destroy(spec); in main()
|
/third_party/ltp/testcases/kernel/syscalls/clock_settime/ |
H A D | clock_settime02.c | 92 static struct tst_ts spec; variable 96 { .clock_gettime = sys_clock_gettime, .clock_settime = sys_clock_settime, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old kernel spec"}, 100 { .clock_gettime = sys_clock_gettime64, .clock_settime = sys_clock_settime64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with kernel spec"}, 116 spec.type = tv->ts_type; in verify_clock_settime() 119 TEST(tv->clock_gettime(CLOCK_REALTIME, tst_ts_get(&spec))); in verify_clock_settime() 127 spec = tst_ts_add_us(spec, 1000000); in verify_clock_settime() 129 /* use given time spec */ in verify_clock_settime() 130 tst_ts_set_sec(&spec, tc[i].tv_sec); in verify_clock_settime() 131 tst_ts_set_nsec(&spec, t in verify_clock_settime() [all...] |
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | NfaBuilder.java | 53 RangeSpecification spec = RangeSpecification.parse(path); in addPath() 54 for (int n = 0; n < spec.length(); n++) { in addPath() 56 addEdge(source, lastNode, SimpleEdge.fromMask(spec.getBitmask(n))); in addPath() 64 RangeSpecification spec = RangeSpecification.parse(path); in addPath() 65 for (int n = 0; n < spec.length() - 1; n++) { in addPath() 67 addEdge(source, lastNode, SimpleEdge.fromMask(spec.getBitmask(n))); in addPath() 70 addEdge(source, target, SimpleEdge.fromMask(spec.getBitmask(spec.length() - 1))); in addPath()
|
/third_party/pulseaudio/src/pulse/ |
H A D | sample.h | 267 * audio, with the specified sample spec. */ 268 size_t pa_bytes_per_second(const pa_sample_spec *spec) PA_GCC_PURE; 271 size_t pa_frame_size(const pa_sample_spec *spec) PA_GCC_PURE; 274 size_t pa_sample_size(const pa_sample_spec *spec) PA_GCC_PURE; 277 * full sample spec. \since 0.9.15 */ 283 pa_usec_t pa_bytes_to_usec(uint64_t length, const pa_sample_spec *spec) PA_GCC_PURE; 289 size_t pa_usec_to_bytes(pa_usec_t t, const pa_sample_spec *spec) PA_GCC_PURE; 291 /** Initialize the specified sample spec and return a pointer to 292 * it. The sample spec will have a defined state but 294 pa_sample_spec* pa_sample_spec_init(pa_sample_spec *spec); [all...] |
/third_party/python/Lib/importlib/ |
H A D | __init__.py | 95 spec = _bootstrap._find_spec(name, path) 97 if spec is None: 99 if spec.loader is None: 100 if spec.submodule_search_locations is None: 101 raise ImportError('spec for {} missing loader'.format(name), 105 return spec.loader 166 spec = module.__spec__ = _bootstrap._find_spec(name, pkgpath, target) 167 if spec is None: 168 raise ModuleNotFoundError(f"spec not found for the module {name!r}", name=name) 169 _bootstrap._exec(spec, modul [all...] |
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/ |
H A D | extern_impl.rs | 45 spec: ColorSpec::new(), in style() 160 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() 163 self.inner.set_color(spec) in set_color() 244 spec: ColorSpec, 279 self.spec.set_fg(Some(color.into_termcolor())); in set_color() 306 self.spec.set_bold(yes); in set_bold() 333 self.spec.set_intense(yes); in set_intense() 360 self.spec.set_dimmed(yes); in set_dimmed() 385 self.spec.set_bg(Some(color.into_termcolor())); in set_bg() 437 .set_color(&self.style.spec) in write_fmt() [all...] |
/third_party/vk-gl-cts/scripts/opengl/ |
H A D | src_util.py | 163 spec = khr_util.registry.InterfaceSpec() 166 spec.addFeature(feature, 'gl', 'core') 169 spec.addFeature(feature, 'gles2') 175 spec.addExtension(extension, 'gles2', 'core', force=True) 177 iface = khr_util.registry.createInterface(registry, spec, 'gles2') 200 spec = khr_util.registry.spec(registry, api, version, profile, **kwargs) 204 spec.addComponent(eRemove) 205 return khr_util.registry.createInterface(registry, spec, api)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_cat_test.cc | 490 for (int spec = absl::kZeroPad2; spec <= absl::kZeroPad20; ++spec) { in CheckHex() 492 absl::StrCat(absl::Hex(v, static_cast<absl::PadSpec>(spec))); in CheckHex() 494 spec - absl::kZeroPad2 + 2, v); in CheckHex() 498 for (int spec = absl::kSpacePad2; spec <= absl::kSpacePad20; ++spec) { in CheckHex() 500 absl::StrCat(absl::Hex(v, static_cast<absl::PadSpec>(spec))); in CheckHex() 502 spec in CheckHex() [all...] |
/third_party/skia/third_party/externals/freetype/builds/mac/ |
H A D | ftmac.c | 296 FSSpec spec; in FT_ATSFontGetFileReference() local 299 err = ATSFontGetFileSpecification( ats_font_id, &spec ); in FT_ATSFontGetFileReference() 301 err = FSpMakeFSRef( &spec, ats_font_ref ); in FT_ATSFontGetFileReference() 538 FSSpec spec = *spec_p; in FT_FSpMakePath() local 548 unsigned char node_namelen = spec.name[0]; in FT_FSpMakePath() 549 unsigned char* node_name = spec.name + 1; in FT_FSpMakePath() 560 vRefNum = spec.vRefNum; in FT_FSpMakePath() 561 dirID = spec.parID; in FT_FSpMakePath() 563 err = FSMakeFSSpec( vRefNum, dirID, parDir_name, &spec ); in FT_FSpMakePath() 564 if ( noErr != err || dirID == spec in FT_FSpMakePath() [all...] |
/third_party/node/deps/npm/lib/commands/ |
H A D | owner.js | 29 'add <user> <package-spec>', 30 'rm <user> <package-spec>', 31 'ls <package-spec>', 61 const spec = npa(name) 62 const data = await pacote.packument(spec, { 111 const spec = npa(pkg) 115 const { maintainers } = await pacote.packument(spec, packumentOpts) 150 const spec = npa(pkg) 164 const data = await pacote.packument(spec, { 203 const dataPath = `/${spec [all...] |
/third_party/mesa3d/src/broadcom/cle/ |
H A D | v3d_decoder.h | 39 struct v3d_group *v3d_spec_find_struct(struct v3d_spec *spec, const char *name); 41 struct v3d_group *v3d_spec_find_instruction(struct v3d_spec *spec, const uint8_t *p); 42 struct v3d_group *v3d_spec_find_register(struct v3d_spec *spec, uint32_t offset); 43 struct v3d_group *v3d_spec_find_register_by_name(struct v3d_spec *spec, const char *name); 47 struct v3d_enum *v3d_spec_find_enum(struct v3d_spec *spec, const char *name); 64 struct v3d_spec *spec; member
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | remap_helper.py | 49 spec = [sig] 51 spec.append("gl" + ent) 53 # spec is terminated by an empty string 54 spec.append('') 56 return spec 92 spec = get_function_spec(f) 105 for line in spec:
|