/external/webkit/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/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/WebKitTools/DumpRenderTree/mac/ |
DumpRenderTreeDraggingInfo.h | 33 NSSize offset; variable 39 - (id)initWithImage:(NSImage *)image offset:(NSSize)offset pasteboard:(NSPasteboard *)pasteboard source:(id)source;
|
/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...] |
/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/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...] |
/external/e2fsprogs/lib/et/ |
error_message.c | 55 int offset; local 61 offset = (int) (code & ((1<<ERRCODE_RANGE)-1)); 62 table_num = code - offset; 65 if (offset < sys_nerr) 66 return(sys_errlist[offset]); 70 cp = strerror(offset); 80 if (et->table->n_msgs <= offset) 82 return(et->table->msgs[offset]); 88 if (et->table->n_msgs <= offset) 90 return(et->table->msgs[offset]); [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 | 116 // if (Config.LOGD) Log.d(TAG, "clock offset: " + clockOffset + " ms"); 160 * Reads an unsigned 32 bit big endian number from the given offset in the buffer. 162 private long read32(byte[] buffer, int offset) { 163 byte b0 = buffer[offset]; 164 byte b1 = buffer[offset+1]; 165 byte b2 = buffer[offset+2]; 166 byte b3 = buffer[offset+3]; 178 * Reads the NTP time stamp at the given offset in the buffer and returns 181 private long readTimeStamp(byte[] buffer, int offset) { 182 long seconds = read32(buffer, offset); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccUtils.java | 42 bcdToString(byte[] data, int offset, int length) { 45 for (int i = offset ; i < offset + length ; i++) { 141 * remaining seven bits are an offset value added to the 150 adnStringFieldToString(byte[] data, int offset, int length) { 152 if (data[offset] == (byte) 0x80) { 157 ret = new String(data, offset + 1, ucslen * 2, "utf-16be"); 179 if (length >= 3 && data[offset] == (byte) 0x81) { 180 len = data[offset + 1] & 0xFF; 184 base = (char) ((data[offset + 2] & 0xFF) << 7) 451 int offset = run - runIndex - 1; local [all...] |
/external/webkit/WebCore/dom/ |
CharacterData.cpp | 61 String CharacterData::substringData(unsigned offset, unsigned count, ExceptionCode& ec) 63 checkCharDataOperation(offset, ec); 67 return m_data->substring(offset, count); 87 void CharacterData::insertData(unsigned offset, const String& arg, ExceptionCode& ec) 89 checkCharDataOperation(offset, ec); 94 newStr.insert(arg, offset); 103 toRenderText(renderer())->setTextWithOffset(m_data, offset, 0); 107 document()->textInserted(this, offset, arg.length()); 110 void CharacterData::deleteData(unsigned offset, unsigned count, ExceptionCode& ec) 112 checkCharDataOperation(offset, ec) [all...] |
/frameworks/base/core/jni/ |
CursorWindow.cpp | 129 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n", (mHeader->numRows - 1), ((uint8_t *)rowSlot) - mData, fieldDirSize, fieldDirOffset); 130 rowSlot->offset = fieldDirOffset; 170 uint32_t offset = mFreeOffset + padding; local 172 return offset; 212 LOG_WINDOW("follwing 'pointer' to next chunk, offset of next pointer is %d", chunkPtrOffset); 233 if (rowSlot->offset == 0 || rowSlot->offset >= mSize) { 234 LOGE("Invalid rowSlot, offset = %d", rowSlot->offset); 317 int offset = alloc(sizeof(int64_t)); local 341 int offset = alloc(sizeof(int64_t)); 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);
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
IvParameterSpec.java | 55 * <code>offset</code>. 59 * @param offset 60 * the offset to start in the buffer. 64 * if the specified buffer is null or <code>offset</code> and 68 * if <code>offset</code> or <code>len</code> are negative. 70 public IvParameterSpec(byte[] iv, int offset, int len) { 71 if ((iv == null) || (iv.length - offset < len)) { 75 if (offset < 0 || len < 0) { 79 System.arraycopy(iv, offset, this.iv, 0, len);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
FilterWriter.java | 78 * starting at position {@code offset} to the target writer. 82 * @param offset 90 public void write(char[] buffer, int offset, int count) throws IOException { 95 out.write(buffer, offset, count); 122 * @param offset 130 public void write(String str, int offset, int count) throws IOException { 132 out.write(str, offset, count);
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
NativeCrypto.java | 51 public static native void EVP_DigestUpdate(int ctx, byte[] buffer, int offset, int length); 53 public static native int EVP_DigestFinal(int ctx, byte[] hash, int offset); 63 public static native void EVP_VerifyUpdate(int ctx, byte[] buffer, int offset, int length); 65 public static native int EVP_VerifyFinal(int ctx, byte[] signature, int offset, int length, int key);
|
/dalvik/libcore/xml/src/main/java/org/w3c/dom/ |
Text.java | 42 * Breaks this node into two nodes at the specified <code>offset</code>, 44 * will contain all the content up to the <code>offset</code> point. A 46 * after the <code>offset</code> point, is returned. If the original 48 * of the original node. When the <code>offset</code> is equal to the 50 * @param offset The 16-bit unit offset at which to split, starting from 54 * INDEX_SIZE_ERR: Raised if the specified offset is negative or greater 58 public Text splitText(int offset)
|
/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);
|
/external/qemu/hw/ |
goldfish_memlog.c | 24 static uint32_t memlog_read(void *opaque, target_phys_addr_t offset) 33 static void memlog_write(void *opaque, target_phys_addr_t offset, uint32_t val) 38 info[offset / 4] = val; 40 if (offset == 0) {
|
/external/skia/src/animator/ |
SkTextOnPath.h | 32 SkScalar offset; member in class:SkTextOnPath
|
/external/skia/src/gl/ |
SkGLTextCache.h | 37 Strike* findGlyph(const SkGlyph&, int* offset); 38 Strike* addGlyphAndBind(const SkGlyph&, const uint8_t*, int* offset); 60 one with a given height), and sets offset to the offset for that glyph 62 If not found, returns null and ignores offset param. 64 Strike* findGlyph(const SkGlyph&, int* offset); 67 head of the list. If offset is not null, it is set to the offset 71 Strike* addGlyphAndBind(const SkGlyph&, const uint8_t image[], int* offset);
|
/external/webkit/JavaScriptCore/icu/unicode/ |
parseerr.h | 30 * <p>The line, offset, and context fields are optional; parsing 64 * The character offset to the error. If the line field is >= 1, 65 * then this is the offset from the start of the line. Otherwise, 66 * this is the offset from the start of the text. If the parser 70 int32_t offset; member in struct:UParseError
|
/external/webkit/JavaScriptCore/runtime/ |
PutPropertySlot.h | 1 // -*- mode: c++; c-basic-offset: 4 -*- 47 void setExistingProperty(JSObject* base, size_t offset) 51 m_offset = offset; 54 void setNewProperty(JSObject* base, size_t offset) 58 m_offset = offset;
|