Home
last modified time | relevance | path

Searched refs:fragments (Results 1 – 25 of 274) sorted by relevance

1234567891011

/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmPointerParameterTests.cpp693 map<string, string> fragments; in addGraphicsPointerParamToParamTest() local
717 fragments["pre_main"] = in addGraphicsPointerParamToParamTest()
735 fragments["decoration"] = in addGraphicsPointerParamToParamTest()
743 fragments["testfun"] = in addGraphicsPointerParamToParamTest()
765 …createTestsForAllStages("global_to_param", defaultColors, defaultColors, fragments, resources, ext… in addGraphicsPointerParamToParamTest()
770 map<string, string> fragments; in addGraphicsPointerParamToGlobalTest() local
802 fragments["pre_main"] = in addGraphicsPointerParamToGlobalTest()
830 fragments["decoration"] = in addGraphicsPointerParamToGlobalTest()
839 fragments["testfun"] = in addGraphicsPointerParamToGlobalTest()
860 …createTestsForAllStages("param_to_global", defaultColors, defaultColors, fragments, resources, ext… in addGraphicsPointerParamToGlobalTest()
[all …]
DvktSpvAsm16bitStorageTests.cpp1990 map<string, string> fragments; in addGraphics16BitStorageUniformInt32To16Group() local
2007 fragments["extension"] = "OpExtension \"SPV_KHR_16bit_storage\""; in addGraphics16BitStorageUniformInt32To16Group()
2168 fragments["pre_main"] = scalarPreMain.specialize(specs); in addGraphics16BitStorageUniformInt32To16Group()
2169 fragments["testfun"] = scalarTestFunc.specialize(specs); in addGraphics16BitStorageUniformInt32To16Group()
2170 fragments["capability"] = capabilities.specialize(specs); in addGraphics16BitStorageUniformInt32To16Group()
2171 fragments["decoration"] = scalarDecoration.specialize(specs); in addGraphics16BitStorageUniformInt32To16Group()
2186 …createTestsForAllStages(name, defaultColors, defaultColors, fragments, resources, extensions, test… in addGraphics16BitStorageUniformInt32To16Group()
2209 fragments["pre_main"] = vecPreMain.specialize(specs); in addGraphics16BitStorageUniformInt32To16Group()
2210 fragments["testfun"] = vecTestFunc.specialize(specs); in addGraphics16BitStorageUniformInt32To16Group()
2211 fragments["capability"] = capabilities.specialize(specs); in addGraphics16BitStorageUniformInt32To16Group()
[all …]
DvktSpvAsmVariablePointersTests.cpp1218 map<string, string> fragments; in addVariablePointersGraphicsGroup() local
1257 fragments["extension"] = "OpExtension \"SPV_KHR_variable_pointers\"\n" in addVariablePointersGraphicsGroup()
1396 fragments["capability"] = cap; in addVariablePointersGraphicsGroup()
1397 fragments["decoration"] = decoration.specialize(specs); in addVariablePointersGraphicsGroup()
1398 fragments["pre_main"] = preMain.specialize(specs); in addVariablePointersGraphicsGroup()
1399 fragments["testfun"] = testFunction.specialize(specs); in addVariablePointersGraphicsGroup()
1405 …createTestsForAllStages(name.c_str(), defaultColors, defaultColors, fragments, resources, extensio… in addVariablePointersGraphicsGroup()
1418 fragments["capability"] = cap; in addVariablePointersGraphicsGroup()
1419 fragments["decoration"] = decoration.specialize(specs); in addVariablePointersGraphicsGroup()
1420 fragments["pre_main"] = preMain.specialize(specs); in addVariablePointersGraphicsGroup()
[all …]
DvktSpvAsmCompositeInsertTests.cpp209 map<string, string> fragments; in addGraphicsVectorCompositeInsertTests() local
230 fragments["pre_main"] = in addGraphicsVectorCompositeInsertTests()
240 fragments["decoration"] = in addGraphicsVectorCompositeInsertTests()
246 fragments["testfun"] = in addGraphicsVectorCompositeInsertTests()
259 …VERTEX_BIT, (testName + "_vert").c_str(), defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsVectorCompositeInsertTests()
262 …NTROL_BIT, (testName + "_tessc").c_str(), defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsVectorCompositeInsertTests()
265 …ATION_BIT, (testName + "_tesse").c_str(), defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsVectorCompositeInsertTests()
268 …OMETRY_BIT, (testName + "_geom").c_str(), defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsVectorCompositeInsertTests()
273 …AGMENT_BIT, (testName + "_frag").c_str(), defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsVectorCompositeInsertTests()
360 map<string, string> fragments; in addGraphicsMatrixCompositeInsertTests() local
[all …]
DvktSpvAsmGraphicsShaderTestUtil.cpp398 string makeVertexShaderAssembly (const map<string, string>& fragments) in makeVertexShaderAssembly() argument
456 return tcu::StringTemplate(vertexShaderBoilerplate).specialize(fragments); in makeVertexShaderAssembly()
481 string makeTessControlShaderAssembly (const map<string, string>& fragments) in makeTessControlShaderAssembly() argument
579 return tcu::StringTemplate(tessControlShaderBoilerplate).specialize(fragments); in makeTessControlShaderAssembly()
605 string makeTessEvalShaderAssembly (const map<string, string>& fragments) in makeTessEvalShaderAssembly() argument
725 return tcu::StringTemplate(tessEvalBoilerplate).specialize(fragments); in makeTessEvalShaderAssembly()
754 string makeGeometryShaderAssembly (const map<string, string>& fragments) in makeGeometryShaderAssembly() argument
859 return tcu::StringTemplate(geometryShaderBoilerplate).specialize(fragments); in makeGeometryShaderAssembly()
876 string makeFragmentShaderAssembly (const map<string, string>& fragments) in makeFragmentShaderAssembly() argument
925 return tcu::StringTemplate(fragmentShaderBoilerplate).specialize(fragments); in makeFragmentShaderAssembly()
[all …]
DvktSpvAsmIndexingTests.cpp318 map<string, string> fragments; in addGraphicsIndexingStructTests() local
433 fragments["capability"] = "OpCapability Int16\n"; in addGraphicsIndexingStructTests()
441 fragments["capability"] = "OpCapability Int64\n"; in addGraphicsIndexingStructTests()
471 fragments["capability"] += "OpCapability VariablePointersStorageBuffer"; in addGraphicsIndexingStructTests()
472fragments["extension"] = "OpExtension \"SPV_KHR_variable_pointers\"\nOpExtension \"SPV_KHR_stor… in addGraphicsIndexingStructTests()
489 fragments["pre_main"] = preMain.specialize(specs); in addGraphicsIndexingStructTests()
490 fragments["decoration"] = decoration.specialize(specs); in addGraphicsIndexingStructTests()
491 fragments["testfun"] = testFun.specialize(specs); in addGraphicsIndexingStructTests()
494 testName.c_str(), defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsIndexingStructTests()
506 map<string, string> fragments = passthruFragments(); in addGraphicsOutputComponentIndexingTests() local
[all …]
DvktSpvAsm8bitStorageTests.cpp2667 map<string, string> fragments; in addGraphics8BitStorageUniformInt32To8Group() local
2676 fragments["extension"] = in addGraphics8BitStorageUniformInt32To8Group()
2866 fragments["pre_main"] = categories[catIdx].preMain.specialize(specs); in addGraphics8BitStorageUniformInt32To8Group()
2867 fragments["testfun"] = categories[catIdx].testFunction.specialize(specs); in addGraphics8BitStorageUniformInt32To8Group()
2868 fragments["capability"] = capabilities.specialize(specs); in addGraphics8BitStorageUniformInt32To8Group()
2869 fragments["decoration"] = categories[catIdx].decoration.specialize(specs); in addGraphics8BitStorageUniformInt32To8Group()
2871 …createTestsForAllStages(name, defaultColors, defaultColors, fragments, resources, extensions, test… in addGraphics8BitStorageUniformInt32To8Group()
2879 map<string, string> fragments; in addGraphics8BitStorageUniformInt8To32Group() local
2888 fragments["extension"] = in addGraphics8BitStorageUniformInt8To32Group()
3089 fragments["pre_main"] = categories[catIdx].preMain.specialize(specs); in addGraphics8BitStorageUniformInt8To32Group()
[all …]
DvktSpvAsmUboMatrixPaddingTests.cpp148 map<string, string> fragments; in addGraphicsUboMatrixPaddingTest() local
169 fragments["pre_main"] = in addGraphicsUboMatrixPaddingTest()
183 fragments["decoration"] = in addGraphicsUboMatrixPaddingTest()
200 fragments["testfun"] = in addGraphicsUboMatrixPaddingTest()
250 …K_SHADER_STAGE_VERTEX_BIT, "mat2x2_vert", defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsUboMatrixPaddingTest()
253 …TESSELLATION_CONTROL_BIT, "mat2x2_tessc", defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsUboMatrixPaddingTest()
256 …SELLATION_EVALUATION_BIT, "mat2x2_tesse", defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsUboMatrixPaddingTest()
259 …SHADER_STAGE_GEOMETRY_BIT, "mat2x2_geom", defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsUboMatrixPaddingTest()
264 …SHADER_STAGE_FRAGMENT_BIT, "mat2x2_frag", defaultColors, defaultColors, fragments, noSpecConstants, in addGraphicsUboMatrixPaddingTest()
DvktSpvAsmConditionalBranchTests.cpp145 map<string, string> fragments; in addGraphicsSameLabelsTest() local
149 fragments["pre_main"] = in addGraphicsSameLabelsTest()
161 fragments["decoration"] = in addGraphicsSameLabelsTest()
210 fragments["testfun"] = testFun.specialize(specs); in addGraphicsSameLabelsTest()
212 …createTestsForAllStages(testName.c_str(), defaultColors, defaultColors, fragments, resources, vect… in addGraphicsSameLabelsTest()
DvktSpvAsmInstructionTests.cpp6195 map<string, string> fragments = passthruFragments(); in createOpSourceTests() local
6216 fragments["debug"] = tests[testNdx].code; in createOpSourceTests()
6217 …createTestsForAllStages(tests[testNdx].name, defaultColors, defaultColors, fragments, opSourceTest… in createOpSourceTests()
6228 map<string, string> fragments = passthruFragments(); in createOpSourceContinuedTests() local
6245 fragments["debug"] = tests[testNdx].code; in createOpSourceContinuedTests()
6246 …createTestsForAllStages(tests[testNdx].name, defaultColors, defaultColors, fragments, opSourceTest… in createOpSourceContinuedTests()
6255 map<string, string> fragments; in createOpNoLineTests() local
6257 fragments["debug"] = in createOpNoLineTests()
6260 fragments["pre_main"] = in createOpNoLineTests()
6283 fragments["testfun"] = in createOpNoLineTests()
[all …]
DvktSpvAsmVariableInitTests.cpp186 map<string, string> fragments; in addGraphicsVariableInitPrivateTest() local
259 fragments["extension"] = "OpExtension \"SPV_KHR_storage_buffer_storage_class\"\n"; in addGraphicsVariableInitPrivateTest()
260 fragments["pre_main"] = preMain.specialize(shaderSpec); in addGraphicsVariableInitPrivateTest()
261 fragments["decoration"] = decoration.specialize(shaderSpec); in addGraphicsVariableInitPrivateTest()
262 fragments["testfun"] = testFun.specialize(shaderSpec); in addGraphicsVariableInitPrivateTest()
264 …createTestsForAllStages(params[paramIdx].name, defaultColors, defaultColors, fragments, resources,… in addGraphicsVariableInitPrivateTest()
552 map<string, string> fragments; in addGraphicsVariableInitOutputTest() local
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DTwoSecondIntersectionFinder.java58 long fragments[] = new long[fragmentCount]; in sampleNumbers() local
59 Arrays.fill(fragments, -1); in sampleNumbers()
60 fragments[0] = 1; in sampleNumbers()
67 if (currentFragment >= fragments.length) { in sampleNumbers()
70 fragments[currentFragment] = samples++ + 1; in sampleNumbers()
76 for (int i = fragments.length - 1; i >= 0; i--) { in sampleNumbers()
77 if (fragments[i] == -1) { in sampleNumbers()
78 fragments[i] = last ; in sampleNumbers()
80 last = fragments[i]; in sampleNumbers()
82 return fragments; in sampleNumbers()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c62 FRAGMENT_DATA fragments; member
107 priv->fragments.count = 0; in vp8_init()
109 priv->fragments.enabled = in vp8_init()
240 if (ctx->fragments.count == 0) { in update_fragments()
242 memset((void *)ctx->fragments.ptrs, 0, sizeof(ctx->fragments.ptrs)); in update_fragments()
243 memset(ctx->fragments.sizes, 0, sizeof(ctx->fragments.sizes)); in update_fragments()
245 if (ctx->fragments.enabled && !(data == NULL && data_sz == 0)) { in update_fragments()
249 ctx->fragments.ptrs[ctx->fragments.count] = data; in update_fragments()
250 ctx->fragments.sizes[ctx->fragments.count] = data_sz; in update_fragments()
251 ctx->fragments.count++; in update_fragments()
[all …]
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DReplaceIcuTags.java39 List<IDocElement> fragments = tag.fragments(); in visitTagElement() local
44 if (fragments.size() == 0) { in visitTagElement()
47 IDocElement element = fragments.get(0); in visitTagElement()
58 IDocElement element = fragments.get(0); in visitTagElement()
67 rewrite.replace(tag, createDiscouragedText(ast, fragments), null /* editGroup */); in visitTagElement()
104 private static TagElement createDiscouragedText(AST ast, List<IDocElement> fragments) { in createDiscouragedText() argument
106 for (IDocElement element : fragments) { in createDiscouragedText()
DTranslateJcite.java147 fakeWrapper.fragments().add(replacementTagNode); in visitTagElement()
154 List<IDocElement> fragments = tagNode.fragments(); in createSampleTagElement() local
155 if (fragments.size() != 1) { in createSampleTagElement()
158 String fragmentText = fragments.get(0).toString().trim(); in createSampleTagElement()
191 replacement.fragments().add(AstNodes.createTextElement(ast, ESCAPED_JCITE_TAG)); in createEscapedJciteTagElement()
192 replacement.fragments().addAll(ASTNode.copySubtrees(ast, tagNode.fragments())); in createEscapedJciteTagElement()
/external/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py288 fragments = lines[0].rstrip().split()
289 self.arch = fragments[2]
290 self.debug_id = fragments[3]
291 self.binary = ' '.join(fragments[4:])
297 fragments = line.split()
298 if fragments[0] == 'FILE':
299 assert int(fragments[1]) == len(self.files)
300 self.files.append(' '.join(fragments[2:]))
301 elif fragments[0] == 'PUBLIC':
302 self.symbols[int(fragments[1], 16)] = ' '.join(fragments[3:])
[all …]
/external/v8/tools/
Dgen-inlining-tests.py304 fragments = {
309 fragments = {
314 fragments = {
319 fragments = {
324 fragments = {
330 fragments = {
356 write( " {} 4 + {increaseAndReturn15};".format(resultTo, **fragments))
364 write( " {} 4 + {increaseAndThrow42};".format(resultTo, **fragments))
369 write( " {} 4 + {increaseAndReturn15};".format(resultTo, **fragments))
/external/ltp/testcases/kernel/fs/mongo/
Dmap5.c19 int fragments; in main() local
41 fragments = 0; in main()
52 fragments++; in main()
64 printf("%d\n", fragments); in main()
/external/boringssl/src/ssl/test/runner/
Ddtls.go270 var fragments [][]byte
271 fragments, c.pendingFragments = c.pendingFragments, fragments
274 perm := rand.New(rand.NewSource(0)).Perm(len(fragments))
275 tmp := make([][]byte, len(fragments))
277 tmp[i] = fragments[perm[i]]
279 fragments = tmp
281 tmp := make([][]byte, len(fragments))
283 tmp[i] = fragments[len(fragments)-i-1]
285 fragments = tmp
292 for _, fragment := range fragments {
/external/squashfs-tools/squashfs-tools/
Dunsquash-2.c46 int bytes = SQUASHFS_FRAGMENT_BYTES_2(sBlk.s.fragments); in read_fragment_table_2()
47 int indexes = SQUASHFS_FRAGMENT_INDEXES_2(sBlk.s.fragments); in read_fragment_table_2()
51 "from 0x%llx\n", sBlk.s.fragments, indexes, in read_fragment_table_2()
54 if(sBlk.s.fragments == 0) { in read_fragment_table_2()
68 SQUASHFS_FRAGMENT_INDEX_BYTES_2(sBlk.s.fragments), in read_fragment_table_2()
79 SQUASHFS_FRAGMENT_INDEX_BYTES_2(sBlk.s.fragments), in read_fragment_table_2()
105 for(i = 0; i < sBlk.s.fragments; i++) { in read_fragment_table_2()
/external/python/cpython2/Lib/plat-mac/
Dcfmfile.py44 for frag in srccfrg.fragments:
65 self.fragments = []
91 self.fragments.append(frag)
94 self.memberCount = len(self.fragments)
96 for frag in self.fragments:
101 self.fragments.append(frag)
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c737 pbi->fragments.ptrs[0] + pbi->fragments.sizes[0]; in setup_token_decoder()
748 for (fragment_idx = 0; fragment_idx < pbi->fragments.count; ++fragment_idx) { in setup_token_decoder()
749 unsigned int fragment_size = pbi->fragments.sizes[fragment_idx]; in setup_token_decoder()
751 pbi->fragments.ptrs[fragment_idx] + fragment_size; in setup_token_decoder()
757 pbi->fragments.ptrs[0] + in setup_token_decoder()
764 pbi->fragments.sizes[0] = (unsigned int)ext_first_part_size; in setup_token_decoder()
768 pbi->fragments.ptrs[fragment_idx] = in setup_token_decoder()
769 pbi->fragments.ptrs[0] + pbi->fragments.sizes[0]; in setup_token_decoder()
775 pbi, token_part_sizes, pbi->fragments.ptrs[fragment_idx], in setup_token_decoder()
778 pbi->fragments.sizes[fragment_idx] = (unsigned int)partition_size; in setup_token_decoder()
[all …]
/external/clang/tools/scan-build-py/libscanbuild/
Dreport.py82 fragments = []
84 fragments.append(bug_summary(output_dir, bug_counter))
85 fragments.append(bug_report(output_dir, prefix))
87 fragments.append(crash_report(output_dir, prefix))
88 assemble_cover(output_dir, prefix, args, fragments)
94 for fragment in fragments:
99 def assemble_cover(output_dir, prefix, args, fragments): argument
138 for fragment in fragments:
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_channel.py282 fragments = []
292 return fragments
302 fragments.append(first_fragment)
339 fragments.append(fragment)
341 return fragments
/external/python/cpython2/Doc/library/
Daudioop.rst9 The :mod:`audioop` module contains some useful operations on sound fragments.
10 It operates on sound fragments consisting of signed integer samples 8, 16 or 32
41 fragments should have the same length. Samples are truncated in case of overflow.
53 Convert sound fragments in a-LAW encoding to linearly encoded sound fragments.
86 make it match as well as possible to *fragment*. The fragments should both
97 minimizing the result. The fragments should both contain 2-byte samples.
107 is maximal. The fragments should both contain 2-byte samples.
227 Convert sound fragments in u-LAW encoding to linearly encoded sound fragments.
232 between mono and stereo fragments, i.e. all samples are treated equal. If this
233 is a problem the stereo fragment should be split into two mono fragments first

1234567891011