Home
last modified time | relevance | path

Searched refs:fragment_index (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc111 bool RtpPacketizerH264::PacketizeFuA(size_t fragment_index) { in PacketizeFuA() argument
113 rtc::ArrayView<const uint8_t> fragment = input_fragments_[fragment_index]; in PacketizeFuA()
123 if (fragment_index == input_fragments_.size() - 1) { in PacketizeFuA()
125 } else if (fragment_index == 0) { in PacketizeFuA()
131 if (fragment_index != 0) in PacketizeFuA()
133 if (fragment_index != input_fragments_.size() - 1) in PacketizeFuA()
159 size_t RtpPacketizerH264::PacketizeStapA(size_t fragment_index) { in PacketizeStapA() argument
164 else if (fragment_index == 0) in PacketizeStapA()
168 rtc::ArrayView<const uint8_t> fragment = input_fragments_[fragment_index]; in PacketizeStapA()
179 if (fragment_index == input_fragments_.size() - 1) { in PacketizeStapA()
[all …]
Drtp_format_h264.h74 bool PacketizeFuA(size_t fragment_index);
75 size_t PacketizeStapA(size_t fragment_index);
76 bool PacketizeSingleNalu(size_t fragment_index);
/external/squashfs-tools/kernel/fs/squashfs/
Dfragment.c56 u64 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
79 __le64 *fragment_index; in squashfs_read_fragment_index_table() local
83 fragment_index = kmalloc(length, GFP_KERNEL); in squashfs_read_fragment_index_table()
84 if (fragment_index == NULL) { in squashfs_read_fragment_index_table()
89 err = squashfs_read_table(sb, fragment_index, fragment_table_start, in squashfs_read_fragment_index_table()
93 kfree(fragment_index); in squashfs_read_fragment_index_table()
97 return fragment_index; in squashfs_read_fragment_index_table()
Dsuper.c229 msblk->fragment_index = squashfs_read_fragment_index_table(sb, in squashfs_fill_super()
231 if (IS_ERR(msblk->fragment_index)) { in squashfs_fill_super()
232 err = PTR_ERR(msblk->fragment_index); in squashfs_fill_super()
233 msblk->fragment_index = NULL; in squashfs_fill_super()
284 kfree(msblk->fragment_index); in squashfs_fill_super()
333 kfree(sbi->fragment_index); in squashfs_put_super()
Dsquashfs_fs_sb.h62 __le64 *fragment_index; member
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc814 for (int fragment_index = 0; in TC3_JNI_METHOD() local
815 fragment_index < annotations.annotated_spans.size(); ++fragment_index) { in TC3_JNI_METHOD()
819 env, annotations.annotated_spans[fragment_index].size(), in TC3_JNI_METHOD()
822 annotation_index < annotations.annotated_spans[fragment_index].size(); in TC3_JNI_METHOD()
825 string_fragments[fragment_index].text, in TC3_JNI_METHOD()
826 annotations.annotated_spans[fragment_index][annotation_index].span); in TC3_JNI_METHOD()
831 annotations.annotated_spans[fragment_index][annotation_index] in TC3_JNI_METHOD()
849 fragment_index, in TC3_JNI_METHOD()
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs_sb.h60 __le64 *fragment_index; member
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs_sb.h55 long long *fragment_index; member
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c380 msblk->fragment_index[SQUASHFS_FRAGMENT_INDEX(fragment)]; in get_fragment_location()
860 if (!(msblk->fragment_index = kmalloc(SQUASHFS_FRAGMENT_INDEX_BYTES in read_fragment_index_table()
868 msblk->fragment_index, in read_fragment_index_table()
884 &msblk->fragment_index[i], 1); in read_fragment_index_table()
885 msblk->fragment_index[i] = fragment; in read_fragment_index_table()
1110 kfree(msblk->fragment_index); in squashfs_read_super()
1991 kfree(sbi->fragment_index); in squashfs_put_super()
2000 sbi->fragment_index = NULL; in squashfs_put_super()