Searched refs:length (Results 101 - 125 of 7895) sorted by relevance

1234567891011>>

/macosx-10.10.1/xnu-2782.1.97/libsyscall/wrappers/string/
H A Dmemcpy.c51 void * memcpy(void *dst0, const void *src0, size_t length) argument
57 if (length == 0 || dst == src) /* nothing to do */
76 if ((t ^ (uintptr_t)dst) & wmask || length < wsize)
77 t = length;
80 length -= t;
86 t = length / wsize;
88 t = length & wmask;
96 src += length;
97 dst += length;
100 if ((t ^ (uintptr_t)dst) & wmask || length <
[all...]
/macosx-10.10.1/WTF-7600.1.24/wtf/dtoa/
H A Dfixed-dtoa.cc125 BufferReference<char> buffer, int* length) {
127 buffer[(*length) + i] = '0' + number % 10;
130 *length += requested_length;
134 static void FillDigits32(uint32_t number, BufferReference<char> buffer, int* length) { argument
140 buffer[(*length) + number_length] = '0' + digit;
144 int i = *length;
145 int j = *length + number_length - 1;
153 *length += number_length;
158 BufferReference<char> buffer, int* length) {
167 FillDigits32FixedLength(part0, 3, buffer, length);
124 FillDigits32FixedLength(uint32_t number, int requested_length, BufferReference<char> buffer, int* length) argument
157 FillDigits64FixedLength(uint64_t number, int requested_length, BufferReference<char> buffer, int* length) argument
173 FillDigits64(uint64_t number, BufferReference<char> buffer, int* length) argument
194 RoundUp(BufferReference<char> buffer, int* length, int* decimal_point) argument
235 FillFractionals(uint64_t fractionals, int exponent, int fractional_count, BufferReference<char> buffer, int* length, int* decimal_point) argument
294 TrimZeros(BufferReference<char> buffer, int* length, int* decimal_point) argument
312 FastFixedDtoa(double v, int fractional_count, BufferReference<char> buffer, int* length, int* decimal_point) argument
380 FillDigits32(static_cast<uint32_t>(integrals), buffer, length); local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dcstrcase.c42 int32_t length; local
48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
53 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) ||
54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 ||
55 buffer[length]!=0
58 length,
60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 &&
61 buffer[length]==0 ? "yes" : "no",
70 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
75 length!
140 int32_t length; local
237 int32_t length; local
341 int32_t length; local
433 int32_t length; local
733 int32_t length; local
878 int32_t length; local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Ddenseranges.cpp28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {}
31 int32_t i=length;
38 // length largest.
39 int32_t j= length<maxLength ? length++ : maxLength-1;
51 if(newLength<length) {
52 length=newLength;
56 int32_t count() const { return length; }
61 if(length==0) {
66 for(int32_t i=0; i<length;
79 int32_t length; member in class:__anon1261::LargestGaps
99 uprv_makeDenseRanges(const int32_t values[], int32_t length, int32_t density, int32_t ranges[][2], int32_t capacity) argument
[all...]
/macosx-10.10.1/OpenSSH-189/osslshim/ossl/
H A Dossl-buffer.c39 b->length = 0;
68 if (str->length >= len) {
69 str->length = len;
73 memset(&str->data[str->length], 0, len-str->length);
74 str->length = len;
89 memset(&str->data[str->length], 0, len-str->length);
90 str->length = len;
103 if (str->length >
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/buffer/
H A Dbuffer.c78 ret->length=0;
107 if (str->length >= len)
109 str->length=len;
114 memset(&str->data[str->length],0,len-str->length);
115 str->length=len;
138 memset(&str->data[str->length],0,len-str->length);
139 str->length=len;
154 if (str->length >
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/FunctionObjects/
H A D15.3.1.1-3.js68 MyFunc = Function( args, "var r=0; for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; else r += eval('arg'+i); }; return r");
69 MyObject = Function( args, "for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; eval('this.arg'+i +'=arg'+i); };");
73 testcases[testcases.length] = new TestCase( SECTION, "MyFunc.length", 2000, MyFunc.length );
74 testcases[testcases.length] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, MY_OB );
75 testcases[testcases.length] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, eval("var MY_OB = MyFunc("+s+"); MY_OB") );
77 testcases[testcases.length] = new TestCase( SECTION, "MyObject.length", 2000, MyObject.length );
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/String/
H A Dsplit-001.js64 "( " + string + " ).split(" + str_sep +").length",
65 split_array.length,
66 string.split(separator).length );
69 var limit = (split_array.length > string.split(separator).length )
70 ? split_array.length : string.split(separator).length;
72 for ( var matches = 0; matches < split_array.length; matches++ ) {
91 // check the length of the array
94 "( " + string + " ).split(" + str_sep +", " + str_limit + " ).length",
[all...]
H A Dsplit-003.js72 "( " + string + " ).split(" + str_sep +").length",
73 split_array.length,
74 string.split(separator).length );
77 var limit = (split_array.length > string.split(separator).length )
78 ? split_array.length : string.split(separator).length;
80 for ( var matches = 0; matches < split_array.length; matches++ ) {
99 // check the length of the array
102 "( " + string + " ).split(" + str_sep +", " + limit + " ).length",
[all...]
H A Dsplit-002.js105 "( " + string +".split(" + separator + ") ).length" ,
106 split_2.length,
107 split_1.length );
109 var limit = split_1.length > split_2.length ?
110 split_1.length : split_2.length;
125 "( " + string +".split(" + separator + ", " + splitlimit+") ).length" ,
126 split_2.length,
127 split_1.length );
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/Objects/
H A DtoString-001.js46 testcases[testcases.length] = new TestCase( SECTION,
53 testcases[testcases.length] = new TestCase( SECTION,
58 o = { name:"object", length:0, value:"hello" } property in class:o
60 testcases[testcases.length] = new TestCase( SECTION,
61 "o = { name:\"object\", length:0, value:\"hello\" }; o.toString()",
63 checkObjectToString(o.toString(), ['name:"object"', 'length:0',
66 o = { name:"object", length:0, value:"hello", property in class:o
69 testcases[testcases.length] = new TestCase( SECTION,
70 "o = { name:\"object\", length:0, value:\"hello\", "+
80 for ( tc=0; tc < testcases.length; t
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dacl_comment.cpp95 // CountedData writes a 4-byte NBO length followed by that many bytes.
116 size_t length = n2h(lop); local
117 assert(length >= minCssmList);
118 pub.get<void>(length - sizeof(tol)); // skip L-4 bytes
120 size_t length = n2h(tol); local
121 assert(length >= minCssmList);
122 pub.get<void>(length); // skip L bytes
137 Endian<uint32_t> length = 12; local
138 pub(zero); pub(length); pub(zero); pub(zero); pub(zero);
144 Endian<uint32_t> length local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Dacl_comment.cpp95 // CountedData writes a 4-byte NBO length followed by that many bytes.
116 size_t length = n2h(lop); local
117 assert(length >= minCssmList);
118 pub.get<void>(length - sizeof(tol)); // skip L-4 bytes
120 size_t length = n2h(tol); local
121 assert(length >= minCssmList);
122 pub.get<void>(length); // skip L bytes
137 Endian<uint32_t> length = 12; local
138 pub(zero); pub(length); pub(zero); pub(zero); pub(zero);
144 Endian<uint32_t> length local
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Array/
H A D15.4.2.2-1.js37 If the argument len is a number, then the length
41 If the argument len is not a number, then the length
70 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).length );
74 array[item++] = new TestCase( SECTION, "new Array(1).length", 1, (new Array(1)).length );
77 array[item++] = new TestCase( SECTION, "(new Array(-0)).length", 0, (new Array(-0)).length );
78 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).length );
[all...]
H A D15.4.4.4-2.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/SmartcardCCID-55008/ccid/ccid/contrib/RSA_SecurID/
H A DRSA_SecurID_getpasswd.c47 DWORD length; local
98 length = sizeof(bRecvBuffer);
100 &pioRecvPci, bRecvBuffer, &length);
102 if ((length != 2) || (bRecvBuffer[0] != 0x90) || (bRecvBuffer[1] != 0x00))
104 printf("cmd1 failed (%uld): %02X%02X\n", length, bRecvBuffer[length-2],
105 bRecvBuffer[length-1]);
110 length = sizeof(bRecvBuffer);
112 &pioRecvPci, bRecvBuffer, &length);
114 if ((length !
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dbytestrieiterator.cpp63 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. local
64 if(length>=0) {
66 ++length;
67 if(maxLength_>0 && length>maxLength_) {
68 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); local
71 pos_+=length;
72 remainingMatchLength_-=length;
85 int32_t length local
112 int32_t length=stack_->elementAti(stackSize-1); local
158 int32_t length=node-kMinLinearMatch+1; local
164 str_->append(reinterpret_cast<const char *>(pos), length, errorCode); local
180 branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) argument
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/opcodes/
H A Dcgen-bitset.c44 mask->length = (bit_count / 8) + 1;
45 mask->bits = xmalloc (mask->length);
59 for (i = 0; i < mask->length; ++i)
118 if (mask1->length != mask2->length)
120 return memcmp (mask1->bits, mask2->bits, mask1->length);
135 limit = mask1->length < mask2->length ? mask1->length : mask2->length;
[all...]
/macosx-10.10.1/WTF-7600.1.24/wtf/text/
H A DStringConcatenate.h55 unsigned length() { return 1; } function in class:WTF::StringTypeAdapter
78 unsigned length() { return 1; } function in class:WTF::StringTypeAdapter
101 unsigned length() { return 1; } function in class:WTF::StringTypeAdapter
126 unsigned length() { return m_length; } function in class:WTF::StringTypeAdapter
158 unsigned length() { return m_length; } function in class:WTF::StringTypeAdapter
193 unsigned length() { return m_length; } function in class:WTF::StringTypeAdapter
221 unsigned length() { return m_length; } function in class:WTF::StringTypeAdapter
252 unsigned length() { return m_length; } function in class:WTF::StringTypeAdapter
280 size_t length() { return m_length; } function in class:WTF::StringTypeAdapter
307 size_t length() { retur function in class:WTF::StringTypeAdapter
335 size_t length() { return m_buffer.size(); } function in class:WTF::StringTypeAdapter
363 unsigned length() { return m_buffer.length(); } function in class:WTF::StringTypeAdapter
369 unsigned length = m_buffer.length(); local
381 unsigned length = m_buffer.length(); local
408 unsigned length() { return m_adapter.length(); } function in class:WTF::StringTypeAdapter
434 unsigned length = adapter1.length(); local
474 unsigned length = adapter1.length(); local
520 unsigned length = adapter1.length(); local
572 unsigned length = adapter1.length(); local
630 unsigned length = adapter1.length(); local
694 unsigned length = adapter1.length(); local
764 unsigned length = adapter1.length(); local
840 unsigned length = adapter1.length(); local
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/netlogon/
H A Ddisplay_name.c52 namebuf = name->DnsName.length ? &name->DnsName : &name->NetbiosName;
54 output_name_buffer->value = malloc(namebuf->length + 1);
59 memcpy(output_name_buffer->value, namebuf->value, namebuf->length);
60 ((char *)output_name_buffer->value)[namebuf->length] = '\0';
61 output_name_buffer->length = namebuf->length;
/macosx-10.10.1/WTF-7600.1.24/wtf/text/cf/
H A DAtomicStringCF.cpp41 CFIndex length = CFStringGetLength(string);
44 return add(ptr, length);
47 return add(reinterpret_cast<const UChar*>(ptr), length);
49 Vector<UniChar, 1024> ucharBuffer(length);
50 CFStringGetCharacters(string, CFRangeMake(0, length), ucharBuffer.data());
51 return add(reinterpret_cast<const UChar*>(ucharBuffer.data()), length);
/macosx-10.10.1/pdisk-9/
H A Dbitfield.c73 bitfield_set(unsigned int *bf, int base, int length, unsigned int value) argument
82 s = (base + 1) - length;
83 m = masks[length];
91 bitfield_get(unsigned int bf, int base, int length) argument
98 s = (base + 1) - length;
99 m = masks[length];
/macosx-10.10.1/ruby-106/ruby/test/psych/nodes/
H A Dtest_enumerable.rb8 assert_equal 3, Psych.parse_stream(yaml).to_a.length
13 assert_equal 3, Psych.parse_stream(yaml).each.map { |x| x }.length
17 assert_equal 3, calls('--- hello').length
21 assert_equal 4, calls("---\n- hello").length
25 assert_equal 5, calls("---\nhello: world").length
29 assert_equal 5, calls("--- &yay\n- foo\n- *yay\n").length
/macosx-10.10.1/tcl-105/tcl_ext/quicktimetcl/quicktimetcl/
H A DosxMacTcl.h9 OSErr FSpLocationFromPath (int length, CONST84 char *path, FSSpecPtr fileSpecPtr);
11 OSErr FSpPathFromLocation (FSSpecPtr spec, int* length, Handle *fullPath);
20 int DUtfToExternalDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);
23 int DUtfToUtfDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);
26 int ExternalToDUtfDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);
29 int UtfToDUtfDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);
/macosx-10.10.1/tcl-105/tcl_ext/tclae/tclae/generic/
H A DosxMacTcl.h13 OSErr FSpLocationFromPath (int length, CONST84 char *path, FSRefPtr fileRefPtr);
15 OSErr FSpPathFromLocation (FSRefPtr fsrefP, int* length, Handle *fullPath);
24 int DUtfToExternalDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);
27 int DUtfToUtfDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);
30 int ExternalToDUtfDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);
33 int UtfToDUtfDString(Tcl_Interp * interp, CONST84 char * src, int length, Tcl_DString * dsPtr);

Completed in 203 milliseconds

1234567891011>>