Searched refs:offset (Results 26 - 50 of 95) sorted by relevance

1234

/system/media/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument
55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE);
128 off64_t offset = 0; local
134 while (offset < streamSize) {
135 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) {
139 SL_LOGE("AacAdtsExtractor() failed querying framesize at offset=%lld", offset);
143 offset += frameSize;
144 if (offset > streamSize) {
145 SL_LOGE("AacAdtsExtractor() frame of size %zu at offset
[all...]
/system/netd/
H A Dndc.c118 int offset = 0; local
126 strncpy(tmp, buffer + offset, 3);
130 printf("%s\n", buffer + offset);
135 offset = i + 1;
/system/vold/
H A Dvdc.c122 int offset = 0; local
130 strncpy(tmp, buffer + offset, 3);
134 printf("%s\n", buffer + offset);
139 offset = i + 1;
/system/extras/ext4_utils/
H A Dbacked_block.c27 off64_t offset; member in struct:data_block
109 void queue_data_file(const char *filename, off64_t offset, u32 len, argument
119 db->offset = offset;
142 file_func(priv, (u64)db->block * info.block_size, db->filename, db->offset, db->len);
/system/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java144 // TODO: This function may be a bit confusing: Is the offset the target or source offset? Maybe
147 public void setData(ByteBuffer buffer, int offset, int length) { argument
150 if ((length + offset) > buffer.limit()) {
152 (length + offset) + " bytes given, but only " + buffer.limit() +
158 } else if (!setNativeData(bytes, offset, length)) {
244 private native boolean setNativeData(byte[] data, int offset, int length); argument
H A DFrame.java106 public abstract void setData(ByteBuffer buffer, int offset, int length); argument
112 public void setData(byte[] bytes, int offset, int length) { argument
113 setData(ByteBuffer.wrap(bytes, offset, length));
H A DSimpleFrame.java112 public void setData(ByteBuffer buffer, int offset, int length) { argument
114 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
/system/media/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.c54 size_t offset = x->mOffset; local
55 void *thisItf = (char *) thisObject + offset;
162 size_t offset = x->mOffset; local
163 void *thisItf = (char *) thisObject + offset;
231 size_t offset = x->mOffset; local
232 void *thisItf = (char *) thisObject + offset;
310 size_t offset = x->mOffset; local
311 void *thisItf = (char *) thisObject + offset;
410 size_t offset = x->mOffset; local
411 void *thisItf = (char *) thiz + offset;
[all...]
/system/core/libsysutils/src/
H A DFrameworkListener.cpp44 int offset = 0; local
50 dispatchCommand(c, buffer + offset);
51 offset = i + 1;
/system/extras/tests/include/
H A DtestUtil.h61 void testXDumpSetOffset(uint64_t offset);
/system/media/mca/filterfw/jni/
H A Djni_vertex_frame.h44 jint offset,
H A Djni_vertex_frame.cpp72 jint offset,
78 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset),
69 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
/system/core/include/diskconfig/
H A Ddiskconfig.h100 loff_t offset; member in struct:write_list
119 int write_raw_image(const char *dst, const char *src, loff_t offset, int test);
/system/core/libcutils/
H A Dashmem-host.c86 int ashmem_pin_region(int fd, size_t offset, size_t len) argument
91 int ashmem_unpin_region(int fd, size_t offset, size_t len) argument
H A Dtztime.c120 long tt_gmtoff; /* UTC offset in seconds */
183 static struct tm * gmtsub P((const time_t * timep, long offset,
185 static struct tm * localsub P((const time_t * timep, long offset,
198 long offset, const struct state * sp));
202 long offset, int * okayp, const struct state * sp));
205 long offset, int * okayp, int do_norm_secs,
207 static struct tm * timesub P((const time_t * timep, long offset,
212 const struct rule * rulep, long offset));
745 ** Given a pointer into a time zone string, extract an offset, in
828 ** year, a rule, and the offset fro
[all...]
/system/core/debuggerd/arm/
H A Dpr-support.c69 _uw16 offset; member in struct:__anon284
75 _uw offset; member in struct:__anon285
139 _uw offset; local
141 offset = ((op & 0x3f) << 2) + 4;
144 reg -= offset;
146 reg += offset;
H A Dunwind.c110 _uw16 offset; member in struct:__anon286
116 _uw offset; member in struct:__anon287
225 /* Calculate the address encoded by a 31-bit self-relative offset at address
230 _uw offset = get_remote_word(pid, (void*)p); local
232 //offset = *p;
234 if (offset & (1 << 30))
235 offset |= 1u << 31;
237 offset &= ~(1u << 31);
239 return offset + (_uw) p;
350 offset t
[all...]
/system/core/libpixelflinger/
H A Draster.cpp77 GGLint offset = GGLint(c->state.scissor.left) - xd; local
79 xs += offset;
80 width -= offset;
83 GGLint offset = GGLint(c->state.scissor.top) - yd; local
85 ys += offset;
86 height -= offset;
/system/core/libpixelflinger/codeflinger/
H A Ddisassem.c617 int offset; local
619 offset = insn & 0xfff;
623 loc += offset;
625 loc -= offset;
636 di->di_printf("#0x%03x", offset);
646 int offset; local
648 offset = ((insn & 0xf00) >> 4) | (insn & 0xf);
652 loc += offset;
654 loc -= offset;
663 di->di_printf("#0x%02x", offset);
[all...]
H A DARMAssemblerInterface.h146 int Rn, uint32_t offset = immed12_pre(0)) = 0;
148 int Rn, uint32_t offset = immed12_pre(0)) = 0;
150 int Rn, uint32_t offset = immed12_pre(0)) = 0;
152 int Rn, uint32_t offset = immed12_pre(0)) = 0;
155 int Rn, uint32_t offset = immed8_pre(0)) = 0;
157 int Rn, uint32_t offset = immed8_pre(0)) = 0;
159 int Rn, uint32_t offset = immed8_pre(0)) = 0;
161 int Rn, uint32_t offset = immed8_pre(0)) = 0;
186 virtual void PLD(int Rn, uint32_t offset) = 0;
/system/extras/tests/framebuffer/
H A Drefresh.c98 info.red.offset, info.red.length,
99 info.green.offset, info.green.length,
100 info.blue.offset, info.blue.length
/system/media/audio_utils/
H A Decho_reference.c346 int offset = er->frames_in - previousFrameIn; local
349 offset, er->frames_in, previousFrameIn);
357 if (offset > 0)
359 0, offset * er->rd_frame_size);
364 int offset = previousFrameIn - framesInInt; local
367 "framesInInt: [%d], offset:[%d], buffer->frame_count:[%d]",
368 previousFrameIn, framesInInt, offset, buffer->frame_count);
381 if (offset > 0) {
382 memcpy(er->buffer, (char *)er->buffer + (offset * er->rd_frame_size),
/system/core/toolbox/
H A Ddd.h56 uint64_t offset; /* # of blocks to skip */ member in struct:__anon440
/system/media/wilhelm/src/android/
H A Dandroid_LocAVPlayer.cpp63 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset,
H A Dandroid_defs.h193 int64_t offset; member in struct:android::FdInfo

Completed in 492 milliseconds

1234