Searched refs:length (Results 51 - 75 of 7895) sorted by relevance

1234567891011>>

/macosx-10.10.1/xnu-2782.1.97/libsyscall/mach/
H A Dstring.c47 _mach_hex(char **buffer, int *length, unsigned long long n) argument
60 while (width > 0 && length > 0) {
62 (*length)--;
69 _mach_vsnprintf(char *buffer, int length, const char *fmt, va_list ap) argument
71 int width, max = length;
75 length--;
76 while (length > 0 && *fmt) {
82 length--;
93 while (width > 0 && length > 0) {
96 length
112 _mach_snprintf(char *buffer, int length, const char *fmt, ...) argument
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/trf/trf/generic/
H A Dutil.c49 * 'length' must be in the range 1, ..., 3.
63 TrfSplit3to4 (in, out, length)
66 int length;
68 if (length == 3) {
75 memcpy (buf, in, length);
79 switch (length) {
92 Tcl_Panic ("illegal length given to TrfSplit3to4");
166 TrfApplyEncoding (buf, length, map)
168 int length;
173 for (i=0; i < length;
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/stress/
H A Dfold-typed-array-properties.js3 if (a.length != 1)
4 throw "Error: bad length: " + a.length;
8 throw "Error: bad byte length: " + a.byteLength;
11 if (a.length != 1)
12 throw "Error: bad length: " + a.length;
16 throw "Error: bad byte length: " + a.byteLength;
34 if (a.length != 0)
35 throw "Error: bad length
[all...]
H A Druntime-array.js5 if (result.length != 3)
6 throw new Error("Runtime array length is incorrect");
7 for (var i = 0; i < result.length; i++) {
/macosx-10.10.1/WTF-7600.1.24/wtf/unicode/
H A DCollatorDefault.cpp38 unsigned commonLength = std::min(a.length(), b.length());
46 if (a.length() < b.length())
48 if (a.length() > b.length())
/macosx-10.10.1/WebKit2-7600.1.25/Platform/IPC/
H A DArgumentCoders.cpp58 uint32_t length = string.length(); local
59 encoder << length; local
60 encoder.encodeFixedLengthData(reinterpret_cast<const uint8_t*>(string.data()), length, 1); local
65 uint32_t length; local
66 if (!decoder.decode(length))
69 if (length == std::numeric_limits<uint32_t>::max()) {
76 if (!decoder.bufferIsLargeEnoughToContain<char>(length)) {
82 CString string = CString::newUninitialized(length, buffer);
83 if (!decoder.decodeFixedLengthData(reinterpret_cast<uint8_t*>(buffer), length,
99 uint32_t length = string.length(); local
111 decodeStringText(ArgumentDecoder& decoder, uint32_t length, String& result) argument
130 uint32_t length; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/clib/
H A Dmemmove.c64 memcpy(dst0, src0, length)
73 memmove(dst0, src0, length)
76 bcopy(src0, dst0, length)
81 register size_t length;
87 if (length == 0 || dst == src) /* nothing to do */
108 if ((t ^ (size_t)dst) & wmask || length < wsize)
109 t = length;
112 length -= t;
118 t = length / wsize;
120 t = length
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Array/
H A D15.4.1.2.js52 array[item++] = new TestCase( SECTION, "(Array()).length", 0, (Array()).length );
53 array[item++] = new TestCase( SECTION, "(Array(0)).length", 0, (Array(0)).length );
54 array[item++] = new TestCase( SECTION, "(Array(1)).length", 1, (Array(1)).length );
55 array[item++] = new TestCase( SECTION, "(Array(10)).length", 10, (Array(10)).length );
56 array[item++] = new TestCase( SECTION, "(Array('1')).length", 1, (Array('1')).length );
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/util/
H A DFastInputStream.java41 len = buffer.length;
51 * @param length the number of bytes to read.
53 public FastInputStream(byte[] buffer, int offset, int length) { argument
57 len = offset + length;
99 return readFast(toBuf, 0, toBuf.length);
102 public int read(byte[] toBuf, int offset, int length) throws IOException { argument
104 return readFast(toBuf, offset, length);
136 return readFast(toBuf, 0, toBuf.length);
144 public final int readFast(byte[] toBuf, int offset, int length) { argument
150 if (length > avai
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/asn1/
H A Dder_copy.c88 to->length = from->length;
89 to->data = malloc(to->length + 1);
92 memcpy(to->data, from->data, to->length);
93 ((char *)to->data)[to->length] = '\0';
107 to->length = from->length;
108 to->data = malloc(to->length * sizeof(to->data[0]));
109 if(to->length != 0 && to->data == NULL)
111 memcpy(to->data, from->data, to->length * sizeo
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/builtins/
H A DArray.prototype.js35 var length = array.length >>> 0;
40 var thisArg = arguments.length > 1 ? arguments[1] : undefined;
42 for (var i = 0; i < length; i++) {
61 var length = array.length >>> 0;
66 var thisArg = arguments.length > 1 ? arguments[1] : undefined;
68 for (var i = 0; i < length; i++) {
83 var length = array.length >>>
[all...]
/macosx-10.10.1/OpenSSH-189/osslshim/heimdal-asn1/
H A Dasn1-der_copy.c110 to->length = from->length;
111 to->data = malloc(to->length + 1);
114 memcpy(to->data, from->data, to->length);
115 ((char *)to->data)[to->length] = '\0';
129 to->length = from->length;
130 to->data = malloc(to->length * sizeof(to->data[0]));
131 if(to->length != 0 && to->data == NULL)
133 memcpy(to->data, from->data, to->length * sizeo
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Dbuffers.h55 size_t length() const { return mEnd - mStart; } function in class:Security::Buffer
76 size_t put(const void *data, size_t length) argument
78 if (length > available())
79 length = shuffle(length);
80 memcpy(mEnd, data, length);
81 mEnd += length;
82 return length;
86 template <class T> void locatePut(T * &addr, size_t &length) argument
88 if (length > availabl
93 usePut(size_t length) argument
100 locateGet(T * &addr, size_t &length) argument
107 useGet(size_t length) argument
118 read(IO &io, size_t length) argument
128 write(IO &io, size_t length) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dbuffers.h55 size_t length() const { return mEnd - mStart; } function in class:Security::Buffer
76 size_t put(const void *data, size_t length) argument
78 if (length > available())
79 length = shuffle(length);
80 memcpy(mEnd, data, length);
81 mEnd += length;
82 return length;
86 template <class T> void locatePut(T * &addr, size_t &length) argument
88 if (length > availabl
93 usePut(size_t length) argument
100 locateGet(T * &addr, size_t &length) argument
107 useGet(size_t length) argument
118 read(IO &io, size_t length) argument
128 write(IO &io, size_t length) argument
[all...]
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/plugins/
H A Dgs2_token.c73 * (constructed, definite-length)
74 * <length> possible multiple bytes, need to parse/generate
88 * the sequence tag and length octets, the mech OID DER encoding, and the
94 der_length_size(size_t length) argument
96 if (length < (1<<7))
98 else if (length < (1<<8))
104 else if (length < (1<<16))
106 else if (length < (1<<24))
114 der_write_length(unsigned char **buf, size_t length) argument
116 if (length < (
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dures_cnv.c33 int32_t length; local
43 length=u_strlen(myPath);
44 if(length>=sizeof(pathBuffer)) {
47 } else if(uprv_isInvariantUString(myPath, length)) {
52 u_UCharsToChars(myPath, path, length+1); /* length+1 to include the NUL */
57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status);
62 if(length>=sizeof(pathBuffer)) {
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dutffilter47 my ($mask, $length);
51 $length = 1;
54 $length = 2;
57 $length = 3;
60 $length = 4;
63 $length = 5;
66 $length = 6;
72 $offset = 6 * ($length - 1);
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/
H A Dbufferlist.c33 unsigned int length; local
37 length = 0;
41 length += isc_buffer_usedlength(buffer);
45 return (length);
51 unsigned int length; local
55 length = 0;
59 length += isc_buffer_availablelength(buffer);
63 return (length);
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/
H A Dmemchr.c7 @var{c}, or after @var{length} characters; in particular, a null
9 found within @var{length} characters of @code{*@var{s}}, a pointer
21 memchr (register const PTR src_void, int c, size_t length) argument
25 while (length-- > 0)
H A Dmemcpy.c6 @deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, size_t @var{length})
8 Copies @var{length} bytes from memory region @var{in} to region
21 memcpy (PTR out, const PTR in, size_t length) argument
23 bcopy(in, out, length);
/macosx-10.10.1/emacs-93/
H A Dversion.rb2 if ARGV.length < 1 then
/macosx-10.10.1/ntp-92/lib/isc/
H A Dbufferlist.c33 unsigned int length; local
37 length = 0;
41 length += isc_buffer_usedlength(buffer);
45 return (length);
51 unsigned int length; local
55 length = 0;
59 length += isc_buffer_availablelength(buffer);
63 return (length);
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-beep.c33 /* Check for a string but not go beyond length
52 beep_print(const u_char *bp, u_int length) argument
55 if (l_strnstart("MSG", 4, (const char *)bp, length)) /* A REQuest */
57 else if (l_strnstart("RPY ", 4, (const char *)bp, length))
59 else if (l_strnstart("ERR ", 4, (const char *)bp, length))
61 else if (l_strnstart("ANS ", 4, (const char *)bp, length))
63 else if (l_strnstart("NUL ", 4, (const char *)bp, length))
65 else if (l_strnstart("SEQ ", 4, (const char *)bp, length))
67 else if (l_strnstart("END", 4, (const char *)bp, length))
/macosx-10.10.1/xnu-2782.1.97/tools/tests/perf_index/
H A Dperfindex-fault.c9 return test_fault_helper(thread_id, num_threads, length, TESTFAULT);
H A Dperfindex-zfod.c9 return test_fault_helper(thread_id, num_threads, length, TESTZFOD);

Completed in 385 milliseconds

1234567891011>>