/external/mesa3d/src/gallium/drivers/r600/ |
r600_hw_context_priv.h | 44 unsigned offset; member in struct:r600_reg 57 int r600_state_sampler_init(struct r600_context *ctx, uint32_t offset); 58 void r600_context_pipe_state_set_sampler(struct r600_context *ctx, struct r600_pipe_state *state, unsigned offset);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_batch.c | 40 uint32_t offset, 53 brw->state_batch_list[brw->state_batch_count].offset = offset; 93 uint32_t start_offset = brw->state_batch_list[i].offset; 127 uint32_t offset; local 130 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment); 137 offset < 4*batch->used + batch->reserved_space) { 139 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment); 142 batch->state_batch_offset = offset; 145 brw_track_state_batch(brw, type, offset, size) [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_mapping.h | 32 /** mapping offset */ 33 unsigned long offset; member in struct:opd_map 65 * @param offset file offset of mapping 72 unsigned long start, unsigned long offset, unsigned long end); 97 * opd_map_offset - return offset of sample against map 101 * Returns the offset of the EIP value @eip into 102 * the map @map, which is the same as the file offset 108 return (eip - map->start) + map->offset;
|
/external/proguard/src/proguard/classfile/instruction/ |
SwitchInstruction.java | 71 public String toString(int offset) 73 return "["+offset+"] "+toString()+" (target="+(offset+defaultOffset)+")";
|
/external/proguard/src/proguard/classfile/instruction/visitor/ |
MultiInstructionVisitor.java | 84 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 88 instructionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction); 92 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 96 instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variableInstruction); 100 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 104 instructionVisitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction); 108 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 112 instructionVisitors[index].visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction); 116 public void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) 120 instructionVisitors[index].visitTableSwitchInstruction(clazz, method, codeAttribute, offset, tableSwitchInstruction) [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
TracedBranchUnit.java | 40 int offset, 47 super.branch(clazz, codeAttribute, offset, branchTarget); 52 super.branchConditionally(clazz, codeAttribute, offset, branchTarget, conditional);
|
VariableOptimizer.java | 183 // Create new arrays for storing information at each instruction offset. 199 for (int offset = 0; offset < codeLength; offset++) 201 if ((livenessAnalyzer.isAliveBefore(offset, variableIndex1) && 202 livenessAnalyzer.isAliveBefore(offset, variableIndex2)) || 204 (livenessAnalyzer.isAliveAfter(offset, variableIndex1) && 205 livenessAnalyzer.isAliveAfter(offset, variableIndex2)) || 208 livenessAnalyzer.isCategory2(offset, variableIndex1)) 227 for (int offset = 0; offset < codeLength; offset++ [all...] |
/external/skia/src/animator/ |
SkTextOnPath.cpp | 20 SK_MEMBER(offset, Float), 29 SkTextOnPath::SkTextOnPath() : offset(0), path(NULL), text(NULL) { 37 path->getPath(), offset, 0, *maker.fPaint);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
isp_isf.cpp | 154 int16 i, ind, offset; local 166 offset = (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */ 168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */ 170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
|
dec_alg_codebook.cpp | 118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) 127 pos1 = ((index & mask) + offset); 145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) 154 /* pos1 = (((index >> N) & mask) + offset); */ 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ 192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) 205 j = offset; 219 dec_1p_N1(idx, N, offset, pos + 2) [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
ModifiedUtf8.java | 35 public static String decode(byte[] in, char[] out, int offset, int utfSize) throws UTFDataFormatException { 38 if ((out[s] = (char) in[offset + count++]) < '\u0080') { 44 int b = in[offset + count++]; 53 int b = in[offset + count++]; 54 int c = in[offset + count++]; 94 * byte array {@code dst}, starting at the given {@code offset}. 96 public static void encode(byte[] dst, int offset, String s) { 101 dst[offset++] = (byte) ch; 103 dst[offset++] = (byte) (0xc0 | (0x1f & (ch >> 6))); 104 dst[offset++] = (byte) (0x80 | (0x3f & ch)) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CityGmtOffsetComparator.java | 28 int offset = TimeZone.getTimeZone(c1.mTimeZone).getOffset(currentTime); local 30 return (offset < offset2) ? -1 : (offset > offset2) ? 1 :
|
/system/core/libpixelflinger/codeflinger/ |
ARMAssemblerInterface.cpp | 54 uint32_t offset = abs(immed8); local 61 ((W&1)<<21) | (((offset&0xF0)<<4)|(offset&0xF));
|
/libcore/libart/src/main/java/java/lang/ |
String.java | 43 * offset 0 and length 5. 108 private final int offset; field in class:String 119 offset = 0; 156 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}. 158 public String(byte[] data, int offset, int byteCount) { 159 this(data, offset, byteCount, Charset.defaultCharset()); 169 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length} 174 public String(byte[] data, int high, int offset, int byteCount) [all...] |
/external/valgrind/main/callgrind/ |
bb.c | 57 * - BB base as object file offset 60 UInt bb_hash_idx(obj_node* obj, PtrdiffT offset, UInt size) 62 return (((Addr)obj) + offset) % size; 89 new_idx = bb_hash_idx(curr->obj, curr->offset, new_size); 121 static BB* new_bb(obj_node* obj, PtrdiffT offset, 138 bb->offset = offset; 146 bb->sect_kind = VG_(DebugInfo_sect_kind)(NULL, 0, offset + obj->offset); 154 idx = bb_hash_idx(obj, offset, bbs.size) 202 PtrdiffT offset; local 295 PtrdiffT offset = addr - obj->offset; local [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_location.py | 10 def assert_location(loc, line, column, offset): 13 assert loc.offset == offset 23 assert_location(one.location,line=1,column=5,offset=4) 24 assert_location(two.location,line=2,column=5,offset=13) 34 assert_location(one.location,line=2,column=5,offset=5) 35 assert_location(two.location,line=3,column=5,offset=14) 42 assert_location(one.location,line=1,column=6,offset=5) 43 assert_location(two.location,line=2,column=5,offset=14) 77 assert_location(one.extent.start,line=1,column=1,offset=0 [all...] |
/frameworks/base/core/java/android/net/ |
SntpClient.java | 115 // if (false) Log.d(TAG, "clock offset: " + clockOffset + " ms"); 163 * Reads an unsigned 32 bit big endian number from the given offset in the buffer. 165 private long read32(byte[] buffer, int offset) { 166 byte b0 = buffer[offset]; 167 byte b1 = buffer[offset+1]; 168 byte b2 = buffer[offset+2]; 169 byte b3 = buffer[offset+3]; 181 * Reads the NTP time stamp at the given offset in the buffer and returns 184 private long readTimeStamp(byte[] buffer, int offset) { 185 long seconds = read32(buffer, offset); [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/bigram/ |
bigram_list_read_write_utils.cpp | 69 int offset = 0; local 73 offset = ByteArrayUtils::readUint8AndAdvancePosition(bigramsBuf, pos); 76 offset = ByteArrayUtils::readUint16AndAdvancePosition(bigramsBuf, pos); 79 offset = ByteArrayUtils::readUint24AndAdvancePosition(bigramsBuf, pos); 82 if (offset == DynamicPatriciaTrieReadingUtils::DICT_OFFSET_INVALID) { 84 } else if (offset == DynamicPatriciaTrieReadingUtils::DICT_OFFSET_ZERO_OFFSET) { 88 return origin - offset; 90 return origin + offset; 125 const int offset = getBigramTargetOffset(targetPtNodePos, *writingPos); local 126 const BigramFlags flagsToWrite = (offset < 0) 145 const int offset = getBigramTargetOffset(targetPtNodePos, entryPos); local 173 const int offset = targetPtNodePos - (entryPos + 1 \/* bigramFlagsField *\/); local [all...] |
/external/icu4c/test/cintltst/ |
utf8tst.c | 199 uint32_t offset=0; local 201 for(offset=0; offset<sizeof(input); offset++) { 202 if (offset < sizeof(input) - 1) { 203 UTF8_GET_CHAR_UNSAFE(input, offset, c); 205 log_err("ERROR: UTF8_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); 209 U8_GET_UNSAFE(input, offset, c); 211 log_err("ERROR: U8_GET_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c) 287 uint32_t offset=0; local 529 uint32_t offset; local 661 int32_t offset; local 731 int32_t offset=0, setOffset=0; local 772 int32_t offset=0, setOffset=0; local 912 uint32_t offset; local [all...] |
/external/chromium_org/net/disk_cache/v3/ |
entry_impl_v3.cc | 33 // sent to disk. The buffer can start at any offset, but if we try to write to 34 // anywhere in the first 16KB of the file (kMaxBlockSize), we set the offset to 48 // Returns true if we can handle writing |len| bytes to |offset|. 49 bool PreWrite(int offset, int len); 51 // Truncates the buffer to |offset| bytes. 52 void Truncate(int offset); 54 // Writes |len| bytes from |buf| at the given |offset|. 55 void Write(int offset, IOBuffer* buf, int len); 57 // Returns true if we can read |len| bytes from |offset|, given that the 61 bool PreRead(int eof, int offset, int* len) 275 size_t offset = 0; local 477 size_t offset = 0; local 1181 int offset = 0; local 1270 int offset = user_buffers_[index]->Start(); local [all...] |
/frameworks/av/media/libstagefright/mp4/ |
FragmentedMP4Parser.cpp | 140 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { 141 fseek(mFile, offset, SEEK_SET); 164 void mark(off64_t offset, size_t size) { 165 int firstbit = offset / 1024; 166 int lastbit = (offset + size - 1) / 1024; 208 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { 210 mReadTracker->mark(offset, size); 212 return mDataSource->readAt(offset, data, size); 442 mBufferPos += mBuffer->offset(); 589 size_t offset = 8 local [all...] |
/bionic/libc/include/sys/ |
sendfile.h | 36 extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
|
/bionic/libc/kernel/arch-mips/asm/ |
scatterlist.h | 25 unsigned int offset; member in struct:scatterlist
|
/development/ndk/platforms/android-3/include/sys/ |
sendfile.h | 36 extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
scatterlist.h | 25 unsigned int offset; member in struct:scatterlist
|