/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/ |
H A D | streams.cpp | 57 void NullSource::produce(void *, size_t &length) argument 59 length = 0; 76 void FileSource::produce(void *data, size_t &length) argument 78 if ((length = read(data, length)) == 0) 88 void FileSink::consume(const void *data, size_t length) argument 90 write(data, length); 97 void MemorySource::produce(void *data, size_t &length) argument 99 if (mRemaining < length) 100 length 120 consume(const void *data, size_t length) argument [all...] |
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/ |
H A D | region.c | 38 l = (r1->length < r2->length) ? r1->length : r2->length; 43 return ((r1->length == r2->length) ? 0 : 44 (r1->length < r2->length) ? -1 : 1);
|
/macosx-10.10.1/ntp-92/lib/isc/ |
H A D | region.c | 38 l = (r1->length < r2->length) ? r1->length : r2->length; 43 return ((r1->length == r2->length) ? 0 : 44 (r1->length < r2->length) ? -1 : 1);
|
/macosx-10.10.1/pdisk-9/ |
H A D | bitfield.h | 69 unsigned int bitfield_set(unsigned int *bf, int base, int length, unsigned int value); 70 unsigned int bitfield_get(unsigned int bf, int base, int length);
|
/macosx-10.10.1/xnu-2782.1.97/libsyscall/wrappers/string/ |
H A D | strcpy.c | 29 const size_t length = strlen(src); local 32 memcpy(dst, src, length+1);
|
/macosx-10.10.1/ICU-531.30/icuSources/i18n/ |
H A D | collationweights.cpp | 42 getWeightTrail(uint32_t weight, int32_t length) { argument 43 return (uint32_t)(weight>>(8*(4-length)))&0xff; 47 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { argument 48 length=8*(4-length); 49 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length)); 82 truncateWeight(uint32_t weight, int32_t length) { argument 83 return (uint32_t)(weight&(0xffffffff<<(8*(4-length)))); 87 incWeightTrail(uint32_t weight, int32_t length) { argument 92 decWeightTrail(uint32_t weight, int32_t length) argument 167 incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const argument 185 int32_t length=range.length+1; local [all...] |
/macosx-10.10.1/ICU-531.30/icuSources/common/ |
H A D | ustrfmt.c | 24 * @return the length of the result, not including any terminating 31 int32_t length = 0; local 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7)); 40 } while(i && length<capacity); 42 while (length < minwidth){ 43 buffer[length++] = (UChar) 0x0030;/*zero padding */ 46 if(length<capacity){ 47 buffer[length] = (UChar) 0x0000; 51 for (j = 0; j < (length / 2); j++){ 52 temp = buffer[(length [all...] |
H A D | unistr_props.cpp | 35 int32_t oldLength = this->length(); 36 int32_t i = oldLength, length; local 40 length = i; 49 if(length < oldLength) { 50 setLength(length); 58 if(i >= length) { 61 U16_NEXT(array, i, length, c);
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/RegExp/ |
H A D | regress-001.js | 25 function AddRegExpCases( regexp, str_regexp, length, matches_array ) { 28 "( " + str_regexp + " ).length", 29 regexp.length, 30 regexp.length ); 33 for ( var matches = 0; matches < matches_array.length; matches++ ) {
|
/macosx-10.10.1/Security-57031.1.35/Security/include/security_codesigning/ |
H A D | reqreader.cpp | 52 void Requirement::Reader::getData(const void *&data, size_t &length) argument 54 length = get<uint32_t>(); 55 checkSize(length); 57 mPC += LowLevelMemoryUtilities::alignUp(length, baseAlignment); 62 const char *s; size_t length; local 63 getData(s, length); 64 return string(s, length); 69 const unsigned char *s; size_t length; local 70 getData(s, length); 71 if (length ! 78 const unsigned char *digest; size_t length; local 85 skip(size_t length) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/lib/ |
H A D | reqreader.cpp | 52 void Requirement::Reader::getData(const void *&data, size_t &length) argument 54 length = get<uint32_t>(); 55 checkSize(length); 57 mPC += LowLevelMemoryUtilities::alignUp(length, baseAlignment); 62 const char *s; size_t length; local 63 getData(s, length); 64 return string(s, length); 69 const unsigned char *s; size_t length; local 70 getData(s, length); 71 if (length ! 78 const unsigned char *digest; size_t length; local 85 skip(size_t length) argument [all...] |
/macosx-10.10.1/WTF-7600.1.24/wtf/ |
H A D | OSRandomSource.h | 35 void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length);
|
H A D | DecimalNumber.cpp | 36 unsigned length = 0; local 41 ++length; 42 length += 2; // for "0." 43 length += -m_exponent - 1; 44 length += m_precision; 45 return length; 55 ++length; 56 length += m_precision; 57 length += digitsBeforeDecimalPoint - m_precision; 58 return length; 75 unsigned length = 0; local [all...] |
/macosx-10.10.1/WTF-7600.1.24/wtf/text/mac/ |
H A D | StringViewObjC.mm | 36 return adoptNS([[NSString alloc] initWithBytes:const_cast<LChar*>(characters8()) length:length() encoding:NSISOLatin1StringEncoding]); 38 return adoptNS([[NSString alloc] initWithCharacters:const_cast<UChar*>(characters16()) length:length()]); 44 return adoptNS([[NSString alloc] initWithBytesNoCopy:const_cast<LChar*>(characters8()) length:length() encoding:NSISOLatin1StringEncoding freeWhenDone:NO]); 46 return adoptNS([[NSString alloc] initWithCharactersNoCopy:const_cast<UChar*>(characters16()) length:length() freeWhenDone:NO]);
|
/macosx-10.10.1/bootp-298/bootplib/ |
H A D | bsdplib.h | 30 bsdp_print_packet(struct dhcp * pkt, int length, int options_only);
|
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/markup/ |
H A D | attr_span.rb | 7 # Creates a new AttrSpan for +length+ characters 9 def initialize(length) 10 @attrs = Array.new(length, 0) 14 # Toggles +bits+ from +start+ to +length+ 15 def set_attrs(start, length, bits) 16 for i in start ... (start+length)
|
/macosx-10.10.1/WebKit2-7600.1.25/Shared/ |
H A D | EditingRange.h | 37 , length(0) 41 EditingRange(uint64_t location, uint64_t length) argument 43 , length(length) 48 bool isValid() const { return location + length >= location; } 55 length = range.length; 58 length = 0; 66 return NSMakeRange(location, length); 71 uint64_t length; member in struct:WebKit::EditingRange [all...] |
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/include/isc/ |
H A D | region.h | 29 unsigned int length; member in struct:isc_region 34 unsigned int length; member in struct:isc_textregion 42 unsigned int length; member in struct:isc_constregion 47 unsigned int length; member in struct:isc_consttextregion 60 INSIST(_r->length >= _l); \ 62 _r->length -= _l; \ 69 INSIST(_r->length >= _l); \ 71 _r->length -= _l; \ 78 INSIST(_r->length >= _l); \ 80 _r->length [all...] |
/macosx-10.10.1/ntp-92/lib/isc/include/isc/ |
H A D | region.h | 29 unsigned int length; member in struct:isc_region 34 unsigned int length; member in struct:isc_textregion 42 unsigned int length; member in struct:isc_constregion 47 unsigned int length; member in struct:isc_consttextregion 60 INSIST(_r->length >= _l); \ 62 _r->length -= _l; \ 69 INSIST(_r->length >= _l); \ 71 _r->length -= _l; \ 78 INSIST(_r->length >= _l); \ 80 _r->length [all...] |
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/mech/ |
H A D | gss_export_name.c | 61 const void *name, size_t length, gss_buffer_t exported_name) 65 exported_name->length = 10 + length + mech->length; 66 exported_name->value = malloc(exported_name->length); 77 buf[0] = ((mech->length + 2) >> 8) & 0xff; 78 buf[1] = (mech->length + 2) & 0xff; 81 buf[1] = (mech->length) & 0xFF; 84 memcpy(buf, mech->elements, mech->length); 85 buf += mech->length; 60 gss_mg_export_name(OM_uint32 *minor_status, const gss_const_OID mech, const void *name, size_t length, gss_buffer_t exported_name) argument [all...] |
/macosx-10.10.1/Heimdal-398.1.2/base/ |
H A D | fuzzer.c | 62 random_tries(size_t length) argument 64 length = length * 12; 65 if (length < MIN_RANDOM_TRIES) 66 length = MIN_RANDOM_TRIES; 67 return (unsigned long)length; 71 random_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 75 if (iteration > MIN_RANDOM_TRIES && iteration > length * 12) 78 data[rk_random() % length] = rk_random(); 96 bitflip_tries(size_t length) argument 102 bitflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 124 byteflip_tries(size_t length) argument 130 byteflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 152 shortflip_tries(size_t length) argument 158 shortflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 181 wordflip_tries(size_t length) argument 187 wordflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 250 interesting_tries(size_t length) argument 256 interesting8_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 273 interesting16_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 290 interesting32_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument 317 heim_fuzzer_tries(heim_fuzz_type_t type, size_t length) argument 323 heim_fuzzer(heim_fuzz_type_t type, void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Expressions/ |
H A D | 11.4.3.js | 49 testcases[testcases.length] = new TestCase( SECTION, "typeof(void(0))", "undefined", typeof(void(0)) ); 50 testcases[testcases.length] = new TestCase( SECTION, "typeof(null)", "object", typeof(null) ); 51 testcases[testcases.length] = new TestCase( SECTION, "typeof(true)", "boolean", typeof(true) ); 52 testcases[testcases.length] = new TestCase( SECTION, "typeof(false)", "boolean", typeof(false) ); 53 testcases[testcases.length] = new TestCase( SECTION, "typeof(new Boolean())", "object", typeof(new Boolean()) ); 54 testcases[testcases.length] = new TestCase( SECTION, "typeof(new Boolean(true))", "object", typeof(new Boolean(true)) ); 55 testcases[testcases.length] = new TestCase( SECTION, "typeof(Boolean())", "boolean", typeof(Boolean()) ); 56 testcases[testcases.length] = new TestCase( SECTION, "typeof(Boolean(false))", "boolean", typeof(Boolean(false)) ); 57 testcases[testcases.length] = new TestCase( SECTION, "typeof(Boolean(true))", "boolean", typeof(Boolean(true)) ); 58 testcases[testcases.length] [all...] |
/macosx-10.10.1/gnutar-453/gnutar/lib/ |
H A D | ftruncate.c | 15 ftruncate (int fd, off_t length) argument 17 return fcntl (fd, F_CHSIZE, length); 29 ftruncate (int fd, off_t length) argument 37 if (filebuf.st_size < length) 39 /* Extend file length. */ 40 if (lseek (fd, (length - 1), SEEK_SET) < 0) 50 /* Truncate length. */ 54 fl.l_start = length; 72 ftruncate (int fd, off_t length) argument 74 return chsize (fd, length); 82 ftruncate(int fd, off_t length) argument [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/API/ |
H A D | JSStringRefCF.cpp | 42 size_t length = CFStringGetLength(string); local 43 if (!length) 46 Vector<LChar, 1024> lcharBuffer(length); 48 CFIndex convertedSize = CFStringGetBytes(string, CFRangeMake(0, length), kCFStringEncodingISOLatin1, 0, false, lcharBuffer.data(), length, &usedBufferLength); 49 if (static_cast<size_t>(convertedSize) == length && static_cast<size_t>(usedBufferLength) == length) 50 return OpaqueJSString::create(lcharBuffer.data(), length).leakRef(); 52 auto buffer = std::make_unique<UniChar[]>(length); 53 CFStringGetCharacters(string, CFRangeMake(0, length), buffe [all...] |
/macosx-10.10.1/ntp-92/libntp/ |
H A D | memmove.c | 71 register size_t length 78 if (length == 0 || dst == src) /* nothing to do */ 97 if ((t ^ (int)dst) & wmask || length < wsize) 98 t = length; 101 length -= t; 107 t = length / wsize; 110 t = length & wmask; 118 src += length; 119 dst += length; 122 if ((t ^ (int)dst) & wmask || length < [all...] |