/external/icu4c/common/ |
unifilt.cpp | 37 * filters. Matches a single code point at offset (either one or 41 int32_t& offset, 45 if (offset < limit && 46 contains(c = text.char32At(offset))) { 47 offset += U16_LENGTH(c); 50 if (offset > limit && 51 contains(c = text.char32At(offset))) { 52 // Backup offset by 1, unless the preceding character is a 53 // surrogate pair -- then backup by 2 (keep offset pointing at 55 --offset; [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
font_data.cc | 29 bool FontData::Bound(int32_t offset, int32_t length) { 30 if (offset + length > Size() || offset < 0 || length < 0) 33 bound_offset_ += offset; 38 bool FontData::Bound(int32_t offset) { 39 if (offset > Size() || offset < 0) 42 bound_offset_ += offset; 54 FontData::FontData(FontData* data, int32_t offset, int32_t length) { 56 Bound(data->bound_offset_ + offset, length) [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
font_data.cc | 29 bool FontData::Bound(int32_t offset, int32_t length) { 30 if (offset + length > Size() || offset < 0 || length < 0) 33 bound_offset_ += offset; 38 bool FontData::Bound(int32_t offset) { 39 if (offset > Size() || offset < 0) 42 bound_offset_ += offset; 54 FontData::FontData(FontData* data, int32_t offset, int32_t length) { 56 Bound(data->bound_offset_ + offset, length) [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Exif.java | 29 int offset = 0; local 33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { 34 int marker = jpeg[offset] & 0xFF; 40 offset++; 52 length = pack(jpeg, offset, 2, false); 53 if (length < 2 || offset + length > jpeg.length) { 60 pack(jpeg, offset + 2, 4, false) == 0x45786966 && 61 pack(jpeg, offset + 6, 2, false) == 0) { 62 offset += 8 [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
BranchTargetFinder.java | 82 * Returns whether there is an instruction at the given offset in the 85 public boolean isInstruction(int offset) 87 return (instructionMarks[offset] & INSTRUCTION) != 0; 92 * Returns whether the instruction at the given offset is the target of 95 public boolean isTarget(int offset) 97 return offset == 0 || 98 (instructionMarks[offset] & (BRANCH_TARGET | 106 * Returns whether the instruction at the given offset is the origin of a 109 public boolean isBranchOrigin(int offset) 111 return (instructionMarks[offset] & BRANCH_ORIGIN) != 0 [all...] |
/art/runtime/base/unix_file/ |
random_access_file_utils.cc | 27 int64_t offset = 0; local 29 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { 30 if (dst->Write(&buf[0], n, offset) != n) { 33 offset += n;
|
/external/chromium_org/chrome/browser/ui/views/ |
dropdown_bar_host_delegate.h | 15 virtual void SetAnimationOffset(int offset) = 0;
|
/external/chromium_org/content/public/browser/ |
download_save_info.cc | 10 : offset(0), prompt_for_save_location(false) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/ |
mmio.h | 41 read_MMIO_LE32( volatile void * base, unsigned long offset ) 47 : "b" (base), "r" (offset) ); 54 read_MMIO_LE32( volatile void * base, unsigned long offset ) 56 volatile uint32_t * p = (volatile uint32_t *) (((volatile char *) base) + offset);
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
mmio.h | 41 read_MMIO_LE32( volatile void * base, unsigned long offset ) 47 : "b" (base), "r" (offset) ); 54 read_MMIO_LE32( volatile void * base, unsigned long offset ) 56 volatile uint32_t * p = (volatile uint32_t *) (((volatile char *) base) + offset);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
WriteListener.java | 4 * The <class>WriteListener</class> is used to get the offset of 6 * later needs an offset. 9 public void beforeWrite(long offset);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
AlignmentUtils.java | 32 public static int alignOffset(int offset, int alignment) { 35 return (offset + mask) & ~mask; 38 public static boolean isAligned(int offset, int alignment) { 39 return (offset % alignment) == 0;
|
/frameworks/base/drm/java/android/drm/ |
DrmConvertedStatus.java | 21 * offset for appending the header and body signature to the converted data. 25 * An valid offset value is provided only from a success call to 56 * Offset value for the body and header signature. 58 public final int offset; field in class:DrmConvertedStatus 66 * @param offset Offset value for appending the header and body signature. 68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { 75 this.offset = offset;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glMapBufferRange.java | 1 // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) 5 int offset,
|
/hardware/ti/omap4xxx/camera/inc/ |
VideoMetadata.h | 20 /* This structure is used to pass buffer offset from Camera-Hal to Encoder component 28 int offset; member in struct:__anon32927
|
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLEngineDataStream.java | 34 private int offset; field in class:SSLEngineDataStream 42 protected void setSourceBuffers(ByteBuffer[] srcs, int offset, int length) { 44 this.offset = offset; 45 this.limit = offset+length; 48 for (int i=offset; i<limit; i++) { 75 for (; offset<limit; offset++) { 76 while (srcs[offset].hasRemaining()) { 77 res[pos++] = srcs[offset].get() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DESedeParameters.java | 26 * @param offset offset into the byte array the key starts at 31 int offset, 34 for (int i = offset; i < length; i += DES_KEY_LENGTH) 49 * @param offset offset into the byte array the key starts at 53 int offset) 55 return isWeakKey(key, offset, key.length - offset);
|
/frameworks/native/libs/binder/ |
MemoryBase.cpp | 29 ssize_t offset, size_t size) 30 : mSize(size), mOffset(offset), mHeap(heap) 34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const 36 if (offset) *offset = mOffset;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
Exif.java | 46 int tag = pack(jpeg, offset, 4, false); 47 count = pack(jpeg, offset - 2, 2, littleEndian); 57 has(jpeg, byteSize, offset + length - 1) 68 int offset = 0; local 81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { 82 final int marker = jpeg.get(offset) & 0xFF; 88 offset++; 97 jpeg.advanceTo(offset - readBackwards); 102 length = pack(jpeg, offset, 2, false) [all...] |
/external/elfutils/libelf/ |
gelf_getnote.c | 1 /* Get note information at the supplied offset. 61 gelf_getnote (data, offset, result, name_offset, desc_offset) 63 size_t offset; 85 offset is OK. */ 86 if (unlikely (offset + sizeof (GElf_Nhdr) > data->d_size)) 89 offset = 0; 93 const GElf_Nhdr *n = data->d_buf + offset; 94 offset += sizeof *n; 99 if (unlikely (data->d_size - offset < namesz)) 100 offset = 0 [all...] |
/external/qemu/ |
device_tree.c | 78 int offset; local 80 offset = fdt_path_offset(fdt, node_path); 81 if (offset < 0) 82 return offset; 84 return fdt_setprop(fdt, offset, property, val_array, size); 90 int offset; local 92 offset = fdt_path_offset(fdt, node_path); 93 if (offset < 0) 94 return offset; 96 return fdt_setprop_cell(fdt, offset, property, val) 102 int offset; local [all...] |
/external/qemu-pc-bios/vgabios/ |
biossums.c | 28 long chksum_bios_get_offset( byte* data, long offset ); 29 byte chksum_bios_calc_value( byte* data, long offset ); 30 byte chksum_bios_get_value( byte* data, long offset ); 31 void chksum_bios_set_value( byte* data, long offset, byte value ); 36 long chksum_pmid_get_offset( byte* data, long offset ); 37 byte chksum_pmid_calc_value( byte* data, long offset ); 38 byte chksum_pmid_get_value( byte* data, long offset ); 39 void chksum_pmid_set_value( byte* data, long offset, byte value ); 43 long chksum_pcir_get_offset( byte* data, long offset ); 53 long offset, tmp_offset, pcir_offset local [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ScanHandler.java | 29 public void adup(char[] buff, int offset, int length) throws SAXException; 35 public void aname(char[] buff, int offset, int length) throws SAXException; 41 public void aval(char[] buff, int offset, int length) throws SAXException; 46 public void cdsect(char[] buff, int offset, int length) throws SAXException; 52 public void decl(char[] buff, int offset, int length) throws SAXException; 58 public void entity(char[] buff, int offset, int length) throws SAXException; 64 public void eof(char[] buff, int offset, int length) throws SAXException; 70 public void etag(char[] buff, int offset, int length) throws SAXException; 76 public void gi(char[] buff, int offset, int length) throws SAXException; 82 public void pcdata(char[] buff, int offset, int length) throws SAXException [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TextInsertionBaseCommand.h | 54 unsigned offset = 0; local 56 while ((newline = string.find('\n', offset)) != kNotFound) { 57 operation(offset, newline - offset, false); 58 offset = newline + 1; 60 if (!offset) 64 if (length != offset) 65 operation(offset, length - offset, true);
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatUtils.java | 34 * Gets the offset (in bytes) of the fat with the given index 46 long offset = resSects * sectSize; local 49 offset += fatNr * fatSize; 51 return offset; 55 * Gets the offset (in bytes) of the root directory with the given index 66 long offset = getFatOffset(bs, 0); local 68 offset += fats * sectsPerFat * sectSize; 70 return offset; 74 * Gets the offset of the data (file) area 81 long offset = getRootDirOffset(bs) local [all...] |