Searched refs:length (Results 176 - 200 of 7895) sorted by relevance

1234567891011>>

/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Ducharstrie.cpp60 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { argument
62 if(length==0) {
63 length=*pos++;
65 ++length;
66 // The length of the branch is the number of units to select from.
68 while(length>kMaxBranchLinearSubNodeLength) {
70 length>>=1;
73 length=length-(length>>
129 int32_t length=node-kMinLinearMatch; // Actual match length minus 1. local
158 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. local
185 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. local
283 findUniqueValueFromBranch(const UChar *pos, int32_t length, UBool haveUniqueValue, int32_t &uniqueValue) argument
397 getNextBranchUChars(const UChar *pos, int32_t length, Appendable &out) argument
400 getNextBranchUChars(jumpByDelta(pos), length>>1, out); local
[all...]
H A Dudataswp.c32 const void *inData, int32_t length, void *outData,
42 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) {
50 count=length/2;
57 return length;
62 const void *inData, int32_t length, void *outData,
67 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) {
72 if(length>0 && inData!=outData) {
73 uprv_memcpy(outData, inData, length);
31 uprv_swapArray16(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
61 uprv_copyArray16(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
79 uprv_swapArray32(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
109 uprv_copyArray32(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
127 uprv_swapArray64(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
158 uprv_copyArray64(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
231 udata_swapInvStringBlock(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
284 udata_swapDataHeader(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
416 udata_openSwapperForInputData(const void *data, int32_t length, UBool outIsBigEndian, uint8_t outCharset, UErrorCode *pErrorCode) argument
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/mod_db4/
H A Dmm_hash.c49 static unsigned int hash_hash(const char *key, int length) argument
53 while (--length)
59 void *mm_hash_find(MM_Hash *table, const void *key, int length) argument
62 unsigned int hash = hash_hash((const char *)key, length) % MM_HASH_SIZE;
66 if (length != b->length) continue;
67 if (memcmp(key, b->key, length)) continue;
75 void mm_hash_update(MM_Hash *table, char *key, int length, void *data) argument
80 hash = hash_hash(key, length) % MM_HASH_SIZE;
84 if (length !
103 mm_hash_delete(MM_Hash *table, char *key, int length) argument
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-chdlc.c56 register u_int length = h->len; local
63 return (chdlc_print(p,length));
67 chdlc_print(register const u_char *p, u_int length) { argument
72 printf("%s, ethertype %s (0x%04x), length %u: ",
76 length);
79 length -= CHDLC_HDRLEN;
84 ip_print(gndo, p, length);
88 ip6_print(gndo, p, length);
92 chdlc_slarp_print(p, length);
96 chdlc_cdp_print(p, length);
146 chdlc_slarp_print(const u_char *cp, u_int length) argument
[all...]
H A Dprint-ether.c93 const u_char *bp, u_int length)
119 (void)ND_PRINT((ndo, ", length %u: ", length));
130 const u_char *p, u_int length, u_int caplen,
138 if (caplen < ETHER_HDRLEN || length < ETHER_HDRLEN) {
146 ether_hdr_print(ndo, p, length);
148 orig_length = length;
150 length -= ETHER_HDRLEN;
163 if (llc_print(p, length, caplen, ESRC(ep), EDST(ep),
183 if (caplen < 4 || length <
92 ether_hdr_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
129 ether_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, void (*print_encap_header)(netdissect_options *ndo, const u_char *), const u_char *encap_header_arg) argument
321 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen) argument
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/util/
H A DFastOutputStream.java46 * We can return the same byte[] for 0 length arrays.
136 public void write(byte[] fromBuf, int offset, int length) argument
139 writeFast(fromBuf, offset, length);
179 if (len + 1 > buf.length)
192 int needed = len + fromBuf.length - buf.length;
196 System.arraycopy(fromBuf, 0, buf, len, fromBuf.length);
197 len += fromBuf.length;
205 public final void writeFast(byte[] fromBuf, int offset, int length) { argument
207 int needed = len + length
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/asn1/
H A Dder_format.c44 data->length = 0;
56 data->length = 0;
60 data->length = (len / 2) + 1;
61 data->data = malloc(data->length);
63 data->length = 0;
67 len = hex_decode(p, data->data, data->length);
71 data->length = 0;
81 data->length = len;
93 len = hex_encode(data->data, data->length, p);
113 if (oid->length
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Ddata.c50 p->length = 0;
108 p->length = len;
132 p->length = len;
158 p->length = len;
209 if (data1->length != data2->length)
210 return (int)(data1->length - data2->length);
211 return memcmp(data1->data, data2->data, data1->length);
217 * NUL is not included in the length, bu
[all...]
/macosx-10.10.1/OpenSSH-189/osslshim/heimdal-asn1/
H A Dasn1-der_format.c70 data->length = 0;
82 data->length = 0;
86 data->length = (len / 2) + 1;
87 data->data = malloc(data->length);
89 data->length = 0;
93 len = hex_decode(p, data->data, data->length);
97 data->length = 0;
107 data->length = len;
119 len = hex_encode(data->data, data->length, p);
139 if (oid->length
[all...]
/macosx-10.10.1/apr-32/apr-util/apr-util/buckets/
H A Dapr_buckets_simple.c33 if (point > a->length) {
39 a->length = point;
40 b->length -= point;
52 *len = b->length;
58 apr_size_t length)
61 b->length = length;
69 apr_size_t length,
77 return apr_bucket_immortal_make(b, buf, length);
91 b = apr_bucket_heap_make(b, (char *)b->data + b->start, b->length, NUL
56 apr_bucket_immortal_make(apr_bucket *b, const char *buf, apr_size_t length) argument
68 apr_bucket_immortal_create(const char *buf, apr_size_t length, apr_bucket_alloc_t *list) argument
98 apr_bucket_transient_make(apr_bucket *b, const char *buf, apr_size_t length) argument
109 apr_bucket_transient_create(const char *buf, apr_size_t length, apr_bucket_alloc_t *list) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Array/
H A D15.4.4.4-1.js30 1. Call the [[Get]] method of this object with argument "length".
86 testcases[testcases.length] = new TestCase( SECTION, "Array.prototype.reverse.length", 0, Array.prototype.reverse.length );
87 testcases[testcases.length] = new TestCase( SECTION, "delete Array.prototype.reverse.length", false, delete Array.prototype.reverse.length );
88 testcases[testcases.length] = new TestCase( SECTION, "delete Array.prototype.reverse.length; Array.prototype.reverse.length",
[all...]
/macosx-10.10.1/tcl-105/tk84/tk/macosx/
H A DtkMacOSXClipboard.c56 long length;
77 &length);
78 if (err == noErr && length > 0) {
82 buf = (char *) ckalloc(length + 2);
83 buf[length] = 0;
84 buf[length+1] = 0; /* 2-byte unicode null */
86 &length, buf);
103 err = ChkErr(GetScrapFlavorSize, scrapRef, 'TEXT', &length);
109 if (length > 0) {
113 buf = (char *) ckalloc(length
55 long length; local
299 long length; local
[all...]
/macosx-10.10.1/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFWUserPhysicalAddressSpace.cpp53 IOByteCount length ; local
55 while (0 != fDescriptor->getPhysicalSegment(currentOffset, & length))
57 currentOffset += length ;
62 DebugLog("new phys addr space - segmentCount=%d length=0x%x\n", (uint32_t)fSegmentCount, (uint32_t)fDescriptor->getLength() ) ;
115 IOByteCount length = 0; local
116 outSegments[ index ].location = fDescriptor->getPhysicalSegment( currentOffset, &length ) ;
117 outSegments[ index ].length = length;
118 currentOffset += length ;
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/String/
H A Dmatch-001.js61 regexp, str_regexp, string, length, index, matches_array ) {
64 "( " + string + " ).match(" + str_regexp +").length",
65 length,
66 string.match(regexp).length );
78 for ( var matches = 0; matches < matches_array.length; matches++ ) {
87 regexp, str_regexp, string, length, matches_array ) {
90 "( " + string + " ).match(" + str_regexp +").length",
91 length,
92 string.match(regexp).length );
94 for ( var matches = 0; matches < matches_array.length; matche
[all...]
H A Dmatch-003.js71 re.lastIndex = s.length;
75 "re = " + re + "; re.lastIndex = " + s.length,
112 "( " + string + " ).match(" + str_regexp +").length",
113 matches_array.length,
114 string.match(regexp).length );
116 var limit = matches_array.length > string.match(regexp).length ?
117 matches_array.length :
118 string.match(regexp).length;
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Array/
H A Dregress-101488.js22 * SUMMARY: Try assigning arr.length = new Number(n)
26 * Without the "new" keyword, assigning arr.length = Number(n) worked.
27 * But with it, Rhino was giving an error "Inappropriate array length"
32 * jsSet_length requires that the new length value should be an instance
39 var summary = 'Try assigning arr.length = new Number(n)';
51 tryThis('arr.length = new Number(1);');
52 actual = arr.length;
58 tryThis('arr.length = new Number(1);');
59 actual = arr.length;
65 tryThis('arr.length
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/regexp/
H A Dregress-9141.js41 * document.write("Results = " + a.length + "," + b.length);
77 "a = /(?:xx|x)*/(s); a.length",
79 a.length );
81 AddTestCase( "var b = /(xx|x)*/(s); b.length",
83 b.length );
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/stress/
H A Dint16-put-by-val-in-and-out-of-bounds.js7 function test(length, expected) {
8 var a = new Int16Array(length);
H A Dint16-put-by-val-in-bounds-then-exit-out-of-bounds.js7 function test(length, expected) {
8 var a = new Int16Array(length);
H A Dint16-put-by-val-out-of-bounds-bounds-then-do-in-bounds.js7 function test(length, expected) {
8 var a = new Int16Array(length);
H A Dregexp-matches-array.js6 if (result.length != 4)
7 throw new Error("Runtime array length is incorrect");
8 for (var i = 0; i < result.length; i++) {
/macosx-10.10.1/OpenSSL098-52/src/crypto/bio/
H A Dbss_rtcp.c81 unsigned short int length; /* Amount of data returned or max to return */ member in struct:rpc_msg
126 static int get ( io_channel chan, char *buffer, int maxlen, int *length )
133 if ( (status&1) == 1 ) *length = iosb.count;
137 static int put ( io_channel chan, char *buffer, int length )
142 buffer, length, 0, 0, 0, 0 );
176 int status, length; local
183 length = ctx->filled - ctx->pos;
184 if ( length > outl ) length = outl;
185 memmove ( out, &ctx->msg.data[ctx->pos], length );
223 int status, i, segment, length; local
288 int length; local
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/rand/
H A Drand_vms.c74 short length, code; /* length is amount of bytes */ member in struct:items_data_st
92 short length, code; member in struct:__anon3329
104 while (pitems_data->length
105 && (total_length + pitems_data->length <= 256))
107 pitem->length = pitems_data->length;
111 total_length += pitems_data->length;
115 pitem->length = pitem->code = 0;
/macosx-10.10.1/OpenSSL098-52/src/crypto/ui/
H A Dui_compat.c59 int _ossl_old_des_read_pw_string(char *buf,int length,const char *prompt,int verify) argument
61 return UI_UTIL_read_pw_string(buf, length, prompt, verify);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Dcrc.h10 u_int32_t CalculateCRC(u_int8_t* buffer, size_t length);
11 u_int32_t StagedCRC(u_int32_t initialCRC, u_int8_t* buffer, size_t length);

Completed in 144 milliseconds

1234567891011>>