HomeSort by relevance Sort by last modified time
    Searched refs:length (Results 1 - 25 of 19010) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
ftruncate.c 8 int ftruncate(int fd, off_t length) {
9 return ki_ftruncate(fd, length);
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeInputStream.java 28 public FakeInputStream(long length) {
29 mRemaining = length;
44 public int read(byte[] buffer, int offset, int length) {
45 Arrays.checkOffsetAndCount(buffer.length, offset, length);
47 if (length > mRemaining) {
48 length = (int) mRemaining;
50 mRemaining -= length;
52 if (length == 0) {
55 return length;
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.acc/
length.pass.cpp 14 // difference_type length(size_type sub = 0) const;
25 assert(m.length() == m[0].length());
26 assert(m.length(0) == m[0].length());
27 assert(m.length(1) == m[1].length());
28 assert(m.length(2) == m[2].length());
29 assert(m.length(3) == m[3].length())
    [all...]
  /external/chromium_org/base/strings/
latin1_string_conversions.cc 9 string16 Latin1OrUTF16ToUTF16(size_t length,
12 if (!length)
15 return string16(latin1, latin1 + length);
16 return string16(utf16, utf16 + length);
  /external/bison/lib/
basename.c 31 size_t length; local
39 length = base_len (base);
40 if (ISSLASH (base[length]))
41 length++;
48 char *p = xmalloc (length + 3);
51 memcpy (p + 2, base, length);
52 p[length + 2] = '\0';
57 return xstrndup (base, length);
dirname-lgpl.c 26 /* Return the length of the prefix of FILE that will be used by
35 size_t length; local
48 for (length = last_component (file) - file;
49 prefix_length < length; length--)
50 if (! ISSLASH (file[length - 1]))
52 return length;
73 size_t length = dir_len (file); local
74 bool append_dot = (length == 0
76 && length == FILE_SYSTEM_PREFIX_LEN (file
    [all...]
  /external/chromium_org/crypto/
random.cc 11 void RandBytes(void *bytes, size_t length) {
15 base::RandBytes(bytes, length);
  /external/emma/core/java12/com/vladium/util/
ByteArrayIStream.java 31 this (buf, buf.length);
34 public ByteArrayIStream (final byte [] buf, final int length)
36 if ($assert.ENABLED) $assert.ASSERT ((length >= 0) && (length <= buf.length),
37 "invalid length: " + length);
40 m_max = length;
53 public final int read (final byte [] buf, final int offset, int length)
56 $assert.ASSERT ((offset >= 0) && (offset <= buf.length) &
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
ByteBuffer.java 20 * Byte buffer container including length of valid data.
29 private int length; field in class:ByteBuffer
40 this.length = 0;
50 this.length = buffer.length;
56 * @param length the length of valid bytes in the array
58 public ByteBuffer(byte[] buffer, int length)
60 if (length > buffer.length)
128 public int length() method in class:ByteBuffer
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
dirname.c 26 /* Return the length of the prefix of FILE that will be used by
35 size_t length; local
48 for (length = last_component (file) - file;
49 prefix_length < length; length--)
50 if (! ISSLASH (file[length - 1]))
52 return length;
73 size_t length = dir_len (file); local
74 bool append_dot = (length == 0
76 && length == FILE_SYSTEM_PREFIX_LEN (file
    [all...]
  /external/webrtc/src/common_audio/signal_processing/
copy_set_operations.c 31 void WebRtcSpl_MemSetW16(WebRtc_Word16 *ptr, WebRtc_Word16 set_value, int length)
36 for (j = length; j > 0; j--)
42 void WebRtcSpl_MemSetW32(WebRtc_Word32 *ptr, WebRtc_Word32 set_value, int length)
47 for (j = length; j > 0; j--)
53 void WebRtcSpl_MemCpyReversedOrder(WebRtc_Word16* dest, WebRtc_Word16* source, int length)
59 for (j = 0; j < length; j++)
66 WebRtc_Word16 length,
71 WEBRTC_SPL_MEMCPY_W16(vector_out, &vector_in[length - samples], samples);
76 WebRtc_Word16 WebRtcSpl_ZerosArrayW16(WebRtc_Word16 *vector, WebRtc_Word16 length)
78 WebRtcSpl_MemSetW16(vector, 0, length);
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/
DalvikLogging.java 38 int length = loggerName.length(); local
39 if (length <= 23) {
44 return length - (lastPeriod + 1) <= 23
46 : loggerName.substring(loggerName.length() - 23);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
length.pass.cpp 14 // static size_t length(const char_type* s);
21 assert(std::char_traits<char>::length("") == 0);
22 assert(std::char_traits<char>::length("a") == 1);
23 assert(std::char_traits<char>::length("aa") == 2);
24 assert(std::char_traits<char>::length("aaa") == 3);
25 assert(std::char_traits<char>::length("aaaa") == 4);
  /libcore/crypto/src/main/java/org/conscrypt/
ClientKeyExchange.java 55 length = this.exchange_keys.length;
57 length += 2;
70 exchange_keys = new byte[bb.length-1];
71 System.arraycopy(bb, 1, exchange_keys, 0, exchange_keys.length);
75 length = exchange_keys.length +2;
85 length = 0;
91 * @param length
96 public ClientKeyExchange(HandshakeIODataStream in, int length, boolean isTLS, boolean isRSA
    [all...]
Finished.java 40 length = data.length;
46 * @param length
49 public Finished(HandshakeIODataStream in, int length)
51 if (length == 12 || length == 36) {
52 data = in.read(length);
53 this.length = data.length;
  /external/chromium_org/third_party/WebKit/Source/core/platform/text/
ParserUtilities.h 30 inline bool skipString(const CharType*& ptr, const CharType* end, const CharType* name, int length)
32 if (end - ptr < length)
34 if (memcmp(name, ptr, sizeof(CharType) * length))
36 ptr += length;
40 inline bool skipString(const UChar*& ptr, const UChar* end, const LChar* name, int length)
42 if (end - ptr < length)
44 for (int i = 0; i < length; ++i) {
48 ptr += length;
55 int length = strlen(str); local
56 if (end - ptr < length)
    [all...]
  /external/chromium_org/ui/base/models/
table_model_observer.h 20 virtual void OnItemsChanged(int start, int length) = 0;
23 virtual void OnItemsAdded(int start, int length) = 0;
26 virtual void OnItemsRemoved(int start, int length) = 0;
  /libcore/luni/src/main/java/java/net/
DatagramPacket.java 32 * Length of the data to be sent or size of data that was received via
35 private int length; field in class:DatagramPacket
38 * The last user-supplied length (as opposed to a length set by simply receiving a packet).
39 * This length (unlike 'length') is sticky, and survives until the user sets another length.
52 * {@code length} bytes.
56 * @param length
57 * the length of the data buffer
    [all...]
  /external/chromium_org/rlz/lib/
crc8.h 15 int length,
18 int length,
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
AesKeyGenParams.idl 34 readonly attribute unsigned short length;
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
phash.h 16 unsigned long phash_lookup(const char *k, size_t length,
19 void phash_checksum(const char *k, size_t length, unsigned long *state);
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
BoneAnimation.java 41 public BoneAnimation(String name, float length) {
42 super(name, length);
SpatialAnimation.java 8 public SpatialAnimation(String name, float length) {
9 super(name, length);
  /libcore/luni/src/main/java/java/nio/charset/
Charsets.java 29 public static native byte[] toAsciiBytes(char[] chars, int offset, int length);
35 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length);
41 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length);
47 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) {
48 byte[] result = new byte[length * 2];
49 int end = offset + length;
67 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars);
76 public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/
length.pass.cpp 15 // static std::size_t length(const char_type* p);
22 assert(std::regex_traits<char>::length("") == 0);
23 assert(std::regex_traits<char>::length("1") == 1);
24 assert(std::regex_traits<char>::length("12") == 2);
25 assert(std::regex_traits<char>::length("123") == 3);
27 assert(std::regex_traits<wchar_t>::length(L"") == 0);
28 assert(std::regex_traits<wchar_t>::length(L"1") == 1);
29 assert(std::regex_traits<wchar_t>::length(L"12") == 2);
30 assert(std::regex_traits<wchar_t>::length(L"123") == 3);

Completed in 2195 milliseconds

1 2 3 4 5 6 7 8 91011>>