/external/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
scanner.rb | 20 def seq_combo_creator(total_lines, width, offset) 23 offset.upto(offset+width-1) do |line_number| 31 next_offset = offset + 1 54 offsets.each_with_index do |offset, index| 56 lines << (offset + line_offset) 65 # 0 to offsets.length creates one additional offset 70 # We need the lowest offset first. Oops. 73 # Move to the next available slot.. next offset will take the one before. 78 new_offsets << (offset + width [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
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...] |
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);
|
/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/Gallery2/src/com/android/gallery3d/data/ |
Exif.java | 85 int offset = 0; local 92 int tag = pack(jpeg, offset, 4, false); 99 // Get the offset and check if it is reasonable. 100 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; 102 Log.e(TAG, "Invalid offset"); 105 offset += count; 109 count = pack(jpeg, offset - 2, 2, littleEndian); 112 tag = pack(jpeg, offset, 2, littleEndian); 115 int orientation = pack(jpeg, offset + 8, 2, littleEndian); 129 offset += 12 [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
CollectingOutputReceiver.java | 53 public void addOutput(byte[] data, int offset, int length) { 57 s = new String(data, offset, length, "UTF-8"); //$NON-NLS-1$ 60 s = new String(data, offset,length);
|
/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) 68 assert_location(one.extent.start,line=1,column=1,offset=0 [all...] |
/external/compiler-rt/lib/asan/ |
asan_poisoning.cc | 52 int8_t offset; // in [0, SHADOW_GRANULARITY) member in struct:__asan::ShadowSegmentEndpoint 57 offset = address & (SHADOW_GRANULARITY - 1); 87 CHECK(beg.offset < end.offset); 90 // We can only poison memory if the byte in end.offset is unaddressable. 92 if (value > 0 && value <= end.offset) { 93 if (beg.offset > 0) { 94 *beg.chunk = Min(value, beg.offset); 102 if (beg.offset > 0) { 103 // Mark bytes from beg.offset as unaddressable [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
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...] |
/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...] |
/external/webkit/Source/WebCore/dom/ |
CharacterData.cpp | 48 String CharacterData::substringData(unsigned offset, unsigned count, ExceptionCode& ec) 50 checkCharDataOperation(offset, ec); 54 return m_data->substring(offset, count); 99 void CharacterData::insertData(unsigned offset, const String& data, ExceptionCode& ec) 101 checkCharDataOperation(offset, ec); 106 newStr.insert(data, offset); 108 setDataAndUpdate(newStr.impl(), offset, 0, data.length()); 110 document()->textInserted(this, offset, data.length()); 113 void CharacterData::deleteData(unsigned offset, unsigned count, ExceptionCode& ec) 115 checkCharDataOperation(offset, ec) [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
ESQueue.cpp | 148 "offset %ld", 181 "offset %ld", 213 ALOGI("found something resembling an AAC syncword at offset %ld", 241 "syncword at offset %ld", 310 size_t offset = 0; local 311 while (offset + 7 <= mBuffer->size()) { 312 ABitReader bits(mBuffer->data() + offset, mBuffer->size() - offset); 363 if (offset + aac_frame_length > mBuffer->size()) { 372 if (offset == 0) 658 size_t offset = 0; local 768 size_t offset = 3; local 802 size_t offset = 0; local [all...] |
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
GLStub.java | 167 int offset 236 int offset 252 int offset 285 int offset 299 int offset 324 int offset 340 int offset 358 int offset 377 int offset 399 int offset [all...] |
/external/valgrind/main/memcheck/tests/ppc32/ |
power_ISA2_05.c | 43 unsigned long offset; local 53 offset = 0; 55 "r"(offset)); 88 unsigned long offset; local 113 offset = (unsigned long) &dbl_pair[1] - base; 115 __asm__ volatile ("or 21, 0, %0"::"r" (offset)); 125 offset = (unsigned long) &dbl_pair[2] - base; 127 __asm__ volatile ("or 21, 0, %0"::"r" (offset)); 179 unsigned long offset; local 184 offset = (unsigned long) &arr[1] - base 250 unsigned long offset; local 295 unsigned long offset; local 386 unsigned long offset; local 457 unsigned long offset; local 502 unsigned long offset; local 593 unsigned long offset; local 664 unsigned long offset; local 709 unsigned long offset; local 800 unsigned long offset; local 871 unsigned long offset; local 916 unsigned long offset; local 1007 unsigned long offset; local [all...] |
/external/valgrind/main/memcheck/tests/ppc64/ |
power_ISA2_05.c | 43 unsigned long offset; local 53 offset = 0; 55 "r"(offset)); 88 unsigned long offset; local 113 offset = (unsigned long) &dbl_pair[1] - base; 115 __asm__ volatile ("or 21, 0, %0"::"r" (offset)); 125 offset = (unsigned long) &dbl_pair[2] - base; 127 __asm__ volatile ("or 21, 0, %0"::"r" (offset)); 179 unsigned long offset; local 184 offset = (unsigned long) &arr[1] - base 250 unsigned long offset; local 295 unsigned long offset; local 386 unsigned long offset; local 457 unsigned long offset; local 502 unsigned long offset; local 593 unsigned long offset; local 664 unsigned long offset; local 709 unsigned long offset; local 800 unsigned long offset; local 871 unsigned long offset; local 916 unsigned long offset; local 1007 unsigned long offset; 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
|
/external/chromium/chrome/browser/ui/views/tabs/ |
abstract_tab_strip_view.h | 33 // Set the background offset used by inactive tabs to match the frame image. 34 virtual void SetBackgroundOffset(const gfx::Point& offset) = 0;
|
/external/clang/test/CodeGen/ |
2003-06-26-CFECrash.c | 4 long offset; member in struct:min_info
|
/external/elfutils/backends/ |
alpha_corenote.c | 41 { .offset = 0, .regno = 0, .count = 31, .bits = 64 }, /* r0-r30 */ 42 { .offset = 32 * 8, .regno = 64, .count = 1, .bits = 64 }, /* pc */ 43 { .offset = 33 * 8, .regno = 66, .count = 1, .bits = 64 }, /* unique */ 49 { .offset = 0, .regno = 32, .count = 32, .bits = 64 }, /* f0-f30, fpcr */
|
/external/icu4c/common/unicode/ |
parseerr.h | 34 * <p>The line, offset, and context fields are optional; parsing 68 * The character offset to the error. If the line field is >= 1, 69 * then this is the offset from the start of the line. Otherwise, 70 * this is the offset from the start of the text. If the parser 74 int32_t offset; member in struct:UParseError
|
/external/proguard/src/proguard/classfile/editor/ |
InstructionAdder.java | 58 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 61 codeAttributeComposer.appendInstruction(offset, instruction); 65 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 74 codeAttributeComposer.appendInstruction(offset, newConstantInstruction);
|