/third_party/ltp/tools/sparse/sparse-src/ |
H A D | cgcc | 222 my ($spec) = @_; 223 if ($spec eq 'sunos') { 224 return " --os=$spec" . 230 } elsif ($spec eq 'linux') { 231 return " --os=$spec"; 232 } elsif ($spec eq 'gnu/kfreebsd') { 235 } elsif ($spec eq 'openbsd') { 236 return " --os=$spec"; 237 } elsif ($spec eq 'freebsd') { 238 return " --os=$spec"; [all...] |
/third_party/libbpf/src/ |
H A D | relo_core.c | 227 * Turn bpf_core_relo into a low- and high-level spec representation, 229 * field bit offset, specified by accessor string. Low-level spec captures 248 * Low-level spec has 1:1 mapping with each element of access string (it's 251 * High-level spec will capture only 3 points: 253 * - field 'a' access (corresponds to '2' in low-level spec); 254 * - array element #3 access (corresponds to '3' in low-level spec). 258 * spec and raw_spec are kept empty. 265 struct bpf_core_spec *spec) in bpf_core_parse_spec() 278 memset(spec, 0, sizeof(*spec)); in bpf_core_parse_spec() 263 bpf_core_parse_spec(const char *prog_name, const struct btf *btf, const struct bpf_core_relo *relo, struct bpf_core_spec *spec) bpf_core_parse_spec() argument 481 bpf_core_match_member(const struct btf *local_btf, const struct bpf_core_accessor *local_acc, const struct btf *targ_btf, __u32 targ_id, struct bpf_core_spec *spec, __u32 *next_targ_id) bpf_core_match_member() argument 678 bpf_core_calc_field_relo(const char *prog_name, const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, __u32 *field_sz, __u32 *type_id, bool *validate) bpf_core_calc_field_relo() argument 803 bpf_core_calc_type_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, bool *validate) bpf_core_calc_type_relo() argument 847 bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val) bpf_core_calc_enumval_relo() argument 1156 bpf_core_format_spec(char *buf, size_t buf_sz, const struct bpf_core_spec *spec) bpf_core_format_spec() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fVertexArrayTest.cpp | 98 MultiVertexArrayTest::Spec spec; in init() local 99 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 100 spec.drawCount = counts[countNdx]; in init() 101 spec.first = 0; in init() 102 spec.arrays.push_back(arraySpec); in init() 105 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); in init() 203 MultiVertexArrayTest::Spec spec; in init() local 204 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 205 spec.drawCount = counts[countNdx]; in init() 206 spec in init() 306 MultiVertexArrayTest::Spec spec; init() local 407 MultiVertexArrayTest::Spec spec; init() local 501 MultiVertexArrayTest::Spec spec; init() local 617 MultiVertexArrayTest::Spec spec; init() local 720 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument 736 MultiVertexArrayTest::Spec spec; init() local 790 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument 806 addStorageCases(MultiVertexArrayTest::Spec spec, int depth) addStorageCases() argument 857 MultiVertexArrayTest::Spec spec; init() local 892 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument 916 MultiVertexArrayTest::Spec spec; init() local 926 addStrideCases(MultiVertexArrayTest::Spec spec, int depth) addStrideCases() argument 983 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument 1007 MultiVertexArrayTest::Spec spec; init() local 1017 addInputTypeCases(MultiVertexArrayTest::Spec spec, int depth) addInputTypeCases() argument [all...] |
H A D | es3fVertexArrayObjectTests.cpp | 149 VertexArrayObjectTest (Context& context, const Spec& spec, const char* name, const char* description); 177 VertexArrayObjectTest::VertexArrayObjectTest (Context& context, const Spec& spec, const char* name, const char* description) in VertexArrayObjectTest() argument 179 , m_spec (spec) in VertexArrayObjectTest() 1267 Spec spec; in init() local 1284 spec.buffers.push_back(floatCoordBuffer48_1); in init() 1285 spec.buffers.push_back(floatCoordBuffer48_2); in init() 1287 spec.useDrawElements = false; in init() 1288 spec.instances = 0; in init() 1289 spec.count = 48; in init() 1290 spec in init() 1304 Spec spec; init() local 1342 Spec spec; init() local 1380 Spec spec; init() local 1417 Spec spec; init() local 1454 Spec spec; init() local 1504 Spec spec; init() local 1541 Spec spec; init() local 1578 Spec spec; init() local [all...] |
/third_party/selinux/libselinux/src/ |
H A D | label_file.h | 46 struct spec { struct 57 char from_mmap; /* this spec is from an mmap of the data */ 83 struct spec *spec_arr; 133 struct spec *specs; in grow_specs() 157 static inline void spec_hasMetaChars(struct spec *spec) in spec_hasMetaChars() argument 163 c = spec->regex_str; in spec_hasMetaChars() 164 len = strlen(spec->regex_str); in spec_hasMetaChars() 167 spec->hasMetaChars = 0; in spec_hasMetaChars() 168 spec in spec_hasMetaChars() 202 struct spec spec; sort_specs() local 347 compile_regex(struct spec *spec, const char **errbuf) compile_regex() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmEmptyStructTests.cpp | 220 ComputeShaderSpec spec; in addCopyingComputeGroup() local 221 spec.assembly = shaderTemplate.specialize(specializationMap); in addCopyingComputeGroup() 222 spec.numWorkGroups = tcu::IVec3(1, 1, 1); in addCopyingComputeGroup() 223 spec.verifyIO = verifyResult; in addCopyingComputeGroup() 224 spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(bufferType.input)), bufferType.descriptorType)); in addCopyingComputeGroup() 225 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType.expectedOutput)))); in addCopyingComputeGroup() 226 group->addChild(new SpvAsmComputeShaderCase(group->getTestContext(), name.c_str(), spec)); in addCopyingComputeGroup() 327 ComputeShaderSpec spec; in addPointerComparisionComputeGroup() local 328 spec.assembly = computeSource; in addPointerComparisionComputeGroup() 329 spec in addPointerComparisionComputeGroup() 543 ComputeShaderSpec spec; addFunctionArgumentReturnValueGroup() local [all...] |
H A D | vktSpvAsmPointerParameterTests.cpp | 49 ComputeShaderSpec spec; in addComputePointerParamToParamTest() local 135 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToParamTest() 137 spec.assembly = shaderSource; in addComputePointerParamToParamTest() 138 spec.numWorkGroups = IVec3(numFloats, 1, 1); in addComputePointerParamToParamTest() 140 group->addChild(new SpvAsmComputeShaderCase(testCtx, "param_to_param", spec)); in addComputePointerParamToParamTest() 147 ComputeShaderSpec spec; in addComputePointerParamToGlobalTest() local 251 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToGlobalTest() 253 spec.assembly = shaderSource; in addComputePointerParamToGlobalTest() 254 spec.numWorkGroups = IVec3(numFloats, 1, 1); in addComputePointerParamToGlobalTest() 256 group->addChild(new SpvAsmComputeShaderCase(testCtx, "param_to_global", spec)); in addComputePointerParamToGlobalTest() 263 ComputeShaderSpec spec; addComputePointerBufferMemoryTest() local 392 ComputeShaderSpec spec; addComputePointerBufferMemoryVariablePointersTest() local 520 ComputeShaderSpec spec; addComputePointerWorkgroupMemoryVariablePointersTest() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmEmptyStructTests.cpp | 220 ComputeShaderSpec spec; in addCopyingComputeGroup() local 221 spec.assembly = shaderTemplate.specialize(specializationMap); in addCopyingComputeGroup() 222 spec.numWorkGroups = tcu::IVec3(1, 1, 1); in addCopyingComputeGroup() 223 spec.verifyIO = verifyResult; in addCopyingComputeGroup() 224 spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(bufferType.input)), bufferType.descriptorType)); in addCopyingComputeGroup() 225 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType.expectedOutput)))); in addCopyingComputeGroup() 226 group->addChild(new SpvAsmComputeShaderCase(group->getTestContext(), name.c_str(), "", spec)); in addCopyingComputeGroup() 327 ComputeShaderSpec spec; in addPointerComparisionComputeGroup() local 328 spec.assembly = computeSource; in addPointerComparisionComputeGroup() 329 spec in addPointerComparisionComputeGroup() 543 ComputeShaderSpec spec; addFunctionArgumentReturnValueGroup() local [all...] |
H A D | vktSpvAsmPointerParameterTests.cpp | 49 ComputeShaderSpec spec; in addComputePointerParamToParamTest() local 135 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToParamTest() 137 spec.assembly = shaderSource; in addComputePointerParamToParamTest() 138 spec.numWorkGroups = IVec3(numFloats, 1, 1); in addComputePointerParamToParamTest() 140 group->addChild(new SpvAsmComputeShaderCase(testCtx, "param_to_param", "", spec)); in addComputePointerParamToParamTest() 147 ComputeShaderSpec spec; in addComputePointerParamToGlobalTest() local 251 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToGlobalTest() 253 spec.assembly = shaderSource; in addComputePointerParamToGlobalTest() 254 spec.numWorkGroups = IVec3(numFloats, 1, 1); in addComputePointerParamToGlobalTest() 256 group->addChild(new SpvAsmComputeShaderCase(testCtx, "param_to_global", "", spec)); in addComputePointerParamToGlobalTest() 263 ComputeShaderSpec spec; addComputePointerBufferMemoryTest() local 392 ComputeShaderSpec spec; addComputePointerBufferMemoryVariablePointersTest() local 520 ComputeShaderSpec spec; addComputePointerWorkgroupMemoryVariablePointersTest() local [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderConstExprTests.cpp | 158 glu::sl::ShaderCaseSpecification spec; in createTests() local 160 spec.targetVersion = version; in createTests() 161 spec.expectResult = glu::sl::EXPECT_PASS; in createTests() 162 spec.caseType = glu::sl::CASETYPE_VERTEX_ONLY; in createTests() 163 spec.programs.resize(1); in createTests() 165 spec.programs[0].sources << glu::VertexSource(mapped); in createTests() 167 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests() 174 spec)); in createTests() 179 glu::sl::ShaderCaseSpecification spec; in createTests() local 181 spec in createTests() 212 glu::sl::ShaderCaseSpecification spec; createTests() local 233 glu::sl::ShaderCaseSpecification spec; createTests() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fDrawTests.cpp | 153 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type) in addTestIterations() argument 157 spec.primitiveCount = 1; in addTestIterations() 158 test->addIteration(spec, "draw count = 1"); in addTestIterations() 160 spec.primitiveCount = 5; in addTestIterations() 161 test->addIteration(spec, "draw count = 5"); in addTestIterations() 163 spec.primitiveCount = 25; in addTestIterations() 164 test->addIteration(spec, "draw count = 25"); in addTestIterations() 168 spec.instanceCount = 1; in addTestIterations() 169 test->addIteration(spec, "instance count = 1"); in addTestIterations() 171 spec in addTestIterations() 181 genBasicSpec(gls::DrawTestSpec& spec, glu::ContextType contextType, gls::DrawTestSpec::DrawMethod method) genBasicSpec() argument 264 gls::DrawTestSpec spec; init() local 301 gls::DrawTestSpec spec; init() local 349 gls::DrawTestSpec spec; init() local 411 gls::DrawTestSpec spec; init() local 511 gls::DrawTestSpec spec; init() local 578 gls::DrawTestSpec spec; init() local 633 gls::DrawTestSpec spec; init() local [all...] |
/third_party/node/deps/npm/node_modules/pacote/lib/ |
H A D | git.js | 39 constructor (spec, opts) { 40 super(spec, opts) 45 log.warn(`skipping integrity check for git dependency ${this.spec.fetchSpec}`) 49 if (this.spec.hosted) { 50 this.from = this.spec.hosted.shortcut({ noCommittish: false }) 55 if (this.spec.gitCommittish && hashre.test(this.spec.gitCommittish)) { 56 this.resolvedSha = this.spec.gitCommittish 58 this.resolved = this.spec.hosted 59 ? repoUrl(this.spec [all...] |
/third_party/node/deps/npm/node_modules/negotiator/lib/ |
H A D | language.js | 90 var spec = specify(language, accepted[i], index); 92 if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { 93 priority = spec; 105 function specify(language, spec, index) { 109 if(spec.full.toLowerCase() === p.full.toLowerCase()){ 111 } else if (spec.prefix.toLowerCase() === p.full.toLowerCase()) { 113 } else if (spec [all...] |
H A D | mediaType.js | 103 var spec = specify(type, accepted[i], index); 105 if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { 106 priority = spec; 118 function specify(type, spec, index) { 126 if(spec.type.toLowerCase() == p.type.toLowerCase()) { 128 } else if(spec.type != '*') { 132 if(spec [all...] |
H A D | encoding.js | 102 var spec = specify(encoding, accepted[i], index); 104 if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { 105 priority = spec; 117 function specify(encoding, spec, index) { 119 if(spec.encoding.toLowerCase() === encoding.toLowerCase()){ 121 } else if (spec.encoding !== '*' ) { 127 o: spec [all...] |
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | RangeKeyTest.java | 84 .containsExactly(spec("xxx"), spec("xxxx"), spec("xxxxx")).inOrder(); in testAsRangeSpecifications() 86 .containsExactly(spec("1[2-4]x"), spec("1[2-4]xx"), spec("1[2-4]xxx")).inOrder(); in testAsRangeSpecifications() 88 .containsExactly(spec("1x[468]"), spec("1x[468]xx"), spec("1x[468]xxxx")).inOrder(); in testAsRangeSpecifications() 115 private static RangeKey key(String spec, Intege argument 121 ranges(String... spec) ranges() argument 125 spec(String spec) spec() argument 129 digitSequence(String spec) digitSequence() argument [all...] |
/third_party/python/Lib/importlib/resources/ |
H A D | _adapters.py | 9 Adapt a package spec to adapt the underlying loader. 12 def __init__(self, spec, adapter=lambda spec: spec.loader): 13 self.spec = spec 14 self.loader = adapter(spec) 17 return getattr(self.spec, name) 25 def __init__(self, spec): 26 self.spec [all...] |
/third_party/libabigail/tests/ |
H A D | test-diff-pkg.cc | 55 // dir1 contains a suppr spec - it should be ignored. 68 // dir2 contains a suppr spec - it should be recognized. 81 // dir2 contains a suppr spec but --no-abignore is specified, 95 // dir2 contains several suppr spec files, ".abignore" and 109 // dir2 contains a suppr spec file, ".abignore" and 124 // dir2 contains a suppr spec file, ".abignore", which should 770 // dir1 contains a suppr spec - it should be ignored. 783 // dir2 contains a suppr spec - it should be recognized. 796 // dir2 contains a suppr spec but --no-abignore is specified, 810 // dir2 contains several suppr spec file 1098 InOutSpec spec; global() member [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | chi_square_test.cc | 91 for (const auto& spec : specs) { in TEST() 92 SCOPED_TRACE(spec.line); in TEST() 94 const double val = ChiSquareValue(spec.df, spec.confidence); in TEST() 95 const double err = std::max(5e-6, spec.chi_square / 5e3); // 1 part in 5000 in TEST() 96 EXPECT_NEAR(spec.chi_square, val, err) << spec.line; in TEST() 135 for (const auto& spec : specs) { in TEST() 136 SCOPED_TRACE(spec.line); in TEST() 137 const double pval = ChiSquarePValue(spec in TEST() [all...] |
/third_party/python/Python/ |
H A D | formatter_unicode.c | 277 /* Create a temporary object that contains the format spec we're in parse_internal_render_format_spec() 474 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, in calc_number_widths() argument 483 spec->n_digits = n_end - n_start - n_remainder - (has_decimal?1:0); in calc_number_widths() 484 spec->n_lpadding = 0; in calc_number_widths() 485 spec->n_prefix = n_prefix; in calc_number_widths() 486 spec->n_decimal = has_decimal ? PyUnicode_GET_LENGTH(locale->decimal_point) : 0; in calc_number_widths() 487 spec->n_remainder = n_remainder; in calc_number_widths() 488 spec->n_spadding = 0; in calc_number_widths() 489 spec->n_rpadding = 0; in calc_number_widths() 490 spec in calc_number_widths() 603 fill_number(_PyUnicodeWriter *writer, const NumberFieldWidths *spec, PyObject *digits, Py_ssize_t d_start, PyObject *prefix, Py_ssize_t p_start, Py_UCS4 fill_char, LocaleInfo *locale, int toupper) fill_number() argument 879 NumberFieldWidths spec; format_long_internal() local 1056 NumberFieldWidths spec; format_float_internal() local [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | override-set.js | 20 const spec = npa(key) 21 if (!spec.name) { 25 this.name = spec.name 26 spec.name = '' 28 this.keySpec = spec.toString() 58 let spec = npa(`${edge.name}@${edge.spec}`) 59 if (spec.type === 'alias') { 60 spec = spec [all...] |
/third_party/vk-gl-cts/modules/gles2/stress/ |
H A D | es2sVertexArrayTests.cpp | 100 MultiVertexArrayTest::Spec spec; in init() local 101 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 102 spec.drawCount = counts[countNdx]; in init() 103 spec.first = 0; in init() 104 spec.arrays.push_back(arraySpec); in init() 106 std::string name = spec.getName(); in init() 109 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); in init() 170 MultiVertexArrayTest::Spec spec; in init() local 171 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 172 spec in init() 241 MultiVertexArrayTest::Spec spec; init() local 309 MultiVertexArrayTest::Spec spec; init() local [all...] |
/third_party/node/deps/npm/test/lib/utils/ |
H A D | explain-dep.js | 18 spec: '1.x', 35 spec: '2.x', 44 spec: '3.x', 53 spec: '4.x', 76 spec: '1.0.0', 93 spec: '1.0.0', 110 spec: '1.x', 135 spec: '1.0.0', 152 spec: '1.0.0', 158 spec [all...] |
/third_party/ltp/testcases/kernel/syscalls/timer_settime/ |
H A D | timer_settime03.c | 39 struct itimerspec spec; in sighandler() local 51 memset(&spec, 0, sizeof(struct itimerspec)); in sighandler() 52 SAFE_TIMER_SETTIME(timer, 0, &spec, NULL); in sighandler() 77 struct itimerspec spec; in run() local 80 memset(&spec, 0, sizeof(struct itimerspec)); in run() 81 SAFE_CLOCK_GETTIME(CLOCK_REALTIME, &spec.it_value); in run() 84 if (nsec > spec.it_value.tv_nsec) { in run() 85 spec.it_value.tv_sec -= 1; in run() 86 spec.it_value.tv_nsec += 1000000000; in run() 89 /* spec in run() [all...] |
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | io.c | 766 mpd_validate_lconv(mpd_spec_t *spec) in mpd_validate_lconv() argument 770 const char *cp = spec->grouping; in mpd_validate_lconv() 777 n = strlen(spec->dot); in mpd_validate_lconv() 781 if (strlen(spec->sep) > 4) { in mpd_validate_lconv() 789 mpd_parse_fmt_str(mpd_spec_t *spec, const char *fmt, int caps) in mpd_parse_fmt_str() argument 795 spec->min_width = 0; in mpd_parse_fmt_str() 796 spec->prec = -1; in mpd_parse_fmt_str() 797 spec->type = caps ? 'G' : 'g'; in mpd_parse_fmt_str() 798 spec->align = '>'; in mpd_parse_fmt_str() 799 spec in mpd_parse_fmt_str() 987 _mpd_add_sep_dot(mpd_mbstr_t *dest, const char *sign, const char *src, mpd_ssize_t n_src, const char *dot, const char *rest, mpd_ssize_t n_rest, const mpd_spec_t *spec) _mpd_add_sep_dot() argument 1093 _mpd_apply_lconv(mpd_mbstr_t *result, const mpd_spec_t *spec, uint32_t *status) _mpd_apply_lconv() argument 1151 _mpd_add_pad(mpd_mbstr_t *result, const mpd_spec_t *spec, uint32_t *status) _mpd_add_pad() argument 1248 mpd_qformat_spec(const mpd_t *dec, const mpd_spec_t *spec, const mpd_context_t *ctx, uint32_t *status) mpd_qformat_spec() argument 1404 mpd_spec_t spec; mpd_qformat() local [all...] |