/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/testing/ |
H A D | RangeTreeSubject.java | 91 public void containsExactly(RangeSpecification spec) { in containsExactly() argument 92 RangeTree tree = RangeTree.from(spec); in containsExactly() 94 failWithActual("expected to be equal to", spec); in containsExactly() 105 public void containsExactly(String spec) { in containsExactly() argument 106 containsExactly(RangeSpecification.parse(spec)); in containsExactly()
|
/third_party/python/Include/ |
H A D | modsupport.h | 146 PyObject *spec, 150 #define PyModule_FromDefAndSpec(module, spec) \ 151 PyModule_FromDefAndSpec2(module, spec, PYTHON_ABI_VERSION) 153 #define PyModule_FromDefAndSpec(module, spec) \ 154 PyModule_FromDefAndSpec2(module, spec, PYTHON_API_VERSION)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmConditionalBranchTests.cpp | 61 ComputeShaderSpec spec; in addComputeSameLabelsTest() local 119 spec.assembly = shaderSource.specialize(specs); in addComputeSameLabelsTest() 120 spec.numWorkGroups = IVec3(numItems, 1, 1); in addComputeSameLabelsTest() 122 spec.outputs.push_back(Resource(BufferSp(new Buffer<deUint32>(outputData)))); in addComputeSameLabelsTest() 124 group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), spec)); in addComputeSameLabelsTest()
|
H A D | vktSpvAsmFloatControlsExtensionlessTests.cpp | 93 ComputeShaderSpec spec; in getComputeShaderSpec() local 102 // getComputeSourceCode (spec.assembly); in getComputeShaderSpec() 104 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in getComputeShaderSpec() 105 spec.outputs.push_back(BufferSp(new Float32Buffer(outputFloats))); in getComputeShaderSpec() 107 spec.numWorkGroups = tcu::IVec3(numElements, 1, 1); in getComputeShaderSpec() 108 spec.verifyIO = &verifyOutput; in getComputeShaderSpec() 110 return spec; in getComputeShaderSpec()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmConditionalBranchTests.cpp | 61 ComputeShaderSpec spec; in addComputeSameLabelsTest() local 119 spec.assembly = shaderSource.specialize(specs); in addComputeSameLabelsTest() 120 spec.numWorkGroups = IVec3(numItems, 1, 1); in addComputeSameLabelsTest() 122 spec.outputs.push_back(Resource(BufferSp(new Buffer<deUint32>(outputData)))); in addComputeSameLabelsTest() 124 group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), "Tests both labels pointing to a same branch.", spec)); in addComputeSameLabelsTest()
|
H A D | vktSpvAsmFloatControlsExtensionlessTests.cpp | 93 ComputeShaderSpec spec; in getComputeShaderSpec() local 102 // getComputeSourceCode (spec.assembly); in getComputeShaderSpec() 104 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in getComputeShaderSpec() 105 spec.outputs.push_back(BufferSp(new Float32Buffer(outputFloats))); in getComputeShaderSpec() 107 spec.numWorkGroups = tcu::IVec3(numElements, 1, 1); in getComputeShaderSpec() 108 spec.verifyIO = &verifyOutput; in getComputeShaderSpec() 110 return spec; in getComputeShaderSpec()
|
/third_party/python/Modules/ |
H A D | _lzmamodule.c | 233 parse_filter_spec_lzma(_lzma_state *state, PyObject *spec) in parse_filter_spec_lzma() argument 245 preset_obj = PyMapping_GetItemString(spec, "preset"); in parse_filter_spec_lzma() 272 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, in parse_filter_spec_lzma() 293 parse_filter_spec_delta(_lzma_state *state, PyObject *spec) in parse_filter_spec_delta() argument 300 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_delta() 317 parse_filter_spec_bcj(_lzma_state *state, PyObject *spec) in parse_filter_spec_bcj() argument 324 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_bcj() 340 lzma_filter_converter(_lzma_state *state, PyObject *spec, void *ptr) in lzma_filter_converter() argument 345 if (!PyMapping_Check(spec)) { in lzma_filter_converter() 350 id_obj = PyMapping_GetItemString(spec, "i in lzma_filter_converter() 411 PyObject *spec = PySequence_GetItem(filterspecs, i); parse_filter_chain_spec() local 433 spec_add_field(PyObject *spec, const char *key, unsigned long long value) spec_add_field() argument 453 PyObject *spec; build_filter_spec() local [all...] |
/third_party/python/Tools/scripts/ |
H A D | freeze_modules.py | 134 for spec in specs: 135 info, subs = _parse_spec(spec, seen, section) 141 def _parse_spec(spec, knownids=None, section=None): 142 """Yield an info tuple for each module corresponding to the given spec. 171 frozenid, _, remainder = spec.partition(':') 179 assert check_modname(frozenid), spec 181 assert check_modname(modname), spec 185 assert not os.path.isdir(pyfile), spec 190 assert check_modname(frozenid), spec 191 assert not knownids or frozenid not in knownids, spec [all...] |
/third_party/benchmark/test/ |
H A D | spec_arg_test.cc | 13 // Tests that we can override benchmark-spec value from FLAGS_benchmark_filter 82 const char* const spec = "BM_Chosen"; in main() local 84 benchmark::RunSpecifiedBenchmarks(&test_reporter, spec); in main() 89 if (strcmp(spec, matched_functions.front().c_str()) != 0) { in main() 90 std::cerr << "Expected benchmark [" << spec << "] to run, but got [" in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
H A D | wpa_evp_key.c | 27 struct CmSignatureSpec *spec)
in cm_sign() 33 ret = CmInit(keyUri, spec, &handle);
in cm_sign() 67 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PKCS1_V1_5, CM_DIGEST_NONE };
in rsa_sign() local 70 ret = cm_sign(&keyUri, &message, &signature, &spec);
in rsa_sign() 91 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_NONE, CM_DIGEST_NONE };
in rsa_priv_enc() local 93 ret = cm_sign(&keyUri, &message, &signature, &spec);
in rsa_priv_enc() 110 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_NONE, CM_DIGEST_NONE };
in ec_sign() local 112 ret = cm_sign(&keyUri, &message, &signature, &spec);
in ec_sign() 26 cm_sign(const struct CmBlob *keyUri, const struct CmBlob *message, struct CmBlob *signature, struct CmSignatureSpec *spec) cm_sign() argument
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | registry.py | 289 def createInterface(registry, spec, api=None): 382 types = NameIndex(list(map(createType, spec.types)), 384 enums = NameIndex(list(map(createEnum, spec.enums)), 386 commands = NameIndex(list(map(createCommand, spec.commands)), 388 versions = sorted(spec.versions) 420 def spec(registry, api, version=None, profile=None, extensionNames=[], protects=[], force=False): function 422 spec = InterfaceSpec() 432 # spec.addComponents(registry.types, api, profile) 435 spec.addFeature(eFeature, api, profile, force) 444 spec [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | test_api.py | 268 spec = ns.pop('__spec__') 270 self.assertEqual(spec.name, name) 271 self.assertEqual(spec.loader, loader) 291 spec = ns.pop('__spec__') 293 self.assertEqual(spec.name, name) 294 self.assertEqual(spec.loader, loader) 321 spec = ns.pop('__spec__') 323 self.assertEqual(spec.name, name) 324 self.assertIsNotNone(spec.loader) 326 self.assertEqual(spec [all...] |
H A D | test_windows.py | 94 spec = self.machinery.WindowsRegistryFinder.find_spec('spam') 95 self.assertIs(spec, None) 108 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module) 110 self.assertIsNot(spec, None) 117 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module) 119 self.assertIsNone(spec)
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboNoAttachmentTests.cpp | 330 const FboSpec& spec); 353 const FboSpec& spec) in SizeCase() 356 , m_spec (spec) in SizeCase() 547 const FboSpec spec (width, height, 0); in createFboNoAttachmentTests() 552 group->addChild(new SizeCase(testCtx, renderCtx, name.str().c_str(), name.str().c_str(), spec)); in createFboNoAttachmentTests() 593 const FboSpec& spec = specs[caseNdx]; in createFboNoAttachmentTests() local 596 name << spec.width << "x" << spec.height; in createFboNoAttachmentTests() 598 group->addChild(new SizeCase(testCtx, renderCtx, name.str().c_str(), name.str().c_str(), spec)); in createFboNoAttachmentTests() 610 const FboSpec spec (12 in createFboNoAttachmentTests() 349 SizeCase(tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, const FboSpec& spec) SizeCase() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sVertexAttributeBindingTests.cpp | 382 TestSpec spec; in genTestSpec() local 384 spec.bufferOffset = bufferOffset; in genTestSpec() 385 spec.bufferStride = bufferStrideBase + bufferStridePadding; in genTestSpec() 386 spec.positionAttrOffset = positionAttrOffset; in genTestSpec() 387 spec.colorAttrOffset = colorAttrOffset; in genTestSpec() 388 spec.hasColorAttr = hasColorAttr; in genTestSpec() 391 DE_ASSERT(!deIsAligned32(spec.bufferOffset + spec.positionAttrOffset, datumSize)); in genTestSpec() 393 DE_ASSERT(deIsAligned32(spec.bufferOffset + spec in genTestSpec() [all...] |
/third_party/node/deps/npm/lib/utils/ |
H A D | sbom-cyclonedx.js | 78 // Calculate purl from package spec 79 let spec = npa(node.pkgid) 80 spec = (spec.type === 'alias') ? spec.subSpec : spec 81 const purl = npa.toPurl(spec) + (isGitNode(node) ? `?vcs_url=${node.resolved}` : '')
|
/third_party/skia/gm/ |
H A D | arcto.cpp | 157 SkString spec; in DEF_SIMPLE_GM() local 160 spec.printf("M %d,%d\n", x, y); in DEF_SIMPLE_GM() 162 spec.append(MakeRandomParsePathPiece(&rand)); in DEF_SIMPLE_GM() 164 SkAssertResult(SkParsePath::FromSVGString(spec.c_str(), &path)); in DEF_SIMPLE_GM() 173 sk_fwrite(spec.c_str(), spec.size(), file); in DEF_SIMPLE_GM()
|
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/tlog/ |
H A D | intoto.js | 36 if (tlogEntry.spec.content.envelope.signatures?.length !== 1) { 43 const tlogSig = base64Decode(tlogEntry.spec.content.envelope.signatures[0].sig); 52 const tlogHash = tlogEntry.spec.content.payloadHash?.value || '';
|
H A D | dsse.js | 36 if (tlogEntry.spec.signatures?.length !== 1) { 42 const tlogSig = tlogEntry.spec.signatures[0].signature; 51 const tlogHash = tlogEntry.spec.payloadHash?.value || '';
|
/third_party/cups-filters/filter/ |
H A D | rastertoescpx.c | 144 spec[PPD_MAX_NAME]; /* PPD attribute name */ in StartPage() local 201 * Figure out the color model and spec strings... in StartPage() 393 sprintf(spec, "%d", header->cupsMediaType); in StartPage() 395 if ((attr = ppdFindAttr(ppd, "cupsESCPSN0", spec)) != NULL && attr->value) in StartPage() 405 if ((attr = ppdFindAttr(ppd, "cupsESCPSN1", spec)) != NULL && attr->value) in StartPage() 415 if ((attr = ppdFindAttr(ppd, "cupsESCPSN2", spec)) != NULL && attr->value) in StartPage() 425 if ((attr = ppdFindAttr(ppd, "cupsESCPSN6", spec)) != NULL && attr->value) in StartPage() 435 if ((attr = ppdFindAttr(ppd, "cupsESCPMT", spec)) != NULL && attr->value) in StartPage() 445 if ((attr = ppdFindAttr(ppd, "cupsESCPPH", spec)) != NULL && attr->value) in StartPage() 456 sprintf(spec, " in StartPage() [all...] |
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | cmake.py | 656 spec = target_dicts.get(qualified_target, {}) 657 config = spec.get("configurations", {}).get(config_to_use, {}) 661 xcode_settings = gyp.xcode_emulation.XcodeSettings(spec) 663 target_name = spec.get("target_name", "<missing target name>") 664 target_type = spec.get("type", "<missing target type>") 665 target_toolset = spec.get("toolset") 684 if "actions" in spec: 687 spec["actions"], 695 if "rules" in spec: 698 spec["rule [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | cmake.py | 656 spec = target_dicts.get(qualified_target, {}) 657 config = spec.get("configurations", {}).get(config_to_use, {}) 661 xcode_settings = gyp.xcode_emulation.XcodeSettings(spec) 663 target_name = spec.get("target_name", "<missing target name>") 664 target_type = spec.get("type", "<missing target type>") 665 target_toolset = spec.get("toolset") 684 if "actions" in spec: 687 spec["actions"], 695 if "rules" in spec: 698 spec["rule [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/phy/hisiv100/ |
H A D | hdmi_hal_phy.c | 1049 phy_hw_spec *spec = HI_NULL;
in phy_hw_spec_data_get() local 1052 spec = &g_phy_hw_spec[0];
in phy_hw_spec_data_get() 1055 spec = &g_phy_hw_spec1[0];
in phy_hw_spec_data_get() 1058 spec = &g_phy_hw_spec2[0];
in phy_hw_spec_data_get() 1062 for (i = 0; (spec && (i < arrar_size)); spec++, i++) {
in phy_hw_spec_data_get() 1063 if ((tmds_clk >= spec->phy_tmds_clk_range.clk_min) && (tmds_clk <= spec->phy_tmds_clk_range.clk_max)) {
in phy_hw_spec_data_get() 1064 return (&spec->phy_spec_cfg);
in phy_hw_spec_data_get() 1251 hdmi_hw_spec *spec in phy_default_spec_set() local 1791 hdmi_hw_spec *spec = HI_NULL; hal_hdmi_phy_params_get() local [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSProject.py | 130 spec = self._GetSpecForConfiguration("Configuration", name, attrs, tools) 131 self.configurations_section.append(spec) 183 spec = self._GetSpecForConfiguration("FileConfiguration", config, attrs, tools) 184 parent.append(spec)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSProject.py | 130 spec = self._GetSpecForConfiguration("Configuration", name, attrs, tools) 131 self.configurations_section.append(spec) 183 spec = self._GetSpecForConfiguration("FileConfiguration", config, attrs, tools) 184 parent.append(spec)
|