/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSReflectValue.h | 40 PassRefPtr<CSSPrimitiveValue> offset, PassRefPtr<CSSValue> mask) 42 return adoptRef(new CSSReflectValue(direction, offset, mask)); 46 CSSPrimitiveValue* offset() const { return m_offset.get(); } function in class:WebCore::CSSReflectValue 57 CSSReflectValue(PassRefPtr<CSSPrimitiveValue> direction, PassRefPtr<CSSPrimitiveValue> offset, PassRefPtr<CSSValue> mask) 60 , m_offset(offset)
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
MockGrammarCheck.cpp | 73 size_t offset = 0; local 75 while ((offset = stringText.find(error, offset)) != string16::npos) { 76 results->push_back(WebTextCheckingResult(WebTextDecorationTypeGrammar, offset + grammarErrors[i].location, grammarErrors[i].length)); 77 offset += grammarErrors[i].length;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
os_mman.h | 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) 66 /* offset must be aligned to 4096 (not necessarily the page size) */ 67 if (unlikely(offset & 4095)) { 72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); 77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
|
/external/elfutils/libelf/ |
gelf_update_verdaux.c | 63 gelf_update_verdaux (data, offset, src) 65 int offset; 78 if (unlikely (offset < 0) 79 || unlikely ((offset + sizeof (GElf_Verdaux)) > data_scn->d.d_size)) 94 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdaux));
|
gelf_update_verdef.c | 63 gelf_update_verdef (data, offset, src) 65 int offset; 78 if (unlikely (offset < 0) 79 || unlikely ((offset + sizeof (GElf_Verdef)) > data_scn->d.d_size)) 94 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdef));
|
gelf_update_vernaux.c | 63 gelf_update_vernaux (data, offset, src) 65 int offset; 78 if (unlikely (offset < 0) 79 || unlikely ((offset + sizeof (GElf_Vernaux)) > data_scn->d.d_size)) 94 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Vernaux));
|
gelf_update_verneed.c | 63 gelf_update_verneed (data, offset, src) 65 int offset; 78 if (unlikely (offset < 0) 79 || unlikely ((offset + sizeof (GElf_Verneed)) > data_scn->d.d_size)) 94 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verneed));
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_mman.h | 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) 66 /* offset must be aligned to 4096 (not necessarily the page size) */ 67 if (unlikely(offset & 4095)) { 72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); 77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
|
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
StackMapFrameVisitor.java | 35 public void visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame); 36 public void visitSameOneFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame); 37 public void visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame); 38 public void visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame); 39 public void visitFullFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame);
|
/frameworks/av/media/libstagefright/ |
XINGSeeker.cpp | 86 int offset = first_frame_pos; local 87 if (source->readAt(offset, &buffer, 4) < 4) { // get header 90 offset += 4; 105 // determine offset of XING header 107 if (num_channels != 1) offset += 32; 108 else offset += 17; 110 if (num_channels != 1) offset += 17; 111 else offset += 9; 114 int xingbase = offset; 116 if (source->readAt(offset, &buffer, 4) < 4) { // XING header I [all...] |
/frameworks/av/media/mtp/ |
MtpPacket.cpp | 94 uint16_t MtpPacket::getUInt16(int offset) const { 95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset]; 98 uint32_t MtpPacket::getUInt32(int offset) const { 99 return ((uint32_t)mBuffer[offset + 3] << 24) | ((uint32_t)mBuffer[offset + 2] << 16) | 100 ((uint32_t)mBuffer[offset + 1] << 8) | (uint32_t)mBuffer[offset]; 103 void MtpPacket::putUInt16(int offset, uint16_t value) { 104 mBuffer[offset++] = (uint8_t)(value & 0xFF) 148 int offset = MTP_CONTAINER_PARAMETER_OFFSET + (index - 1) * sizeof(uint32_t); local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreateWindowSurface.java | 8 int offset 16 int offset 23 int offset 38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 41 win, attrib_list, offset);
|
/libcore/luni/src/main/java/java/io/ |
BufferedWriter.java | 165 * Writes {@code count} characters starting at {@code offset} in 172 * @param offset 177 * if {@code offset < 0} or {@code count < 0}, or if 178 * {@code offset + count} is greater than the size of 184 public void write(char[] buffer, int offset, int count) throws IOException { 190 Arrays.checkOffsetAndCount(buffer.length, offset, count); 192 out.write(buffer, offset, count); 200 System.arraycopy(buffer, offset, this.buf, pos, available); 207 offset += available; 210 out.write(buffer, offset, available) [all...] |
CharArrayReader.java | 64 * read the buffer is set to {@code offset}. 68 * @param offset 73 * if {@code offset < 0} or {@code length < 0}, or if 74 * {@code offset} is greater than the size of {@code buf} . 76 public CharArrayReader(char[] buf, int offset, int length) { 79 * of offset and length, it doesn't consider buffer's length. And to be 81 * (offset + length) overflows. 83 if (offset < 0 || offset > buf.length || length < 0 || offset + length < 0) [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeFactory.java | 64 * @param offset offset into {@code dcf}'s {@code bytes} 69 public final Attribute parse(DirectClassFile cf, int context, int offset, 84 int nameIdx = bytes.getUnsignedShort(offset); 85 int length = bytes.getInt(offset + 2); 90 observer.parsed(bytes, offset, 2, 92 observer.parsed(bytes, offset + 2, 4, 96 return parse0(cf, context, name.getString(), offset + 6, length, 101 "attribute at offset " + Hex.u4(offset)); [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
common_decoder.h | 44 // Buckets by making your API always take an offset and a size 60 // Gets a pointer to a section the bucket. Returns NULL if offset or size is 62 void* GetData(size_t offset, size_t size) const; 65 T GetDataAs(size_t offset, size_t size) const { 66 return reinterpret_cast<T>(GetData(offset, size)); 73 // Returns false if offset or size is out of range. 74 bool SetData(const void* src, size_t offset, size_t size); 86 bool OffsetSizeValid(size_t offset, size_t size) const { 87 size_t temp = offset + size; 88 return temp <= size_ && temp >= offset; [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
OpenTypeVerticalDataTest.cpp | 42 template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const 44 return TableBase::validateOffset<T>(buffer, offset); 73 for (uint16_t offset = 0; offset < sizeof(TestTable); offset++) 74 EXPECT_TRUE(table->validateOffset<uint8_t>(*buffer, offset)); 79 for (uint16_t offset = 0; offset < sizeof(TestTable) - 1; offset++) 80 EXPECT_TRUE(table->validateOffset<uint16_t>(*buffer, offset)); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
bytecode.py | 8 # The offset of this bytecode in the code object. 9 self.offset = -1 17 # The offset in the code object of the next bytecode. 20 # The offset to jump to. 32 self.offset = 0 45 if self.offset >= len(self.code): 49 bc.op = self[self.offset] 50 bc.offset = self.offset 52 next_offset = self.offset+ [all...] |
/external/elfutils/tests/ |
show-abbrev.c | 62 Dwarf_Off offset = 0; local 67 Dwarf_Abbrev *abbrev = dwarf_getabbrev (&die, offset, &length); 75 printf ("dwarf_getabbrevtag at offset %llu returned error: %s\n", 76 (unsigned long long int) offset, 84 printf ("dwarf_getabbrevcode at offset %llu returned error: %s\n", 85 (unsigned long long int) offset, 93 printf ("dwarf_abbrevhaschildren at offset %llu returned error: %s\n", 94 (unsigned long long int) offset, 100 (unsigned long long int) offset, code, tag, children); 105 printf ("dwarf_getattrcnt at offset %llu returned error: %s\n" [all...] |
/external/openssh/openbsd-compat/ |
setenv.c | 45 * Sets offset to be the offset of the name/value combination in the 50 __findenv(const char *name, size_t *offset) 67 *offset = p - environ; 85 size_t l_value, offset; local 90 if ((C = __findenv(name, &offset))) { /* find if already exists */ 111 offset = cnt; 116 if (!(environ[offset] = /* name + `=' + value */ 119 for (C = environ[offset]; (*C = *name++) && *C != '='; ++C) 136 size_t offset; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
KeyframeAnimationEffect.cpp | 156 PassRefPtr<Keyframe> Keyframe::cloneWithOffset(double offset) const 159 theClone->setOffset(offset); 203 if (isNull(firstKeyframe->offset())) 208 if (lastKeyframe && isNull(lastKeyframe->offset())) 214 ASSERT(!isNull((*iter)->offset())); 216 // Sort by offset. 240 new PropertySpecificKeyframe(keyframe->offset(), keyframe->propertyValue(property), keyframe->composite()))); 252 KeyframeAnimationEffect::PropertySpecificKeyframe::PropertySpecificKeyframe(double offset, const AnimatableValue* value, CompositeOperation composite) 253 : m_offset(offset) 260 KeyframeAnimationEffect::PropertySpecificKeyframe::PropertySpecificKeyframe(double offset, PassRefPtr<CompositableValue> value 289 double offset = m_keyframes[i]->offset(); local 301 double offset = m_keyframes.first()->offset(); local [all...] |
/frameworks/native/opengl/libagl/ |
mipmap.cpp | 62 size_t offset = (y*2) * bs; local 64 uint32_t p00 = src[offset]; 65 uint32_t p10 = src[offset+1]; 66 uint32_t p01 = src[offset+bs]; 67 uint32_t p11 = src[offset+bs+1]; 75 offset += 2; 84 size_t offset = (y*2) * bs; local 86 uint32_t p00 = src[offset]; 87 uint32_t p10 = src[offset+1]; 88 uint32_t p01 = src[offset+bs] 104 size_t offset = (y*2) * bs; local 142 size_t offset = (y*2) * bs; local 160 size_t offset = (y*2) * bs; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
CSSPreloadScanner.cpp | 169 size_t offset = 0; local 172 while (reducedLength && isHTMLSpace<UChar>(string[offset])) { 173 ++offset; 176 while (reducedLength && isHTMLSpace<UChar>(string[offset + reducedLength - 1])) 180 && (string[offset] == 'u' || string[offset] == 'U') 181 && (string[offset + 1] == 'r' || string[offset + 1] == 'R') 182 && (string[offset + 2] == 'l' || string[offset + 2] == 'L' [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
GotoCommonCodeReplacer.java | 94 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 97 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 104 !branchTargetFinder.isBranchTarget(offset)) 107 int targetOffset = offset + branchOffset; 110 int commonCount = commonByteCodeCount(codeAttribute, offset, targetOffset); 113 !exceptionBoundary(codeAttribute, offset, targetOffset)) 117 System.out.println("GotoCommonCodeReplacer: "+clazz.getName()+"."+method.getName(clazz)+" (["+(offset-commonCount)+"] - "+branchInstruction.toString(offset)+" -> "+targetOffset+")"); 123 int deleteOffset = offset - delta; 136 if (newBranchOffset != branchInstruction.length(offset)) 249 int offset = offset1; local [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
String.java | 43 * offset 0 and length 5. 108 private final int offset; field in class:String 119 offset = 0; 128 offset = 0; 131 System.arraycopy(s.value, s.offset, value, 0, s.count); 168 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}. 170 public String(byte[] data, int offset, int byteCount) { 171 this(data, offset, byteCount, Charset.defaultCharset()); 181 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length [all...] |