/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/Security/ |
H A D | sslMemory.c | 54 sslMalloc(size_t length) argument 59 length+=8; 62 p = _MALLOC(length, M_TEMP, M_WAITOK); 69 *(uint32_t *)p=(uint32_t)length-8; 70 printf("sslMalloc @%p of 0x%08lx bytes\n", p, length-8); 71 *(uint32_t *)(p+length-4)=0xdeadbeed; 121 sslMalloc(size_t length) argument 123 return malloc(length); 147 size_t length) 149 buf->data = (uint8_t *)sslMalloc(length); 145 SSLAllocBuffer( SSLBuffer *buf, size_t length) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/lib/ |
H A D | sslMemory.c | 54 sslMalloc(size_t length) argument 59 length+=8; 62 p = _MALLOC(length, M_TEMP, M_WAITOK); 69 *(uint32_t *)p=(uint32_t)length-8; 70 printf("sslMalloc @%p of 0x%08lx bytes\n", p, length-8); 71 *(uint32_t *)(p+length-4)=0xdeadbeed; 121 sslMalloc(size_t length) argument 123 return malloc(length); 147 size_t length) 149 buf->data = (uint8_t *)sslMalloc(length); 145 SSLAllocBuffer( SSLBuffer *buf, size_t length) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/ |
H A D | sslMemory.c | 54 sslMalloc(size_t length) argument 59 length+=8; 62 p = _MALLOC(length, M_TEMP, M_WAITOK); 69 *(uint32_t *)p=(uint32_t)length-8; 70 printf("sslMalloc @%p of 0x%08lx bytes\n", p, length-8); 71 *(uint32_t *)(p+length-4)=0xdeadbeed; 121 sslMalloc(size_t length) argument 123 return malloc(length); 147 size_t length) 149 buf->data = (uint8_t *)sslMalloc(length); 145 SSLAllocBuffer( SSLBuffer *buf, size_t length) argument [all...] |
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/mech/ |
H A D | gss_cb.c | 68 ret = krb5_store_uint32(sp, (uint32_t)b->initiator_address.length); 74 (uint32_t)b->initiator_address.length); 75 if (sret < 0 || (size_t)sret != b->initiator_address.length) { 85 ret = krb5_store_uint32(sp, (uint32_t)b->acceptor_address.length); 91 b->acceptor_address.length); 92 if (sret < 0 || (size_t)sret != b->acceptor_address.length) { 97 ret = krb5_store_uint32(sp, (uint32_t)b->application_data.length); 103 b->application_data.length); 104 if (sret < 0 || (size_t)sret != b->application_data.length) { 115 CCDigest(kCCDigestMD5, data.data, data.length, [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Array/ |
H A D | 15.4.4.5-2.js | 35 1. Call the [[Get]] method of this object with argument "length". 112 for ( tc=0; tc < testcases.length; tc++ ) { 134 // length of array is 2 151 for ( var i = 0; i < S.length; i++ ) { 160 testcases[testcases.length] = new TestCase( SECTION, 161 S +"; A.sort(Compare); A.length", 162 E.length, 163 eval( S + "; A.sort(Compare); A.length") ); 165 for ( var i = 0; i < E.length; i++ ) { 166 testcases[testcases.length] [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Array/ |
H A D | regress-130451.js | 38 * SUMMARY: Array.prototype.sort() should not (re-)define .length 55 var summary = 'Array.prototype.sort() should not (re-)define .length'; 72 actual = arr.sort(cmp).length; 79 actual = arr.sort(cmp).length; 86 arr.length = 1; 87 actual = arr.sort(cmp).length; 92 * This test is by Brendan. Setting arr.length to 105 actual = arr.length; 110 arr.length = 2; 116 arr.length [all...] |
/macosx-10.10.1/iodbc-42.5/iodbc/iodbc/trace/ |
H A D | DriverConnect.c | 151 ssize_t length; local 165 * Calculate string length 168 length = *lenptr; 170 length = len; 172 if (length == SQL_NTS) 173 length = STRLEN (str); 179 if ((dup = (SQLCHAR *) malloc (length + 1)) == NULL) 181 memcpy (dup, str, length); 182 dup[length] = '\0'; 188 trace_emit_string (dup, length, 201 long length; local [all...] |
/macosx-10.10.1/ruby-106/ruby/lib/rubygems/package/ |
H A D | tar_test_case.rb | 9 def ASCIIZ(str, length) 10 str + "\0" * (length - str.length) 52 length = fields.shift.to_i 56 offset += length 60 assert_equal expected[offset, length], actual[offset, length], 63 offset += length 74 def header(type, fname, dname, length, mode, checksum = nil) 82 Z(to_oct(length, 1 [all...] |
/macosx-10.10.1/tcpdump-61/tcpdump/ |
H A D | print-ascii.c | 60 ascii_print(register const u_char *cp, register u_int length) argument 65 while (length > 0) { 67 length--; 78 register const u_char *cp, register u_int length, register u_int oset) 86 nshorts = length / sizeof(u_short); 107 if (length & 1) { 125 register u_int length) 127 hex_and_ascii_print_with_offset(ident, cp, length, 0); 134 hex_print_with_offset(register const char *ident, register const u_char *cp, register u_int length, argument 140 nshorts = (u_int) length / sizeo 77 hex_and_ascii_print_with_offset(register const char *ident, register const u_char *cp, register u_int length, register u_int oset) argument 124 hex_and_ascii_print(register const char *ident, register const u_char *cp, register u_int length) argument 161 hex_print(register const char *ident, register const u_char *cp, register u_int length) argument [all...] |
H A D | print-atalk.c | 94 llap_print(register const u_char *bp, u_int length) argument 102 if (length < sizeof(*lp)) { 103 (void)printf(" [|llap %u]", length); 104 return (length); 108 length -= sizeof(*lp); 113 if (length < ddpSSize) { 114 (void)printf(" [|sddp %u]", length); 115 return (length); 123 length -= ddpSSize; 125 ddp_print(bp, length, sd 166 atalk_print(register const u_char *bp, u_int length) argument 192 aarp_print(register const u_char *bp, u_int length) argument 229 ddp_print(register const u_char *bp, register u_int length, register int t, register u_short snet, register u_char snode, u_char skt) argument 254 atp_print(register const struct atATP *ap, u_int length) argument 381 nbp_print(register const struct atNBP *np, u_int length, register u_short snet, register u_char snode, register u_char skt) argument 452 register u_int length; local [all...] |
H A D | print-fr.c | 47 * the frame relay header has a variable length 52 * minimum header length is 2 bytes 53 * maximum header length is 4 bytes 100 /* Finds out Q.922 address length, DLCI and flags. Returns 0 on success 101 * save the flags dep. on address length 189 fr_hdr_print(int length, u_int addr_len, u_int dlci, u_int8_t *flags, u_int16_t nlpid) argument 192 (void)printf("Q.922, DLCI %u, length %u: ", 194 length); 197 (void)printf("Q.922, hdr-len %u, DLCI %u, Flags [%s], NLPID %s (0x%02x), length %u: ", 203 length); 218 register u_int length = h->len; local 233 fr_print(register const u_char *p, u_int length) argument 340 register u_int length = h->len; local 399 mfr_print(register const u_char *p, u_int length) argument 558 frf15_print(const u_char *p, u_int length) argument 727 q933_print(const u_char *p, u_int length) argument [all...] |
H A D | print-ap1394.c | 58 ap1394_hdr_print(register const u_char *bp, u_int length) argument 78 (void)printf(", length %u: ", length); 84 * 'h->len' is the length of the packet off the wire, and 'h->caplen' 90 u_int length = h->len; local 101 ap1394_hdr_print(p, length); 103 length -= FIREWIRE_HDRLEN; 109 if (ethertype_print(gndo, ether_type, p, length, caplen) == 0) { 112 ap1394_hdr_print((u_char *)fp, length + FIREWIRE_HDRLEN);
|
H A D | print-ipfc.c | 66 register u_int length, register const u_char *ipfcsrc, 77 (void) printf("%s %s %d: ", srcname, dstname, length); 81 ipfc_print(const u_char *p, u_int length, u_int caplen) argument 97 ipfc_hdr_print(ipfcp, length, ESRC(&ehdr), EDST(&ehdr)); 100 length -= IPFC_HDRLEN; 105 if (llc_print(p, length, caplen, ESRC(&ehdr), EDST(&ehdr), 112 ipfc_hdr_print(ipfcp, length + IPFC_HDRLEN, 126 * 'h->len' is the length of the packet off the wire, and 'h->caplen' 65 ipfc_hdr_print(register const struct ipfc_header *ipfcp _U_, register u_int length, register const u_char *ipfcsrc, register const u_char *ipfcdst) argument
|
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/Unicode/ |
H A D | UnicodeWrappers.c | 60 static void GetFilenameExtension( ItemCount length, ConstUniCharArrayPtr unicodeStr, char* extStr ); 63 static u_int32_t HexStringToInteger( u_int32_t length, const u_int8_t *hexStr ); 70 GetFilenameExtension(ItemCount length, ConstUniCharArrayPtr unicodeStr, char * extStr) argument 80 if ( length < 3 ) 83 if ( length < (kMaxFileExtensionChars + 2) ) 84 maxExtChars = length - 2; /* save room for prefix + dot */ 88 i = length; 125 CountFilenameExtensionChars( const unsigned char * filename, u_int32_t length ) 133 if ( length < 3 ) 136 if ( length < (kMaxFileExtensionChar 170 GetEmbeddedFileID(const unsigned char * filename, u_int32_t length, u_int32_t *prefixLength) argument 217 HexStringToInteger(u_int32_t length, const u_int8_t *hexStr) argument 257 u_int8_t length, length2; local [all...] |
/macosx-10.10.1/cxxfilt-11/cxxfilt/opcodes/ |
H A D | mt-dis.c | 72 int length ATTRIBUTE_UNUSED) 79 print_normal (cd, dis_info, value, attrs, pc, length); 88 int length ATTRIBUTE_UNUSED) 90 print_address (cd, dis_info, value + pc, attrs, pc, length); 120 int length) 127 print_dollarhex (cd, info, fields->f_a23, 0, pc, length); 130 print_dollarhex (cd, info, fields->f_ball, 0, pc, length); 133 print_dollarhex (cd, info, fields->f_ball2, 0, pc, length); 136 print_dollarhex (cd, info, fields->f_bankaddr, 0, pc, length); 139 print_dollarhex (cd, info, fields->f_brc, 0, pc, length); 113 mt_cgen_print_operand(CGEN_CPU_DESC cd, int opindex, void * xinfo, CGEN_FIELDS *fields, void const *attrs ATTRIBUTE_UNUSED, bfd_vma pc, int length) argument 391 print_insn_normal(CGEN_CPU_DESC cd, void *dis_info, const CGEN_INSN *insn, CGEN_FIELDS *fields, bfd_vma pc, int length) argument 491 int length; local 616 int length; local [all...] |
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/ |
H A D | udatpg_test.c | 76 int32_t length; local 104 s=udatpg_getDecimal(dtpg2, &length); 105 if(s==pipeString || length!=1 || 0!=u_memcmp(s, pipeString, length) || s[length]!=0) { 134 int32_t length; local 143 length = udatpg_getBestPattern(dtpg, testSkeleton1, 4, 149 if((u_memcmp(bestPattern, expectingBestPattern, length)!=0) || bestPattern[length]!=0) { 157 length 245 int32_t length, pLength; local [all...] |
/macosx-10.10.1/IOFireWireFamily-456/IOFireWireLib.CFPlugInProj/ |
H A D | IOFireWireLibCoalesceTree.cpp | 46 if ( inRange.address == 0 or inRange.length == 0) 50 IOVirtualRange range = { trunc_page(inRange.address), round_page( (inRange.address & getpagesize() - 1) + inRange.length - 1) } ; 60 mTop->range.length = range.length ; 69 if ( (inRange.address - inNode->range.address) <= inNode->range.length) 72 inNode->range.length = MAX( inNode->range.length, ( inRange.address + inRange.length - inNode->range.address) ) ; 84 inNode->right->range.length = inRange.length ; [all...] |
/macosx-10.10.1/bind9-45.101/bind9/bin/tools/ |
H A D | isc-hmac-fixup.c | 59 if (r.length > HMAC_LEN) { 62 isc_md5_update(&md5ctx, r.base, r.length); 66 r.length = ISC_MD5_DIGESTLENGTH; 70 if (r.length > ISC_SHA1_DIGESTLENGTH) { 73 isc_sha1_update(&sha1ctx, r.base, r.length); 77 r.length = ISC_SHA1_DIGESTLENGTH; 81 if (r.length > ISC_SHA224_DIGESTLENGTH) { 84 isc_sha224_update(&sha224ctx, r.base, r.length); 88 r.length = ISC_SHA224_DIGESTLENGTH; 92 if (r.length > ISC_SHA256_DIGESTLENGT [all...] |
/macosx-10.10.1/postfix-255/postfix/src/postconf/ |
H A D | extract.awk | 23 int_vars["int " substr($3,2,length($3)-2) ";"] = 1 31 str_vars["char *" substr($3,2,length($3)-2) ";"] = 1 39 str_fn_vars["char *" substr($3,2,length($3)-2) ";"] = 1 48 raw_vars["char *" substr($3,2,length($3)-2) ";"] = 1 56 bool_vars["int " substr($3,2,length($3)-2) ";"] = 1 64 time_vars["int " substr($3,2,length($3)-2) ";"] = 1 72 nint_vars["int " substr($3,2,length($3)-2) ";"] = 1 80 nbool_vars["int " substr($3,2,length($3)-2) ";"] = 1 88 long_vars["long " substr($3,2,length($3)-2) ";"] = 1
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/RegExp/ |
H A D | regexp-enumerate-001.js | 53 for ( p in r ) { e[e.length] = { property:p, value:r[p] }; t.addProperty( p, r[p]) }; 55 testcases[testcases.length] = new TestCase( SECTION, 57 "for ( p in r ) { e[e.length] = { property:p, value:r[p] }; e.length", 59 e.length ); 75 testcases[testcases.length] = new TestCase( SECTION, 80 if ( testcases[ testcases.length-1].passed == false ) { 81 testcases[testcases.length-1].reason = "property already enumerated"; 87 for ( tc=0; tc < testcases.length; tc++ ) {
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/buffer/ |
H A D | buffer.c | 91 ret->length=0; 115 if (str->length >= len) 117 str->length=len; 122 memset(&str->data[str->length],0,len-str->length); 123 str->length=len; 139 str->length=len;
|
/macosx-10.10.1/eap8021x-198/EAP8021X.fproj/ |
H A D | EAPUtil.c | 116 EAPPacketHeaderAppendDescription(EAPPacketRef eap_p, uint32_t length, argument 121 eap_p->identifier, length); 126 EAPRequestResponseValid(EAPPacketRef eap_p, uint32_t length, argument 133 if (length < sizeof(*rd_p)) { 135 STRING_APPEND(str, "%s length %d < %d\n", REQUEST_RESPONSE_LABEL, 136 length, (int)sizeof(*rd_p)); 144 EAPPacketHeaderAppendDescription(eap_p, length, str); 150 if (length < sizeof(*nak_p)) { 152 EAPPacketHeaderAppendDescription(eap_p, length, str); 154 length, (in 203 int length; local 299 EAPPacketSetLength(EAPPacketRef pkt, uint16_t length) argument [all...] |
/macosx-10.10.1/pcre-7/pcre/ |
H A D | pcre_valid_utf8.c | 71 length length of string, or -1 if the string is zero-terminated 78 _pcre_valid_utf8(USPTR string, int length) argument 83 if (length < 0) 86 length = p - string; 89 for (p = string; length-- > 0; p++) 96 if (length < ab || ab > 3) return p - string; 97 length -= ab; 102 /* Check for overlong sequences for each different length, and for the 159 (void)(length); [all...] |
/macosx-10.10.1/srm-7/srm/src/ |
H A D | random.c | 65 void randomize_buffer(unsigned char *buffer, unsigned int length) { argument 70 u_int32_t mod4length = length - (length % 4); 75 while (i < length) { 78 random_bytes_read += (mod4length + ((length - mod4length) * 4)); 85 read(urand_file, buffer, length); 87 for (i = 0; i < length; i++)
|
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/bind/serial/ |
H A D | SerialBinding.java | 109 int length = entry.getSize(); 111 byte[] bufWithHeader = new byte[length + hdr.length]; 113 System.arraycopy(hdr, 0, bufWithHeader, 0, hdr.length); 115 bufWithHeader, hdr.length, length); 119 new FastInputStream(bufWithHeader, 0, bufWithHeader.length), 137 * non-zero value and the size property to a value less than the length of 164 entry.setData(fo.getBufferBytes(), hdr.length, 165 fo.getBufferLength() - hdr.length); [all...] |