/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/ |
H A D | store_mem.c | 72 mem_seek(krb5_storage *sp, off_t offset, int whence) argument 77 if((size_t)offset > s->size) 78 offset = s->size; 79 if(offset < 0) 80 offset = 0; 81 s->ptr = s->base + offset; 84 return sp->seek(sp, s->ptr - s->base + offset, SEEK_SET); 86 return sp->seek(sp, s->size + offset, SEEK_SET); 95 mem_trunc(krb5_storage *sp, off_t offset) argument 99 if(offset > (off_ 108 mem_no_trunc(krb5_storage *sp, off_t offset) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/include/security_filedb/ |
H A D | DbValue.h | 81 size_t size(const ReadSection &rs, uint32 offset) const { return size(); } 90 // (const ReadSection &, uint32 &offset) that advances the offset 96 UInt32Value(const ReadSection &rs, uint32 &offset); 99 void pack(WriteSection &ws, uint32 &offset) const; 105 SInt32Value(const ReadSection &rs, uint32 &offset); 108 void pack(WriteSection &ws, uint32 &offset) const; 114 DoubleValue(const ReadSection &rs, uint32 &offset); 117 void pack(WriteSection &ws, uint32 &offset) const; 126 BlobValue(const ReadSection &rs, uint32 &offset); [all...] |
H A D | MetaAttribute.cpp | 72 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.10.1/Security-57031.1.35/Security/libsecurity_filedb/lib/ |
H A D | DbValue.h | 81 size_t size(const ReadSection &rs, uint32 offset) const { return size(); } 90 // (const ReadSection &, uint32 &offset) that advances the offset 96 UInt32Value(const ReadSection &rs, uint32 &offset); 99 void pack(WriteSection &ws, uint32 &offset) const; 105 SInt32Value(const ReadSection &rs, uint32 &offset); 108 void pack(WriteSection &ws, uint32 &offset) const; 114 DoubleValue(const ReadSection &rs, uint32 &offset); 117 void pack(WriteSection &ws, uint32 &offset) const; 126 BlobValue(const ReadSection &rs, uint32 &offset); [all...] |
H A D | MetaAttribute.cpp | 72 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.10.1/xar-254/xar/lib/ |
H A D | bzxar.c | 89 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 D | zxar.c | 80 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.10.1/CPANInternal-159.1/Crypt-SSLeay-0.64/ |
H A D | SSLeay.xs | 302 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.10.1/ruby-106/ruby/ext/psych/yaml/ |
H A D | reader.c | 10 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.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/Lib/PyObjCTools/ |
H A D | TestSupport.py | 304 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.10.1/rsync-45/rsync/ |
H A D | sender.c | 74 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.10.1/IOPCIFamily-239.1.2/AppleSamplePCI/ |
H A D | AppleSamplePCI.cpp | 157 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.10.1/JavaScriptCore-7600.1.17/assembler/ |
H A D | MacroAssemblerARM.cpp | 83 if (address.offset >= 0 && address.offset + 0x2 <= 0xff) { 85 m_assembler.halfDtrUp(ARMAssembler::LoadUint16, dest, ARMRegisters::S0, ARMAssembler::getOp2Half(address.offset)); 86 m_assembler.halfDtrUp(ARMAssembler::LoadUint16, ARMRegisters::S0, ARMRegisters::S0, ARMAssembler::getOp2Half(address.offset + 0x2)); 87 } else if (address.offset < 0 && address.offset >= -0xff) { 89 m_assembler.halfDtrDown(ARMAssembler::LoadUint16, dest, ARMRegisters::S0, ARMAssembler::getOp2Half(-address.offset)); 90 m_assembler.halfDtrDown(ARMAssembler::LoadUint16, ARMRegisters::S0, ARMRegisters::S0, ARMAssembler::getOp2Half(-address.offset - 0x2)); 92 m_assembler.moveImm(address.offset, ARMRegisters::S0);
|
/macosx-10.10.1/xar-254/xar/test/ |
H A D | validate.c | 33 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.10.1/zlib-55/zlib/contrib/dotzlib/DotZLib/ |
H A D | GZipStream.cs | 146 /// <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 > 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.10.1/llvmCore-3425.0.34/lib/DebugInfo/ |
H A D | DWARFCompileUnit.cpp | 47 // 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.10.1/WebKit-7600.1.25/win/ |
H A D | AccessibleTextImpl.cpp | 68 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.10.1/ksh-23/ksh/src/lib/libcmd/ |
H A D | tail.c | 42 "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.10.1/bless-103/libbless/HFS/ |
H A D | BLGetDiskSectorsForFile.c | 61 * 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;
|
/macosx-10.10.1/diskdev_cmds-576/fdisk.tproj/ |
H A D | mbr.c | 127 MBR_parse(disk, offset, reloff, mbr) 129 off_t offset; 137 mbr->offset = offset; 143 offset, reloff, &mbr->part[i], i); 157 PRT_make(&mbr->part[i], mbr->offset, mbr->reloffset, 213 where = mbr->offset * size; 236 int i, fd, offset = 0, reloff = 0; local 241 MBR_read(disk, fd, offset, mbrd); 243 MBR_parse(disk, offset, relof 374 int offset, firstoffset; local 475 int i, fd, offset, firstoff; local [all...] |
/macosx-10.10.1/ruby-106/ruby/lib/rubygems/package/ |
H A D | tar_test_case.rb | 48 offset = 0 55 chksum_off = offset 56 offset += length 60 assert_equal expected[offset, length], actual[offset, length], 63 offset += length
|
/macosx-10.10.1/sudo-73/src/zlib/ |
H A D | gzlib.c | 296 z_off64_t ZEXPORT gzseek64(file, offset, whence) 298 z_off64_t offset; 320 /* normalize offset to a SEEK_CUR specification */ 322 offset -= state->x.pos; 324 offset += state->skip; 329 state->x.pos + offset >= 0) { 330 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 339 state->x.pos += offset; 344 if (offset < 0) { 347 offset 415 z_off64_t offset; local [all...] |
/macosx-10.10.1/zlib-55/zlib/ |
H A D | gzlib.c | 275 z_off64_t ZEXPORT gzseek64(file, offset, whence) 277 z_off64_t offset; 299 /* normalize offset to a SEEK_CUR specification */ 301 offset -= state->pos; 303 offset += state->skip; 308 state->pos + offset >= state->raw) { 309 ret = LSEEK(state->fd, offset - state->have, SEEK_CUR); 317 state->pos += offset; 322 if (offset < 0) { 325 offset 393 z_off64_t offset; local [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/log/ |
H A D | log_get.c | 220 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.10.1/Heimdal-398.1.2/lib/asn1/ |
H A D | template.c | 119 return t->offset; 194 void *el = DPO(data, t->offset); 273 data = DPO(data, t->offset); 323 void *el = DPO(data, t->offset); 345 struct template_of *el = DPO(data, t->offset); 376 size_t bsize = bmember->offset; 389 while (bmember->offset / 8 > pos / 8) { 396 _asn1_bmember_get_bit(p, data, bmember->offset, bsize); 405 int *element = DPO(data, choice->offset); 415 DPO(data, choice[i].offset), [all...] |