Searched refs:offset (Results 51 - 75 of 95) sorted by relevance

1234

/system/extras/tests/memtest/
H A Dmemtest.cpp191 for (int offset=0 ; offset<=2 ; offset +=2 ) {
196 MEMCPY(ddd, sss+offset, size);
362 printf("*** memset(%p,%02x,%zd) failed at offset %zd\n",d,(int)c,size, i);
448 for (int offset=0 ; offset<=2 ; offset +=2 ) {
449 memcpy(ddd, sss+offset, size); // just make sure to load the caches I/D
453 c = memcmp(ddd, sss+offset, siz
[all...]
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp356 // merge base & offset
526 // and compute offset to the next texel
609 // merge base & offset...
610 comment("merge base & offset");
711 int offset = pixel; local
712 ADD(AL, 0, offset, lb, rt);
713 LDRB(AL, pixel, txPtr.reg, reg_scale_pre(offset));
795 const uint32_t offset = (mask & tmu.format.mask(i)) ? 0 : shift; local
796 texel.format.c[i].h = tmu.format.c[i].h + offset + prec;
810 int offset local
1000 int offset = pixel; local
[all...]
H A Dload_store.cpp283 const int offset = sh - dbits; local
284 if (dbits<=8 && offset >= 0) {
285 const uint32_t mask = ((1<<dbits)-1) << offset;
288 sl = offset;
/system/extras/ext4_utils/
H A Dext4_utils.h44 int fd, off64_t offset)
46 return __mmap2(addr, length, prot, flags, fd, offset >> 12);
43 mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset) argument
H A Dextent.c58 off64_t offset = 0; local
67 queue_data_file(filename, offset, len, region_block);
68 offset += len;
H A Dext4fixup.c75 unsigned int group, offset; local
78 offset = (old_inum -1) % info.inodes_per_group;
80 return (group * new_inodes_per_group) + offset + 1;
99 /* Function to write a primary or backup superblock at a given offset */
100 static void write_sb(int fd, unsigned long long offset, struct ext4_super_block *sb) argument
108 ret = lseek64(fd, offset, SEEK_SET);
412 /* The first superblock is offset by 1K to leave room for boot sectors */
H A Doutput_file.c188 * So, if the offset is less than the current output pointer,
193 //DBG printf("write chunk: offset 0x%llx, length 0x%x bytes\n", off, len);
196 error("offset %llu is less than the current output offset %llu",
206 error("write chunk offset %llu is not a multiple of the block size %u",
212 error("internal error, offset accounting screwy in write_chunk_raw()");
259 * So, if the offset is less than the current output pointer,
264 //DBG printf("write chunk: offset 0x%llx, length 0x%x bytes\n", off, len);
267 error("offset %llu is less than the current output offset
508 write_data_file(struct output_file *out, u64 off, const char *file, off64_t offset, int len) argument
[all...]
/system/core/sh/
H A Doutput.c149 int offset; local
162 offset = dest->bufsize;
166 dest->nleft = dest->bufsize - offset;
167 dest->nextc = dest->buf + offset;
/system/core/toolbox/
H A Dlsof.c104 size_t offset; local
116 while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %s\n", &offset, device, &inode,
124 "???", device, offset, inode, file);
H A Ddd.c234 if (in.offset)
236 if (out.offset)
244 (void)ftruncate(out.fd, (off_t)out.offset * out.dbsz);
632 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) {
647 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
703 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1) {
715 t_op.mt_count = out.offset;
725 for (cnt = 0; cnt < out.offset; ++cnt) {
749 while (cnt++ < out.offset)
1181 * if (in.offset > INT_MA
[all...]
/system/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java207 public void setData(ByteBuffer buffer, int offset, int length) { argument
213 } else if (!setNativeData(bytes, offset, length)) {
380 private native boolean setNativeData(byte[] data, int offset, int length); argument
H A DSerializedFrame.java230 public void setData(ByteBuffer buffer, int offset, int length) { argument
232 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
/system/media/mca/filterfw/native/core/
H A Dshader_program.h248 // offset and stride to select the correct data portion.
254 // offset: The offset of the first element.
263 int offset,
278 int offset,
416 int offset; member in struct:android::filterfw::ShaderProgram::VertexAttrib
H A Dshader_program.cpp69 offset(0),
956 int offset,
970 attrib.offset = offset;
982 int offset,
995 attrib.values = data + offset;
1090 reinterpret_cast<const void*>(attrib.offset));
951 SetAttributeValues(ProgramVar var, const VertexFrame* vbo, GLenum type, int components, int stride, int offset, bool normalize) argument
977 SetAttributeValues(ProgramVar var, const uint8_t* data, GLenum type, int components, int stride, int offset, bool normalize) argument
/system/media/wilhelm/tests/examples/
H A DslesTestPlayFdPath.cpp50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
118 locatorFd.offset = offset;
199 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
H A DslesTestEqFdPath.cpp52 , SLAint64 offset, SLAint64 size
130 locatorFd.offset = offset;
286 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument
H A DslesTestEqOutputPath.cpp52 , SLAint64 offset, SLAint64 size
137 locatorFd.offset = offset;
290 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument
/system/media/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp98 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument
99 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd,
100 offset, length, closeAfterUse ? "true" : "false");
112 if (offset >= sb.st_size) {
113 SL_LOGE("SfPlayer::setDataSource: invalid offset");
116 mDataLocator.fdi.offset = offset;
120 } else if (offset + length > sb.st_size) {
121 mDataLocator.fdi.length = sb.st_size - offset;
/system/media/mca/filterfw/jni/
H A Djni_native_frame.h54 jint offset,
H A Djni_gl_frame.h73 jint offset,
H A Djni_shader_program.h143 jint offset,
/system/media/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h165 XAAint64 offset; member in struct:XADataLocator_AndroidFD_
/system/core/libdiskconfig/
H A Dconfig_mbr.c90 /* grab the offset in mbr where to write this partition entry. */
91 item->offset = (loff_t)((uint32_t)((uint8_t *)(&mbr->ptable[pnum])));
155 item->offset = (*lba) * dinfo->sect_size;
191 /* The start lba for next partition is an offset from the beginning
/system/extras/tests/framebuffer/
H A Dmdp_test.c298 req->src.offset = 0;
308 req->dst.offset = 0;
/system/extras/tests/lib/testUtil/
H A DtestUtil.c313 * to offset the displayed address by an amount set by calling
369 // Set the hex dump address offset amount
371 testXDumpSetOffset(uint64_t offset) argument
373 xDumpOffset = offset;
376 // Get the current hex dump address offset amount

Completed in 205 milliseconds

1234