Home
last modified time | relevance | path

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

123456789

/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.c67 FRAGMENT_DATA fragments; member
110 priv->fragments.count = 0; in vp8_init()
112 priv->fragments.enabled = in vp8_init()
277 if (ctx->fragments.count == 0) in update_fragments()
280 memset((void*)ctx->fragments.ptrs, 0, sizeof(ctx->fragments.ptrs)); in update_fragments()
281 memset(ctx->fragments.sizes, 0, sizeof(ctx->fragments.sizes)); in update_fragments()
283 if (ctx->fragments.enabled && !(data == NULL && data_sz == 0)) in update_fragments()
288 ctx->fragments.ptrs[ctx->fragments.count] = data; in update_fragments()
289 ctx->fragments.sizes[ctx->fragments.count] = data_sz; in update_fragments()
290 ctx->fragments.count++; in update_fragments()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp3436 string makeVertexShaderAssembly(const map<string, string>& fragments) in makeVertexShaderAssembly() argument
3493 return tcu::StringTemplate(vertexShaderBoilerplate).specialize(fragments); in makeVertexShaderAssembly()
3518 string makeTessControlShaderAssembly (const map<string, string>& fragments) in makeTessControlShaderAssembly() argument
3616 return tcu::StringTemplate(tessControlShaderBoilerplate).specialize(fragments); in makeTessControlShaderAssembly()
3642 string makeTessEvalShaderAssembly(const map<string, string>& fragments) in makeTessEvalShaderAssembly() argument
3750 return tcu::StringTemplate(tessEvalBoilerplate).specialize(fragments); in makeTessEvalShaderAssembly()
3779 string makeGeometryShaderAssembly(const map<string, string>& fragments) in makeGeometryShaderAssembly() argument
3862 return tcu::StringTemplate(geometryShaderBoilerplate).specialize(fragments); in makeGeometryShaderAssembly()
3879 string makeFragmentShaderAssembly(const map<string, string>& fragments) in makeFragmentShaderAssembly() argument
3908 return tcu::StringTemplate(fragmentShaderBoilerplate).specialize(fragments); in makeFragmentShaderAssembly()
[all …]
/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/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DTranslateJcite.java142 fakeWrapper.fragments().add(replacementTagNode); in visitTagElement()
149 List<IDocElement> fragments = tagNode.fragments(); in createSampleTagElement() local
150 if (fragments.size() != 1) { in createSampleTagElement()
153 String fragmentText = fragments.get(0).toString().trim(); in createSampleTagElement()
186 replacement.fragments().add(AstNodes.createTextElement(ast, ESCAPED_JCITE_TAG)); in createEscapedJciteTagElement()
187 replacement.fragments().addAll(ASTNode.copySubtrees(ast, tagNode.fragments())); in createEscapedJciteTagElement()
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()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DFragmentExtension.java55 int fragments=1; in addFrame() local
59 fragments++; in addFrame()
66 while (fragments<_minFragments) in addFrame()
69 fragments++; in addFrame()
/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()
Dunsquash-3.c33 int bytes = SQUASHFS_FRAGMENT_BYTES_3(sBlk.s.fragments); in read_fragment_table_3()
34 int indexes = SQUASHFS_FRAGMENT_INDEXES_3(sBlk.s.fragments); in read_fragment_table_3()
38 "from 0x%llx\n", sBlk.s.fragments, indexes, in read_fragment_table_3()
41 if(sBlk.s.fragments == 0) { in read_fragment_table_3()
55 SQUASHFS_FRAGMENT_INDEX_BYTES_3(sBlk.s.fragments), in read_fragment_table_3()
66 SQUASHFS_FRAGMENT_INDEX_BYTES_3(sBlk.s.fragments), in read_fragment_table_3()
92 for(i = 0; i < sBlk.s.fragments; i++) { in read_fragment_table_3()
Dread_fs.c221 file_mapping = calloc(sBlk->fragments, sizeof(struct append_file *)); in scan_inode_table()
284 inode.fragment >= sBlk->fragments) { in scan_inode_table()
340 inode.fragment >= sBlk->fragments) { in scan_inode_table()
605 printf("\tNumber of fragments %d\n", sBlk->fragments); in read_super()
754 int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk->fragments); in read_fragment_table()
755 int indexes = SQUASHFS_FRAGMENT_INDEXES(sBlk->fragments); in read_fragment_table()
759 "from 0x%llx\n", sBlk->fragments, indexes, in read_fragment_table()
762 if(sBlk->fragments == 0) in read_fragment_table()
770 SQUASHFS_FRAGMENT_INDEX_BYTES(sBlk->fragments), in read_fragment_table()
799 for(i = 0; i < sBlk->fragments; i++) in read_fragment_table()
Dunsquash-4.c34 int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk.s.fragments); in read_fragment_table_4()
35 int indexes = SQUASHFS_FRAGMENT_INDEXES(sBlk.s.fragments); in read_fragment_table_4()
39 "from 0x%llx\n", sBlk.s.fragments, indexes, in read_fragment_table_4()
42 if(sBlk.s.fragments == 0) { in read_fragment_table_4()
53 SQUASHFS_FRAGMENT_INDEX_BYTES(sBlk.s.fragments), in read_fragment_table_4()
77 for(i = 0; i < sBlk.s.fragments; i++) in read_fragment_table_4()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/
DTestFragmentManager.java117 … Object[] fragments = (Object[]) bundle.getSerializable(ShadowFragmentActivity.FRAGMENTS_TAG); in getFragment() local
118 for (Object object : fragments) { in getFragment()
184 HashSet<Fragment> fragments = new HashSet<Fragment>(); in getFragments() local
185 fragments.addAll(fragmentsById.values()); in getFragments()
186 fragments.addAll(fragmentsByTag.values()); in getFragments()
187 return fragments; in getFragments()
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c832 const unsigned char *first_fragment_end = pbi->fragments.ptrs[0] + in setup_token_decoder()
833 pbi->fragments.sizes[0]; in setup_token_decoder()
843 for (fragment_idx = 0; fragment_idx < pbi->fragments.count; ++fragment_idx) in setup_token_decoder()
845 unsigned int fragment_size = pbi->fragments.sizes[fragment_idx]; in setup_token_decoder()
846 const unsigned char *fragment_end = pbi->fragments.ptrs[fragment_idx] + in setup_token_decoder()
854 pbi->fragments.ptrs[0] + 3 * (num_token_partitions - 1); in setup_token_decoder()
858 pbi->fragments.sizes[0] = (unsigned int)ext_first_part_size; in setup_token_decoder()
862 pbi->fragments.ptrs[fragment_idx] = pbi->fragments.ptrs[0] + in setup_token_decoder()
863 pbi->fragments.sizes[0]; in setup_token_decoder()
872 pbi->fragments.ptrs[fragment_idx], in setup_token_decoder()
[all …]
/external/boringssl/src/ssl/test/runner/
Ddtls.go207 var fragments [][]byte
208 fragments, c.pendingFragments = c.pendingFragments, fragments
211 perm := rand.New(rand.NewSource(0)).Perm(len(fragments))
212 tmp := make([][]byte, len(fragments))
214 tmp[i] = fragments[perm[i]]
216 fragments = tmp
224 for _, fragment := range 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/tinycompress/
Dcompress.c170 if (config->fragments < caps->min_fragments) { in _is_codec_supported()
172 config->fragments, caps->min_fragments); in _is_codec_supported()
175 if (config->fragments > caps->max_fragments) { in _is_codec_supported()
177 config->fragments, caps->max_fragments); in _is_codec_supported()
211 params->buffer.fragments = config->fragments; in fill_compress_params()
266 if ((config->fragment_size == 0) || (config->fragments == 0)) { in compress_open()
268 config->fragments = caps.max_fragments; in compress_open()
Dcplay.c243 config.fragments = frag; in play_samples()
247 config.fragments = 0; in play_samples()
261 buffer = malloc(size * config.fragments); in play_samples()
268 num_read = fread(buffer, 1, size * config.fragments, file); in play_samples()
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c75 unsigned int fragments; in squashfs_fill_super() local
181 TRACE("Number of fragments %d\n", le32_to_cpu(sblk->fragments)); in squashfs_fill_super()
217 fragments = le32_to_cpu(sblk->fragments); in squashfs_fill_super()
218 if (fragments == 0) in squashfs_fill_super()
230 le64_to_cpu(sblk->fragment_table_start), fragments); in squashfs_fill_super()
Dfragment.c76 u64 fragment_table_start, unsigned int fragments) in squashfs_read_fragment_index_table() argument
78 unsigned int length = SQUASHFS_FRAGMENT_INDEX_BYTES(fragments); in squashfs_read_fragment_index_table()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DFieldLocator.java57 : (List<VariableDeclarationFragment>) fieldDeclaration.fragments()) { in matches()
79 : (List<VariableDeclarationFragment>) fieldDeclaration.fragments()) { in find()
102 List<VariableDeclarationFragment> fieldDeclarations = fieldDeclarationNode.fragments(); in getFieldNames()
/external/llvm/utils/llvm-build/llvmbuild/
Dmain.py233 fragments = []
241 fragments.append(("common", fragment))
244 num_common_fragments = len(fragments)
250 name = "component_%d" % (len(fragments) - num_common_fragments)
251 fragments.append((name, fragment))
253 if not fragments:
308 for name,fragment in fragments:
314 if fragment is not fragments[-1][1]:
/external/squashfs-tools/RELEASE-READMEs/
DREADME-2.025 in a 96K file) are packed into shared fragments and compressed together.
56 Do not compress the fragments. Added for compatibility with noI and
59 -no-fragments
63 be a Squashfs 2.0 filesystem but without fragments, and so
66 -always-use-fragments
70 are NOT by default packed into fragments. To illustrate this, a
/external/autotest/client/site_tests/security_StatefulPermissions/
Dsecurity_StatefulPermissions.py108 fragments = [fragment % path for path in prunelist]
109 return " ".join(fragments)
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/fixtures/
Djsdom_parser_test.js39 fragments = [
60 fragments.forEach(function (fragment) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowFragmentActivity.java37 Object[] fragments = (Object[]) bundle.getSerializable(FRAGMENTS_TAG); in onCreate() local
39 for (Object o : fragments) { in onCreate()

123456789