Searched refs:offset (Results 301 - 325 of 3483) sorted by relevance

<<11121314151617181920>>

/macosx-10.9.5/xar-202/xar/lib/
H A Dbzxar.c89 size_t outlen, offset = 0; local
126 BZIP2_CONTEXT(context)->bz.next_out = ((char *)out) + offset;
127 BZIP2_CONTEXT(context)->bz.avail_out = outlen - offset;
137 offset += outlen - offset - BZIP2_CONTEXT(context)->bz.avail_out;
138 if( (r == BZ_STREAM_END) && (offset == 0) )
144 *inlen = offset;
186 size_t outlen, offset = 0; local
234 BZIP2_CONTEXT(context)->bz.next_out = ((char *)out) + offset;
235 BZIP2_CONTEXT(context)->bz.avail_out = outlen - offset;
[all...]
H A Dzxar.c80 size_t outlen, offset = 0; local
116 GZIP_CONTEXT(context)->z.next_out = ((unsigned char *)out) + offset;
117 GZIP_CONTEXT(context)->z.avail_out = outlen - offset;
127 offset += outlen - offset - GZIP_CONTEXT(context)->z.avail_out;
128 if( (r == Z_STREAM_END) && (offset == 0) )
134 *inlen = offset;
160 size_t outlen, offset = 0; local
211 GZIP_CONTEXT(context)->z.next_out = ((unsigned char *)out) + offset;
212 GZIP_CONTEXT(context)->z.avail_out = outlen - offset;
[all...]
/macosx-10.9.5/CPANInternal-140/Crypt-SSLeay/
H A DSSLeay.xs284 int offset = 0;
292 offset = SvIV(ST(3));
293 if (offset < 0) {
294 if (-offset > blen)
296 offset += blen;
298 else if (offset >= blen && blen > 0)
301 if (len > blen - offset)
302 len = blen - offset;
307 n = SSL_write(ssl, buf+offset, len);
324 int offset
[all...]
/macosx-10.9.5/CPANInternal-140/Crypt-SSLeay-0.64/
H A DSSLeay.xs302 int offset = 0;
310 offset = SvIV(ST(3));
311 if (offset < 0) {
312 if (-offset > blen)
314 offset += blen;
316 else if (offset >= blen && blen > 0)
319 if (len > blen - offset)
320 len = blen - offset;
333 int n = SSL_write(ssl, buf+offset, len);
364 int offset
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/psych/yaml/
H A Dreader.c10 size_t offset, int value);
27 size_t offset, int value)
31 parser->problem_offset = offset;
68 parser->offset += 2;
74 parser->offset += 2;
80 parser->offset += 3;
124 parser->offset, -1);
241 parser->offset, octet);
249 parser->offset, -1);
273 parser->offset
26 yaml_parser_set_reader_error(yaml_parser_t *parser, const char *problem, size_t offset, int value) argument
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/Lib/PyObjCTools/
H A DTestSupport.py304 offset = 2
306 offset = 0
308 if not info['arguments'][argno+offset].get('c_array_delimited_by_null'):
313 offset = 2
315 offset = 0
317 if not info['arguments'][argno+offset].get('c_array_of_variable_length'):
327 offset = 2
329 offset = 0
331 if not info['arguments'][argno+offset].get('c_array_length_in_result'):
336 offset
[all...]
/macosx-10.9.5/rsync-42/rsync/
H A Dsender.c74 OFF_T offset = 0; local
105 s->sums[i].offset = offset;
112 offset += s->sums[i].len;
119 "chunk[%d] len=%d offset=%.0f sum1=%08x\n",
120 i, s->sums[i].len, (double)s->sums[i].offset,
125 s->flength = offset;
134 unsigned int offset; local
141 offset = stringjoin(fname, sizeof fname,
144 offset
250 unsigned int offset; local
[all...]
/macosx-10.9.5/CPANInternal-140/Net-DNS/lib/Net/DNS/RR/
H A DPX.pm35 my ($class, $self, $data, $offset) = @_;
38 ($self->{"preference"}) = unpack("\@$offset n", $$data);
39 $offset += Net::DNS::INT16SZ();
41 ($self->{"map822"}, $offset) = Net::DNS::Packet::dn_expand($data, $offset);
42 ($self->{"mapx400"}, $offset) = Net::DNS::Packet::dn_expand($data, $offset);
71 my ($self, $packet, $offset) = @_;
78 $offset + length $rdata);
81 $offset
[all...]
H A DRT.pm30 my ($class, $self, $data, $offset) = @_;
33 ($self->{"preference"}) = unpack("\@$offset n", $$data);
34 $offset += Net::DNS::INT16SZ();
36 ($self->{"intermediate"}) = Net::DNS::Packet::dn_expand($data, $offset);
63 my ($self, $packet, $offset) = @_;
69 $offset + length $rdata);
76 my ($self, $packet, $offset) = @_;
/macosx-10.9.5/IOPCIFamily-224.92.1/AppleSamplePCI/
H A DAppleSamplePCI.cpp157 IOByteCount offset = 0; local
162 while( (physicalAddr = memDesc->getPhysicalSegment( offset, &segmentLength ))) {
164 offset += segmentLength;
200 UInt64 offset = 0; local
201 while ((kIOReturnSuccess == err) && (offset < memDesc->getLength()))
208 err = cmd->gen64IOVMSegments(&offset, &segments[0], &numSeg);
265 UInt64 offset = 0; local
266 while ((kIOReturnSuccess == err) && (offset < memDesc->getLength()))
273 err = cmd->gen32IOVMSegments(&offset, &segments[0], &numSeg);
/macosx-10.9.5/WebCore-7537.78.1/html/canvas/
H A DWebGLBuffer.cpp115 bool WebGLBuffer::associateBufferSubDataImpl(GC3Dintptr offset, const void* data, GC3Dsizeiptr byteLength) argument
117 if (!data || offset < 0 || byteLength < 0)
121 CheckedInt<GC3Dintptr> checkedBufferOffset(offset);
124 if (!checkedBufferMax.isValid() || offset > m_byteLength || checkedBufferMax.value() > m_byteLength)
134 memcpy(static_cast<unsigned char*>(m_elementArrayBuffer->data()) + offset, data, byteLength);
144 bool WebGLBuffer::associateBufferSubData(GC3Dintptr offset, ArrayBuffer* array) argument
148 return associateBufferSubDataImpl(offset, array->data(), array->byteLength());
151 bool WebGLBuffer::associateBufferSubData(GC3Dintptr offset, ArrayBufferView* array) argument
155 return associateBufferSubDataImpl(offset, array->baseAddress(), array->byteLength());
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/
H A DFontPlatformDataCGWin.cpp74 UINT offset = 6; local
76 if (bufferSize < offset + 12)
79 USHORT platformID = readBigEndianWord(buffer + offset);
80 USHORT encodingID = readBigEndianWord(buffer + offset + 2);
81 USHORT languageID = readBigEndianWord(buffer + offset + 4);
82 USHORT nameID = readBigEndianWord(buffer + offset + 6);
83 USHORT length = readBigEndianWord(buffer + offset + 8);
84 USHORT nameOffset = readBigEndianWord(buffer + offset + 10);
102 offset += 12;
/macosx-10.9.5/WebKit2-7537.78.2/Shared/FileAPI/
H A DBlobRegistrationData.cpp86 ASSERT(!item.offset);
91 encoder << item.offset;
97 encoder << item.offset;
141 long long offset; local
142 if (!decoder.decode(offset))
153 result.m_data->appendFile(path, offset, length, expectedModificationTime);
157 long long offset; local
158 if (!decoder.decode(offset))
166 result.m_data->appendBlob(KURL(KURL(), url), offset, length);
/macosx-10.9.5/xar-202/xar/test/
H A Dvalidate.c33 void heap_check(int fd, const char *name, const char *prop, off_t offset, off_t length, const char *csum) { argument
42 fprintf(stderr, "Heap checking %s %s at offset: %" PRIu64 "\n", name, prop, HeapOff+offset);
57 if( lseek(fd, HeapOff+offset, SEEK_SET) < 0 ) {
59 fprintf(stderr, "Error seeking in the heap to offet: %" PRIu64 "\n", HeapOff+offset);
84 off_t offset = 0, length = 0; local
96 asprintf(&tmp, "%s/offset", key);
98 offset = strtoll(value, NULL, 10);
112 if( offset && length && origcsum ) {
113 heap_check(fd, name, key, offset, lengt
[all...]
/macosx-10.9.5/zlib-53/zlib/contrib/dotzlib/DotZLib/
H A DGZipStream.cs146 /// <param name="offset">The index of the first destination byte in <c>buffer</c></param>
150 /// <exception cref="ArgumentOutOfRangeException">If <c>count</c> or <c>offset</c> are negative</exception>
151 /// <exception cref="ArgumentException">If <c>offset</c> + <c>count</c> is &gt; buffer.Length</exception>
154 public override int Read(byte[] buffer, int offset, int count) argument
158 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
159 if ((offset+count) > buffer.Length) throw new ArgumentException();
166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count);
192 /// <param name="offset"></param>
195 /// <exception cref="ArgumentOutOfRangeException">If <c>count</c> or <c>offset</c> are negative</exception>
196 /// <exception cref="ArgumentException">If <c>offset</
199 Write(byte[] buffer, int offset, int count) argument
255 Seek(long offset, SeekOrigin origin) argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/DebugInfo/
H A DDWARFCompileUnit.cpp47 // reset the offset to where we tried to parse from if anything went wrong
55 DWARFCompileUnit::extract(uint32_t offset, DataExtractor debug_info_data, argument
59 Offset = offset;
61 if (debug_info_data.isValidOffset(offset)) {
62 Length = debug_info_data.getU32(&offset);
63 Version = debug_info_data.getU16(&offset);
64 bool abbrevsOK = debug_info_data.getU32(&offset) == abbrevs->getOffset();
66 AddrSize = debug_info_data.getU8(&offset);
72 debug_info_data.isValidOffset(offset))
73 return offset;
[all...]
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DAccessibleTextImpl.cpp68 HRESULT AccessibleText::get_attributes(long offset, long* startOffset, long* endOffset, BSTR* textAttributes) argument
73 offset = convertSpecialOffset(offset);
78 HRESULT AccessibleText::get_caretOffset(long* offset) argument
88 *offset = caretOffset;
92 HRESULT AccessibleText::get_characterExtents(long offset, enum IA2CoordinateType coordType, long* x, long* y, long* width, long* height) argument
97 offset = convertSpecialOffset(offset);
103 IntRect boundingRect = m_object->boundsForVisiblePositionRange(VisiblePositionRange(VisiblePosition(Position(node, offset, Position::PositionIsOffsetInAnchor)), VisiblePosition(Position(node, offset
138 get_offsetAtPoint(long x, long y, enum IA2CoordinateType coordType, long* offset) argument
202 get_textBeforeOffset(long offset, enum IA2TextBoundaryType boundaryType, long* startOffset, long* endOffset, BSTR* text) argument
270 get_textAfterOffset(long offset, enum IA2TextBoundaryType boundaryType, long* startOffset, long* endOffset, BSTR* text) argument
337 get_textAtOffset(long offset, enum IA2TextBoundaryType boundaryType, long* startOffset, long* endOffset, BSTR* text) argument
412 setCaretOffset(long offset) argument
539 get_attributeRange(long offset, BSTR filter, long* startOffset, long* endOffset, BSTR* attributeValues) argument
583 insertText(long offset, BSTR* text) argument
624 pasteText(long offset) argument
721 convertSpecialOffset(int offset) argument
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/
H A Dtail.c42 "as the current offset.]"
57 "for \alines\a indicates an offset from the end of the file.]"
60 "for \achars\a indicates an offset from the end of the file.]"
149 * if file is seekable, position file to tail location and return offset
157 register Sfoff_t offset; local
169 if ((offset = last - number) < first)
171 return offset;
175 if ((offset = last - SF_BUFSIZE) < first)
176 offset = first;
177 sfseek(fp, offset, SEEK_SE
208 Sfoff_t offset[2]; local
259 Sfoff_t offset; local
413 Sfoff_t offset; local
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/log/
H A Dlog_get.c220 plsn.offset = 0;
268 (u_long)alsn->file, (u_long)alsn->offset);
326 if (alsn->offset == 0 && (flags == DB_FIRST ||
402 nlsn.offset += logc->len;
445 nlsn.offset = 0;
452 if (nlsn.offset == 0) {
468 nlsn.offset = logc->prev;
478 nlsn.offset = lp->lsn.offset - lp->len;
490 nlsn.offset
1006 u_int32_t offset; local
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/asn1/
H A Dtemplate.c85 return t->offset;
160 void *el = DPO(data, t->offset);
239 data = DPO(data, t->offset);
289 void *el = DPO(data, t->offset);
312 struct template_of *el = DPO(data, t->offset);
343 size_t bsize = bmember->offset;
356 while (bmember->offset / 8 > pos / 8) {
363 _asn1_bmember_get_bit(p, data, bmember->offset, bsize);
372 int *element = DPO(data, choice->offset);
382 DPO(data, choice[i].offset),
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJITCode.h104 void* executableAddressAtOffset(size_t offset) const
106 ASSERT(offset < size());
107 return reinterpret_cast<char*>(m_ref.code().executableAddress()) + offset;
115 void* dataAddressAtOffset(size_t offset) const
117 ASSERT(offset <= size()); // use <= instead of < because it is valid to ask for an address at the exclusive end of the code.
118 return reinterpret_cast<char*>(m_ref.code().dataLocation()) + offset;
121 // This function returns the offset in bytes of 'pointerIntoCode' into
/macosx-10.9.5/Security-55471.14.18/include/security_filedb/
H A DMetaAttribute.cpp72 uint32 offset = MetaRecord::OffsetAttributeOffsets + mAttributeIndex * AtomSize; local
75 // a zero offset means the attribute has no values
76 ws.put(offset, 0);
79 // setting the low bit of the offset means that there is exactly one value
80 ws.put(offset, valueOffset | 1);
83 // write the offset, then write the number of values at that position
84 ws.put(offset, valueOffset);
93 uint32 offset = MetaRecord::OffsetAttributeOffsets + mAttributeIndex * AtomSize; local
94 valueOffset = rs[offset];
97 // a zero offset mean
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_filedb/lib/
H A DMetaAttribute.cpp72 uint32 offset = MetaRecord::OffsetAttributeOffsets + mAttributeIndex * AtomSize; local
75 // a zero offset means the attribute has no values
76 ws.put(offset, 0);
79 // setting the low bit of the offset means that there is exactly one value
80 ws.put(offset, valueOffset | 1);
83 // write the offset, then write the number of values at that position
84 ws.put(offset, valueOffset);
93 uint32 offset = MetaRecord::OffsetAttributeOffsets + mAttributeIndex * AtomSize; local
94 valueOffset = rs[offset];
97 // a zero offset mean
[all...]
/macosx-10.9.5/WebCore-7537.78.1/rendering/shapes/
H A DPolygonShape.h47 OffsetPolygonEdge(const FloatPolygonEdge& edge, const FloatSize& offset) argument
48 : m_vertex1(edge.vertex1() + offset)
49 , m_vertex2(edge.vertex2() + offset)
63 OffsetPolygonEdge(const FloatPolygon& polygon, float minLogicalIntervalTop, const FloatSize& offset) argument
64 : m_vertex1(FloatPoint(polygon.boundingBox().x(), minLogicalIntervalTop) + offset)
65 , m_vertex2(FloatPoint(polygon.boundingBox().maxX(), minLogicalIntervalTop) + offset)
/macosx-10.9.5/bless-98/libbless/HFS/
H A DBLGetDiskSectorsForFile.c61 * Then parse the device to see if an offset needs to be added
73 off_t sectorsPerBlock, offset; local
132 offset = 0;
135 offset = 0;
139 offset = CFSwapInt16BigToHost(mdb->drAlBlSt)
144 offset = CFSwapInt16BigToHost(mdb->drAlBlSt);
150 extents[i][0] = info.extents[i].startBlock*sectorsPerBlock+offset;

Completed in 174 milliseconds

<<11121314151617181920>>