/macosx-10.10.1/ICU-531.30/icuSources/samples/ustring/ |
H A D | ustring.cpp | 36 printUString(const char *announce, const UChar *s, int32_t length) { argument 44 * ucnv_fromUChars(), like most ICU APIs understands length==-1 47 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode); 56 if(length>=0) { 58 for(i=0; i<length; /* U16_NEXT post-increments */) { 59 U16_NEXT(s, i, length, c); 65 U16_NEXT(s, i, length, c); 78 int32_t i, length; local 92 length=s.length(); 153 int32_t length=u_strlen(text); /* length=3 */ local 200 int32_t i, j, length; local 568 int32_t length; local [all...] |
/macosx-10.10.1/OpenSSL098-52/src/crypto/des/ |
H A D | pcbc_enc.c | 62 long length, DES_key_schedule *schedule, 78 for (; length>0; length-=8) 80 if (length >= 8) 86 c2ln(in,sin0,sin1,length); 101 for (; length>0; length-=8) 110 if (length >= 8) 116 l2cn(tout0,tout1,out,length); 61 DES_pcbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *schedule, DES_cblock *ivec, int enc) argument
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/Security/ |
H A D | securetransport++.h | 63 void peerId(const void *data, size_t length); 66 size_t read(void *data, size_t length); 67 size_t write(const void *data, size_t length); 71 virtual size_t ioRead(void *data, size_t length) const = 0; 72 virtual size_t ioWrite(const void *data, size_t length) const = 0; 102 size_t ioRead(void *data, size_t length) const { return io.read(data, length); } 103 size_t ioWrite(const void *data, size_t length) const { return io.write(data, length); }
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/lib/ |
H A D | securetransport++.h | 63 void peerId(const void *data, size_t length); 66 size_t read(void *data, size_t length); 67 size_t write(const void *data, size_t length); 71 virtual size_t ioRead(void *data, size_t length) const = 0; 72 virtual size_t ioWrite(const void *data, size_t length) const = 0; 102 size_t ioRead(void *data, size_t length) const { return io.read(data, length); } 103 size_t ioWrite(const void *data, size_t length) const { return io.write(data, length); }
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/ |
H A D | securetransport++.h | 63 void peerId(const void *data, size_t length); 66 size_t read(void *data, size_t length); 67 size_t write(const void *data, size_t length); 71 virtual size_t ioRead(void *data, size_t length) const = 0; 72 virtual size_t ioWrite(const void *data, size_t length) const = 0; 102 size_t ioRead(void *data, size_t length) const { return io.read(data, length); } 103 size_t ioWrite(const void *data, size_t length) const { return io.write(data, length); }
|
/macosx-10.10.1/WTF-7600.1.24/wtf/text/ |
H A D | CString.h | 37 // The data is implicitly allocated 1 character longer than length(), as it is zero-terminated. 41 size_t length() const { return m_length; } function in class:WTF::CStringBuffer 46 static PassRefPtr<CStringBuffer> createUninitialized(size_t length); 48 CStringBuffer(size_t length) : m_length(length) { } argument 60 WTF_EXPORT_PRIVATE CString(const char*, size_t length); 62 WTF_EXPORT_PRIVATE static CString newUninitialized(size_t length, char*& characterBuffer); 70 size_t length() const function in class:WTF::CString 72 return m_buffer ? m_buffer->length() : 0; 86 void init(const char*, size_t length); [all...] |
/macosx-10.10.1/apache-793/httpd/modules/proxy/ |
H A D | ajp_link.c | 25 apr_size_t length; local 29 length = msg->len; 33 apr_size_t written = length; 41 length -= written; 43 } while (length); 52 apr_size_t length = len; local 58 status = apr_socket_recv(sock, (char *)(buf + rdlen), &length); 67 rdlen += length; 68 length = len - rdlen; 103 "of length [all...] |
/macosx-10.10.1/tcpdump-61/tcpdump/ |
H A D | print-ripng.c | 62 ripng_print(const u_char *dat, unsigned int length) argument 74 i = min(length, amt); 82 j = length / sizeof(*ni); 89 if (j * sizeof(*ni) != length - 4) 90 printf(" ripng-req %d[%u]:", j, length); 104 j = length / sizeof(*ni); 105 if (j * sizeof(*ni) != length - 4) 106 printf(" ripng-resp %d[%u]:", j, length); 122 printf(" ripng-%d ?? %u", rp->rip6_cmd, length);
|
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/asn/ |
H A D | asn.tcl | 132 # asnLength : Encode some length data. Helper command. 138 return -code error "Negative length octet requested" 200 # The sequence tag is 0x30. The length is arbitrary and thus full 201 # length coding is required. The arguments have to be BER encoded 202 # already. Constructed value, definite-length encoding. 208 set len [string length $out] 222 # The set tag is 0x31. The length is arbitrary and thus full 223 # length coding is required. The arguments have to be BER encoded 230 set len [string length $out] 247 set len [string length [all...] |
/macosx-10.10.1/Heimdal-398.1.2/lib/asn1/ |
H A D | der_length.c | 147 return data->length; 153 return data->length; 159 return data->length * 2; 165 return data->length * 4; 177 return k->length; 183 if (k->length == 0) 186 return k->length + (((~(((unsigned char *)k->data)[0])) & 0x80) ? 0 : 1); 188 return k->length + ((((unsigned char *)k->data)[0] & 0x80) ? 1 : 0); 197 for (n = 2; n < k->length; ++n) { 215 ret = k.length; [all...] |
H A D | extra.c | 52 size_t len_len, length, l; local 64 e = der_get_length(p + l, len - l, &length, &len_len); 66 if (length == ASN1_INDEFINITE) { 69 length = len - (len_len + l); 71 if (len < length + len_len + l) 75 data->data = malloc(length + len_len + l); 78 data->length = length + len_len + l; 79 memcpy(data->data, p, length + len_len + l); 82 *size = length [all...] |
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/krb5/ |
H A D | authorize_localname.c | 51 user = malloc(user_name->length + 1); 57 memcpy(user, user_name->value, user_name->length); 58 user[user_name->length] = '\0';
|
/macosx-10.10.1/IOKitUser-1050.1.21/adb.subproj/ |
H A D | ADBTest.c | 50 unsigned long length; local 104 err = IOPMReadADBDevice (fb, 0, 0, buffer, &length ); // bad address 108 err = IOPMReadADBDevice (fb, 16, 0, buffer, &length ); // bad address 112 err = IOPMReadADBDevice (fb, 2, 4, buffer, &length ); // bad register 116 err = IOPMReadADBDevice (fb, DUT, 3, buffer, &length ); // un owned 124 length = 0; 125 err = IOPMReadADBDevice (fb, DUT, 0, buffer, &length ); // register 0 130 printf("device %d register 0: length %d,",DUT,length); 131 for ( i = 0; i < length; [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Array/ |
H A D | 15.4.4.5-1.js | 34 1. Call the [[Get]] method of this object with argument "length". 111 for ( tc=0; tc < testcases.length; tc++ ) { 133 // length of array is 2 152 for ( var i = 0; i < S.length; i++ ) { 160 testcases[testcases.length] = new TestCase( SECTION, 161 S +"; A.sort(); A.length", 162 E.length, 163 eval( S + "; A.sort(); 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/stress/ |
H A D | exit-from-ftl-when-caller-passed-extra-args-then-use-function-dot-arguments.js | 16 if (a.length != b.length) 18 for (var i = 0; i < a.length; ++i) {
|
H A D | ftl-get-my-argument-by-val-inlined-and-not-inlined.js | 12 if (a.length != b.length) 14 for (var i = 0; i < a.length; ++i) {
|
H A D | tricky-array-bounds-checks.js | 10 if (a.length != b.length) 12 for (var i = 0; i < a.length; ++i) {
|
/macosx-10.10.1/OpenSSH-189/osslshim/heimdal-asn1/ |
H A D | asn1-der_length.c | 113 for (n = 2; n < oid->length; ++n) { 186 return data->length; 192 return data->length; 198 return data->length * 2; 204 return data->length * 4; 216 return k->length; 222 if (k->length == 0) 225 return k->length + (((~(((unsigned char *)k->data)[0])) & 0x80) ? 0 : 1); 227 return k->length + ((((unsigned char *)k->data)[0] & 0x80) ? 1 : 0); 243 ret = k.length; [all...] |
H A D | asn1-extra.c | 74 size_t len_len, length, l; local 86 e = der_get_length(p + l, len - l, &length, &len_len); 88 if (length == ASN1_INDEFINITE) { 91 length = len - (len_len + l); 93 if (len < length + len_len + l) 97 data->data = malloc(length + len_len + l); 100 data->length = length + len_len + l; 101 memcpy(data->data, p, length + len_len + l); 104 *size = length [all...] |
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/acltool/ |
H A D | aclUtils.h | 39 void print_buffer_hex(FILE *stream, UInt32 length, const void *data); 40 void print_buffer_ascii(FILE *stream, UInt32 length, const void *data); 41 void print_buffer(FILE *stream, UInt32 length, const void *data);
|
/macosx-10.10.1/Security-57031.1.35/SecurityTests/regressions/kc/ |
H A D | kc-19-item-copy-internet.c | 58 is(origAttrs[0].length, 16, "creation date length 16"); 59 is(origAttrs[1].length, 16, "mod date length 16"); 60 is(origAttrs[0].length, copyAttrs[0].length, "creation date length same"); 61 is(origAttrs[1].length, copyAttrs[1].length, "mod date length sam [all...] |
/macosx-10.10.1/WTF-7600.1.24/wtf/ |
H A D | CryptographicallyRandomNumber.cpp | 56 void randomValues(void* buffer, size_t length); 59 inline void addRandomData(unsigned char *data, int length); 83 void ARC4RandomNumberGenerator::addRandomData(unsigned char* data, int length) argument 89 m_stream.j += si + data[n % length]; 99 size_t length = sizeof(randomness); local 100 cryptographicallyRandomValuesFromOS(randomness, length); 101 addRandomData(randomness, length); 146 void ARC4RandomNumberGenerator::randomValues(void* buffer, size_t length) argument 152 while (length--) { 155 result[length] 173 cryptographicallyRandomValues(void* buffer, size_t length) argument [all...] |
H A D | dtoa.h | 50 double parseDouble(const LChar* string, size_t length, size_t& parsedLength); 51 double parseDouble(const UChar* string, size_t length, size_t& parsedLength); 55 WTF_EXPORT_PRIVATE double parseDoubleFromLongString(const UChar* string, size_t length, size_t& parsedLength); 58 inline double parseDouble(const LChar* string, size_t length, size_t& parsedLength) argument 60 return double_conversion::StringToDoubleConverter::StringToDouble(reinterpret_cast<const char*>(string), length, &parsedLength); 63 inline double parseDouble(const UChar* string, size_t length, size_t& parsedLength) argument 66 if (length > conversionBufferSize) 67 return Internal::parseDoubleFromLongString(string, length, parsedLength); 69 for (int i = 0; i < static_cast<int>(length); ++i) 71 return parseDouble(conversionBuffer, length, parsedLengt [all...] |
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/InjectedBundle/API/mac/ |
H A D | WKDOMTextIterator.mm | 74 unsigned length = text.length(); 75 if (!length) 80 _upconvertedText.appendRange(text.characters8(), text.characters8() + length); 81 ASSERT(_upconvertedText.size() == text.length()); 87 return _textIterator->text().length();
|
/macosx-10.10.1/apr-32/apr/apr/misc/netware/ |
H A D | rand.c | 60 apr_size_t length) 62 if (NXSeedRandom(length, buf) != 0) { 63 return NXSeedRandomInternal (length, buf);
|