/external/webkit/WebCore/platform/graphics/chromium/ |
GlyphPageTreeNodeChromiumWin.cpp | 63 // Fills |length| glyphs starting at |offset| in a |page| in the Basic 67 static bool fillBMPGlyphs(unsigned offset, 84 return fillBMPGlyphs(offset, length, buffer, page, fontData, false); 160 page->setGlyphDataForCharacter(offset + i, glyph, glyphFontData); 184 static bool fillNonBMPGlyphs(unsigned offset, 202 // consists of two UChars. So, the offset for its i-th character is 207 page->setGlyphDataForIndex(offset + i, glyph, fontData); 210 page->setGlyphDataForIndex(offset + i, 0, 0); 216 // specified by |offset| and |length| in our font, 218 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* characterBuffer [all...] |
/frameworks/base/awt/java/awt/image/ |
DataBuffer.java | 87 protected int offset; field in class:DataBuffer 136 this.offset = offsets[0]; 149 * @param offset 150 * the offset to use for all of the data arrays. 152 protected DataBuffer(int dataType, int size, int numBanks, int offset) { 156 this.offset = offset; 160 offsets[i++] = offset; 166 * beginning (at offset zero). 179 this.offset = 0 [all...] |
/frameworks/base/media/libstagefright/id3/ |
testid3.cpp | 34 size_t offset = 0; local 35 while (offset < size) { 36 printf("0x%04x ", offset); 38 size_t n = size - offset; 48 if (offset + i < size) { 49 printf("%02x ", data[offset + i]); 58 if (isprint(data[offset + i])) { 59 printf("%c", data[offset + i]); 67 offset += 16;
|
/frameworks/base/tools/aapt/ |
StringPool.h | 42 entry() : offset(0) { } 43 entry(const String16& _value) : value(_value), offset(0) { } 44 entry(const entry& o) : value(o.value), offset(o.offset), indices(o.indices) { } 47 size_t offset; member in struct:StringPool::entry 57 entry_style() : offset(0) { } 59 entry_style(const entry_style& o) : offset(o.offset), spans(o.spans) { } 61 size_t offset; member in struct:StringPool::entry_style 110 * Find out an offset in the pool for a particular string. If the strin [all...] |
/bootable/diskinstaller/libdiskconfig/ |
write_lst.c | 73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) { 74 LOGE("Cannot seek to the specified position (%lld).", lst->offset); 81 lst->offset); 85 LOGI("Would write %d bytes @ offset %lld.", lst->len, lst->offset);
|
/cts/tools/dex-tools/src/dex/reader/ |
DexAnnotationImpl.java | 28 private int offset; field in class:DexAnnotationImpl 38 public DexAnnotationImpl(DexBuffer buffer, int offset, int[] typeIds, 41 this.offset = offset; 49 buffer.setPosition(offset);
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form10t.java | 73 int offset = insn.getTargetOffset(); local 75 // Note: A zero offset would fit, but it is prohibited by the spec. 76 return (offset != 0) && signedFitsInByte(offset); 88 int offset = ((TargetInsn) insn).getTargetOffset(); local 90 write(out, opcodeUnit(insn, (offset & 0xff)));
|
Form20t.java | 73 int offset = insn.getTargetOffset(); local 75 // Note: A zero offset would fit, but it is prohibited by the spec. 76 return (offset != 0) && signedFitsInShort(offset); 88 int offset = ((TargetInsn) insn).getTargetOffset(); local 90 write(out, opcodeUnit(insn, 0), (short) offset);
|
Form21t.java | 78 int offset = insn.getTargetOffset(); local 80 // Note: A zero offset would fit, but it is prohibited by the spec. 81 return (offset != 0) && signedFitsInShort(offset); 94 int offset = ((TargetInsn) insn).getTargetOffset(); local 98 (short) offset);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
SocketOutputStream.java | 54 public void write(byte[] buffer, int offset, int count) throws IOException { 57 if (0 <= offset && offset <= buffer.length && 0 <= count 58 && count <= buffer.length - offset) { 59 socket.write(buffer, offset, count);
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
BitString.java | 94 int offset = bit % 8; local 96 return (bytes[index] & SET_MASK[offset]) != 0; 100 int offset = bit % 8; local 103 bytes[index] |= SET_MASK[offset]; 105 bytes[index] &= RESET_MASK[offset];
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_OutputStream.java | 68 public void write(byte buffer[], int offset, int count) throws IOException { 72 if (offset < 0 || count < 0 || (offset + count) > buffer.length) { 75 for (int i = offset; i < offset + count; i++) {
|
/external/apache-http/src/org/apache/http/util/ |
EncodingUtils.java | 53 * @param offset the index of the first byte to encode 60 int offset, 74 return new String(data, offset, length, charset); 76 return new String(data, offset, length); 147 * @param offset the index of the first byte to encode 151 public static String getAsciiString(final byte[] data, int offset, int length) { 158 return new String(data, offset, length, HTTP.US_ASCII);
|
/external/icu4c/layout/ |
KhmerLayoutEngine.cpp | 44 le_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 51 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 75 le_int32 outCharCount = KhmerReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
|
TibetanLayoutEngine.cpp | 50 le_int32 TibetanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 57 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 81 le_int32 outCharCount = TibetanReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
|
/external/proguard/src/proguard/optimize/peephole/ |
NopRemover.java | 71 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 74 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 78 !codeAttributeEditor.isModified(offset)) 80 codeAttributeEditor.deleteInstruction(offset); 85 extraInstructionVisitor.visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction);
|
/external/webkit/WebCore/platform/graphics/mac/ |
GlyphPageTreeNodeMac.cpp | 38 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 48 setGlyphDataForIndex(offset + i, 0, 0); 50 setGlyphDataForIndex(offset + i, glyphs[i], fontData); 78 setGlyphDataForIndex(offset + i, 0, 0); 80 setGlyphDataForIndex(offset + i, glyph, fontData);
|
/frameworks/base/cmds/keystore/ |
keystore_get.h | 58 int offset = 0; local 60 while (offset < length) { 61 int n = recv(sock, &value[offset], length - offset, 0); 66 offset += n;
|
/ndk/samples/hello-neon/jni/ |
helloneon-intrinsics.c | 27 int nn, offset = -kernelSize/2; local 36 int16x4_t input_vec = vld1_s16(input + (nn+offset+mm*4)); 48 sum += kernel[mm] * input[nn+offset+mm]; 54 int nn, offset = -kernelSize/2; 59 sum += kernel[mm]*input[nn+offset+mm];
|
/system/core/libdiskconfig/ |
write_lst.c | 73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) { 74 LOGE("Cannot seek to the specified position (%lld).", lst->offset); 81 lst->offset); 85 LOGI("Would write %d bytes @ offset %lld.", lst->len, lst->offset);
|
/external/icu4c/test/cintltst/ |
utf8tst.c | 189 uint32_t offset=0; local 191 for(offset=0; offset<sizeof(input); offset++) { 192 if (offset < sizeof(input) - 1) { 193 UTF8_GET_CHAR_UNSAFE(input, offset, c); 195 log_err("ERROR: UTF8_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); 199 U8_GET_UNSAFE(input, offset, c); 201 log_err("ERROR: U8_GET_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c) 271 uint32_t offset=0; local 574 int32_t offset=0, setOffset=0; local 736 uint32_t offset; local [all...] |
/external/skia/src/core/ |
SkString.cpp | 374 void SkString::insert(size_t offset, const char text[]) 376 this->insert(offset, text, text ? strlen(text) : 0); 379 void SkString::insert(size_t offset, const char text[], size_t len) 384 if (offset > length) 385 offset = length; 401 if (offset < length) 402 memmove(dst + offset + len, dst + offset, length - offset); 403 memcpy(dst + offset, text, len) [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLES11Ext.java | 196 int offset 209 int offset 222 int offset 245 int offset 295 int offset 333 int offset 359 int offset 374 int offset 390 int offset 407 int offset [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/ |
ReadWriteDirectByteBuffer.java | 42 other.safeAddress, other.capacity(), other.offset); 60 ReadWriteDirectByteBuffer(SafeAddress address, int capacity, int offset) { 61 super(address, capacity, offset); 106 getBaseAddress().setByte(offset + position++, value); 115 getBaseAddress().setByte(offset + index, value); 135 getBaseAddress().setByteArray(offset + position, src, off, len); 143 * specified offset, to the current position and increase the position by 149 * The offset of short array, must be no less than zero and no 176 getBaseAddress().setShortArray(offset + position, src, off, len, swap); 183 * specified offset, to the current position and increase the position b [all...] |
/dalvik/dx/src/com/android/dx/cf/attrib/ |
RawAttribute.java | 58 * @param offset offset in {@code data} to the attribute data 62 public RawAttribute(String name, ByteArray data, int offset, 64 this(name, data.slice(offset, offset + length), pool);
|