Searched refs:offset (Results 76 - 100 of 3492) sorted by relevance

1234567891011>>

/macosx-10.10/JavaScriptCore-7600.1.17/runtime/
H A DJSDateMath.cpp130 // Get the combined UTC + DST offset for the time passed in.
133 // more than one daylight savings offset change per month.
142 // If the time fits in the cached interval, return the cached offset.
143 if (ms <= end) return cache.offset;
150 if (cache.offset == endOffset) {
151 // If the offset at the end of the new interval still matches
152 // the offset in the cache, we grow the cached time interval
153 // and return the offset.
158 LocalTimeOffset offset = calculateLocalTimeOffset(ms); local
159 if (offset
183 LocalTimeOffset offset = calculateLocalTimeOffset(ms); local
228 int offset; local
[all...]
/macosx-10.10/apr-32/apr/apr/file_io/unix/
H A Dseek.c52 APR_DECLARE(apr_status_t) apr_file_seek(apr_file_t *thefile, apr_seek_where_t where, apr_off_t *offset)
66 rc = setptr(thefile, *offset);
70 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset);
76 rc = setptr(thefile, finfo.size + *offset);
80 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
87 rv = lseek(thefile->filedes, *offset, where);
89 *offset = -1;
93 *offset = rv;
99 apr_status_t apr_file_trunc(apr_file_t *fp, apr_off_t offset) argument
106 if (offset < le
[all...]
/macosx-10.10/objc4-646/runtime/Accessors.subproj/
H A Dobjc-accessors.mm59 id objc_getProperty_non_gc(id self, SEL _cmd, ptrdiff_t offset, BOOL atomic) {
60 if (offset == 0) {
65 id *slot = (id*) ((char*)self + offset);
79 static inline void reallySetProperty(id self, SEL _cmd, id newValue, ptrdiff_t offset, bool atomic, bool copy, bool mutableCopy) __attribute__((always_inline));
81 static inline void reallySetProperty(id self, SEL _cmd, id newValue, ptrdiff_t offset, bool atomic, bool copy, bool mutableCopy)
83 if (offset == 0) {
89 id *slot = (id*) ((char*)self + offset);
114 void objc_setProperty_non_gc(id self, SEL _cmd, ptrdiff_t offset, id newValue, BOOL atomic, signed char shouldCopy)
118 reallySetProperty(self, _cmd, newValue, offset, atomic, copy, mutableCopy);
121 void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset)
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DDataExtractor.cpp20 uint32_t offset = *offset_ptr; local
21 if (de->isValidOffsetForDataOfSize(offset, sizeof(val))) {
22 std::memcpy(&val, &Data[offset], sizeof(val));
26 // Advance the offset
35 uint32_t offset = *offset_ptr; local
37 if (count > 0 && de->isValidOffsetForDataOfSize(offset, sizeof(*dst)*count)) {
39 ++value_ptr, offset += sizeof(*dst))
41 // Advance the offset
42 *offset_ptr = offset;
122 uint32_t offset local
137 uint32_t offset = *offset_ptr; local
158 uint32_t offset = *offset_ptr; local
[all...]
/macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/util/
H A DFastInputStream.java49 * @param offset the byte offset at which to begin reading.
53 public FastInputStream(byte[] buffer, int offset, int length) { argument
56 off = offset;
57 len = offset + length;
102 public int read(byte[] toBuf, int offset, int length) throws IOException { argument
104 return readFast(toBuf, offset, length);
144 public final int readFast(byte[] toBuf, int offset, int length) { argument
153 System.arraycopy(buf, off, toBuf, offset, length);
169 * Returns the offset a
[all...]
/macosx-10.10/BerkeleyDB-21/db/os/
H A Dos_seek.c15 * Seek to a page/byte offset in the file.
29 off_t offset; local
40 offset = (off_t)pgsize * pgno + relative;
44 "fileops: seek %s to %lu", fhp->name, (u_long)offset);
47 ret = DB_GLOBAL(j_seek)(fhp->fd, offset, SEEK_SET);
50 fhp->fd, offset, SEEK_SET) == -1 ? 1 : 0), ret);
55 fhp->offset = relative;
58 "seek: %lu: (%lu * %lu) + %lu", (u_long)offset,
/macosx-10.10/ICU-531.30/icuSources/layout/
H A DGXLayoutEngine.cpp32 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
38 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
43 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success);
55 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
62 if (chars == NULL || offset < 0 || count < 0) {
H A DGXLayoutEngine2.cpp29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
35 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
40 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
51 void GXLayoutEngine2::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
58 if (chars == NULL || offset < 0 || count < 0) {
/macosx-10.10/Libc-1044.1.2/stdlib/FreeBSD/
H A Dgetenv.c46 * Sets offset to be the offset of the name/value combination in the
53 __findenv(name, offset, environ)
55 int *offset;
72 *offset = p - environ;
87 int offset; local
89 return (__findenv(name, &offset, *envp));
100 int offset; local
102 return (__findenv(name, &offset, *_NSGetEnviron()));
/macosx-10.10/Security-57031.1.35/Security/include/security_filedb/
H A DDbValue.cpp38 UInt32Value::UInt32Value(const ReadSection &rs, uint32 &offset) argument
39 : BasicValue<uint32>(rs.at(offset))
41 offset += size();
67 UInt32Value::pack(WriteSection &ws, uint32 &offset) const
69 offset = ws.put(offset, mValue);
76 SInt32Value::SInt32Value(const ReadSection &rs, uint32 &offset) argument
77 : BasicValue<sint32>(static_cast<sint32>(rs.at(offset)))
79 offset += size();
105 SInt32Value::pack(WriteSection &ws, uint32 &offset) cons
114 DoubleValue(const ReadSection &rs, uint32 &offset) argument
150 BlobValue(const ReadSection &rs, uint32 &offset) argument
262 TimeDateValue(const ReadSection &rs, uint32 &offset) argument
333 StringValue(const ReadSection &rs, uint32 &offset) argument
364 BigNumValue(const ReadSection &rs, uint32 &offset) argument
453 MultiUInt32Value(const ReadSection &rs, uint32 &offset) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_filedb/lib/
H A DDbValue.cpp38 UInt32Value::UInt32Value(const ReadSection &rs, uint32 &offset) argument
39 : BasicValue<uint32>(rs.at(offset))
41 offset += size();
67 UInt32Value::pack(WriteSection &ws, uint32 &offset) const
69 offset = ws.put(offset, mValue);
76 SInt32Value::SInt32Value(const ReadSection &rs, uint32 &offset) argument
77 : BasicValue<sint32>(static_cast<sint32>(rs.at(offset)))
79 offset += size();
105 SInt32Value::pack(WriteSection &ws, uint32 &offset) cons
114 DoubleValue(const ReadSection &rs, uint32 &offset) argument
150 BlobValue(const ReadSection &rs, uint32 &offset) argument
262 TimeDateValue(const ReadSection &rs, uint32 &offset) argument
333 StringValue(const ReadSection &rs, uint32 &offset) argument
364 BigNumValue(const ReadSection &rs, uint32 &offset) argument
453 MultiUInt32Value(const ReadSection &rs, uint32 &offset) argument
[all...]
/macosx-10.10/postfix-255/postfix/src/global/
H A Doff_cvt.c12 /* VSTRING *off_cvt_number(result, offset)
14 /* off_t offset;
19 /* offset, to numerical form. The result is -1 in case of problems.
21 /* off_cvt_number() converts a non-negative offset to string form.
28 /* .IP offset
31 /* Panic: negative offset
98 VSTRING *off_cvt_number(VSTRING *buf, off_t offset) argument
108 if (offset < 0)
109 msg_panic("off_cvt_number: negative offset -%s",
110 STR(off_cvt_number(buf, -offset)));
144 off_t offset; local
[all...]
H A Drecdump.c42 long offset; local
47 while (offset = vstream_ftell(VSTREAM_IN),
51 rec_type_name(type), offset,
/macosx-10.10/xnu-2782.1.97/osfmk/vm/
H A Dvm_compressor_pager.h40 memory_object_offset_t offset,
47 memory_object_offset_t offset,
58 memory_object_offset_t offset);
61 memory_object_offset_t offset);
63 #define VM_COMPRESSOR_PAGER_STATE_GET(object, offset) \
71 (offset) + (object)->paging_offset) \
74 #define VM_COMPRESSOR_PAGER_STATE_CLR(object, offset) \
86 (offset) + (object)->paging_offset); \
112 memory_object_offset_t offset);
/macosx-10.10/zlib-55/zlib/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs59 /// <param name="offset">Where in <c>data</c> to start updating</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
128 /// <param name="offset">Where in <c>data</c> to start updating</param>
130 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
133 public override void Update(byte[] data, int offset, int count) argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
136 if ((offset+count) > data.Length) throw new ArgumentException();
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
179 /// <param name="offset">Wher
184 Update(byte[] data, int offset, int count) argument
[all...]
/macosx-10.10/BerkeleyDB-21/db/os_brew/
H A Dos_truncate.c25 off_t offset; local
36 offset = (off_t)pgsize * pgno;
40 if (IFILE_Truncate(fhp->ifp, offset) == SUCCESS)
/macosx-10.10/WebCore-7600.1.25/editing/
H A DDeleteFromTextNodeCommand.h37 static PassRefPtr<DeleteFromTextNodeCommand> create(PassRefPtr<Text> node, unsigned offset, unsigned count) argument
39 return adoptRef(new DeleteFromTextNodeCommand(node, offset, count));
43 DeleteFromTextNodeCommand(PassRefPtr<Text>, unsigned offset, unsigned count);
H A DSplitTextNodeCommand.h37 static PassRefPtr<SplitTextNodeCommand> create(PassRefPtr<Text> node, int offset) argument
39 return adoptRef(new SplitTextNodeCommand(node, offset));
43 SplitTextNodeCommand(PassRefPtr<Text>, int offset);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/win/
H A DGlyphPageTreeNodeCGWin.cpp37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
50 setGlyphDataForIndex(offset + i, 0, 0);
52 setGlyphDataForIndex(offset + i, glyph, fontData);
/macosx-10.10/WebCore-7600.1.25/svg/
H A DSVGTextContentElement.idl37 [RaisesException] unrestricted float getSubStringLength([Default=Undefined,IsIndex] optional unsigned long offset,
39 [RaisesException] SVGPoint getStartPositionOfChar([Default=Undefined,IsIndex] optional unsigned long offset);
40 [RaisesException] SVGPoint getEndPositionOfChar([Default=Undefined,IsIndex] optional unsigned long offset);
41 [RaisesException] SVGRect getExtentOfChar([Default=Undefined,IsIndex] optional unsigned long offset);
42 [RaisesException] unrestricted float getRotationOfChar([Default=Undefined,IsIndex] optional unsigned long offset);
44 [RaisesException] void selectSubString([Default=Undefined,IsIndex] optional unsigned long offset,
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/CoordinatedGraphics/
H A DWKCoordinatedScene.cpp48 WK_EXPORT void WKCoordinatedSceneScrollBy(WKCoordinatedSceneLayer layer, WKSize offset) argument
50 toImpl(layer)->scrollBy(WebCore::FloatSize(offset.width, offset.height));
/macosx-10.10/diskdev_cmds-576/disklib/
H A Ddkopen.c49 off64_t dklseek (int filedes, off64_t offset, int whence) argument
52 return (lseek64 (filedes, offset, whence));
54 return (lseek (filedes, offset, whence));
/macosx-10.10/ruby-106/ruby/lib/rdoc/generator/template/json_index/js/
H A Dnavigation.js109 var offset, viewHeight, viewScroll, height;
110 offset = element.offsetTop;
115 if (offset - viewScroll + height > viewHeight) {
116 view.scrollTop = offset - viewHeight + height;
118 if (offset < viewScroll) {
119 view.scrollTop = offset;
128 var offset, viewHeight, viewScroll, height;
129 offset = element.offsetTop;
134 if (offset - viewScroll + height > viewHeight) {
135 window.scrollTo(window.scrollX, offset
[all...]
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOSubMemoryDescriptor.cpp47 IOByteCount offset,
53 if (self && !self->initSubRange(of, offset, length, (IODirection) options)) {
61 IOByteCount offset, IOByteCount length,
64 if( parent && ((offset + length) > parent->getLength()))
93 _start = offset;
112 IOSubMemoryDescriptor::getPhysicalSegment(IOByteCount offset, IOByteCount * length, IOOptionBits options) argument
117 assert(offset <= _length);
122 if( offset >= _length)
125 address = _parent->getPhysicalSegment( offset + _start, &actualLength, options );
128 *length = min( _length - offset, actualLengt
46 withSubRange(IOMemoryDescriptor * of, IOByteCount offset, IOByteCount length, IOOptionBits options) argument
60 initSubRange( IOMemoryDescriptor * parent, IOByteCount offset, IOByteCount length, IODirection direction ) argument
163 makeMapping( IOMemoryDescriptor * owner, task_t intoTask, IOVirtualAddress address, IOOptionBits options, IOByteCount offset, IOByteCount length ) argument
[all...]
/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/legacy/
H A Dmprotect.c46 size_t offset; local
54 offset = ((uintptr_t) addr) & PAGE_MASK;
56 len += offset;

Completed in 208 milliseconds

1234567891011>>