/external/webkit/Source/WebCore/platform/graphics/haiku/ |
GlyphPageTreeNodeHaiku.cpp | 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData* fontData) 57 setGlyphDataForIndex(offset + i, 0, 0); 60 setGlyphDataForIndex(offset + i, character, fontData);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
GlyphPageTreeNodeCGWin.cpp | 37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 50 setGlyphDataForIndex(offset + i, 0, 0); 52 setGlyphDataForIndex(offset + i, glyph, fontData);
|
/external/webkit/Tools/DumpRenderTree/mac/ |
DumpRenderTreeDraggingInfo.h | 33 NSSize offset; variable 39 - (id)initWithImage:(NSImage *)image offset:(NSSize)offset pasteboard:(NSPasteboard *)pasteboard source:(id)source;
|
/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/base/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/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 | 51 public void addOutput(byte[] data, int offset, int length) { 55 s = new String(data, offset, length, "UTF-8"); //$NON-NLS-1$ 58 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/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...] |
/frameworks/base/media/libstagefright/timedtext/ |
TimedTextParser.cpp | 54 // offset of each piece of text content 60 off64_t offset = 0; local 66 status_t err = getNextInSrtFileFormat(&offset, &startTimeUs, &info); 85 // read one line started from *offset and store it into data. 86 status_t TimedTextParser::readNextLine(off64_t *offset, AString *data) { 93 if ((err = mDataSource->readAt(*offset, &character, 1)) < 1) { 100 (*offset) ++; 106 if ((err = mDataSource->readAt(*offset, &character, 1)) < 1) { 113 (*offset) ++; 116 (*offset) -- [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_LlcpUtils.c | 39 uint32_t offset = *pOffset; local 47 /* Check offset */ 48 if (offset > psRawData->length) 54 if ((offset+2 > psRawData->length) && (offset+2 > offset)) 59 /* Get Type and Length from current TLV, and update offset */ 60 type = psRawData->buffer[offset]; 61 length = psRawData->buffer[offset+1]; 62 offset += 2 88 uint32_t offset = *pOffset; local [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...] |
/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...] |
/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-sh/asm/ |
scatterlist.h | 19 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/tools/emulator/opengl/host/libs/Translator/GLcommon/ |
GLESbuffer.cpp | 38 bool GLESbuffer::setSubBuffer(GLint offset,GLuint size,const GLvoid* data) { 39 if(offset + size > m_size) return false; 40 memcpy(m_data+offset,data,size); 41 m_conversionManager.addRange(Range(offset,size));
|
/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/guava/src/com/google/common/collect/ |
RegularImmutableList.java | 36 private final transient int offset; field in class:RegularImmutableList 40 RegularImmutableList(Object[] array, int offset, int size) { 41 this.offset = offset; 65 return (UnmodifiableIterator<E>) Iterators.forArray(array, offset, size); 70 Platform.unsafeArrayCopy(array, offset, newArray, 0, size); 80 Platform.unsafeArrayCopy(array, offset, other, 0, size); 88 return (E) array[index + offset]; 93 for (int i = offset; i < offset + size; i++) 228 int offset() { method [all...] |
/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);
|