HomeSort by relevance Sort by last modified time
    Searched refs:length (Results 151 - 175 of 19404) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
gas-parse-intel.c 52 size_t length; local
65 length = 0;
66 while (&stok[length] < slim && stok[length] != '\n') {
67 length++;
70 if (&stok[length] == slim && parser_gas->line) {
71 line = yasm_xmalloc(length + parser_gas->lineleft + 1);
72 memcpy(line, parser_gas->s.tok, length);
73 memcpy(line + length, parser_gas->linepos, parser_gas->lineleft);
74 length += parser_gas->lineleft
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
CharSequences.java 36 public int length() { method in class:CharSequences
37 return bytes.length;
59 * is greater than length(), or if start is greater than end
63 validate(start, end, bytes.length);
69 public int length() {
76 validate(newStart, newEnd, length());
81 return new String(bytes, start, length());
86 static void validate(int start, int end, int length) {
89 if (end > length) throw new IndexOutOfBoundsException();
97 if (a.length() != b.length())
    [all...]
  /bootable/recovery/minzip/
SysUtil.c 28 * Create an anonymous shared memory segment large enough to hold "length"
32 static void* sysCreateAnonShmem(size_t length)
36 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE,
39 LOGW("mmap(%d, RW, SHARED|ANON) failed: %s\n", (int) length,
50 size_t length; local
60 LOGE("could not determine length of file\n");
64 length = end - start;
65 if (length == 0) {
71 *length_ = length;
80 * We need to know the length ahead of time so we can allocate a segmen
86 size_t length, actual; local
121 size_t length; local
    [all...]
  /external/chromium_org/content/child/npapi/
plugin_string_stream.cc 28 int length = static_cast<int>(data.length()); local
29 if (Open(mime_type, std::string(), length, 0, false)) {
31 int written = Write(data.c_str(), length, 0);
32 NPReason reason = written == length ? NPRES_DONE : NPRES_NETWORK_ERR;
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLEntityParser.h 40 DecodedHTMLEntity() : length(0) { }
42 bool isEmpty() const { return !length; }
46 RELEASE_ASSERT(length < kMaxLength);
47 data[length++] = c;
60 unsigned length;
  /external/chromium_org/third_party/WebKit/public/web/
WebTextCheckingResult.h 49 , length(0)
54 WebTextCheckingResult(WebTextDecorationType decoration, int location, int length, const WebString& replacement = WebString(), uint32_t hash = 0)
57 , length(length)
69 int length; member in struct:blink::WebTextCheckingResult
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Platform.java 34 Object[] src, int srcPos, Object[] dest, int destPos, int length) {
35 for (int i = 0; i < length; i++) {
40 static <T> T[] newArray(Class<T> type, int length) {
45 static <T> T[] newArray(T[] reference, int length) {
46 return GwtPlatform.newArray(reference, length);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
CharCache.java 33 int available = cache.length - pos;
34 int toWrite = chars.length < available ? chars.length : available;
48 if (pos < cache.length - 1) {
54 public int length() {
  /frameworks/base/core/java/android/bluetooth/
BluetoothInputStream.java 69 * Reads at most {@code length} bytes from this stream and stores them in
77 * @param length
82 * if {@code offset < 0} or {@code length < 0}, or if
83 * {@code offset + length} is greater than the length of
89 public int read(byte[] b, int offset, int length) throws IOException {
93 if ((offset | length) < 0 || length > b.length - offset) {
94 throw new ArrayIndexOutOfBoundsException("invalid offset or length");
    [all...]
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
Chunk.java 25 * The "offset" and "length" fields are present so handlers can over-allocate
35 public int offset, length; // position within "data" field in class:Chunk
45 public Chunk(int type, byte[] data, int offset, int length) {
49 this.length = length;
61 this.length = buf.position();
  /libcore/luni/src/main/java/java/nio/charset/
CoderResult.java 34 * calling <code>CoderResult.malformedForLength(int)</code> with the length of
71 * length
77 * certain length
84 // the length of the erroneous input
85 private final int length; field in class:CoderResult
92 * @param length
93 * the length of the erroneous input
95 private CoderResult(int type, int length) {
97 this.length = length;
198 public int length() throws UnsupportedOperationException { method in class:CoderResult
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
char16_t_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 8) == 8);
29 assert(f.length(mbs, from, from+10, 9) == 9);
30 assert(f.length(mbs, from, from+10, 10) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
char32_t_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 8) == 8);
29 assert(f.length(mbs, from, from+10, 9) == 9);
30 assert(f.length(mbs, from, from+10, 10) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
char_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 9) == 9);
29 assert(f.length(mbs, from, from+10, 10) == 10);
30 assert(f.length(mbs, from, from+10, 11) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
wchar_t_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 9) == 9);
29 assert(f.length(mbs, from, from+10, 10) == 10);
30 assert(f.length(mbs, from, from+10, 11) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
  /external/chromium_org/v8/test/cctest/
test-fixed-dtoa.cc 45 int length; local
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point));
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point));
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point));
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point));
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point));
68 CHECK(FastFixedDtoa(1e21, 5, buffer, &length, &point));
73 CHECK(FastFixedDtoa(999999999999999868928.00, 2, buffer, &length, &point));
78 &length, &point));
82 CHECK(FastFixedDtoa(1.5, 5, buffer, &length, &point))
496 int length; local
    [all...]
  /external/v8/test/cctest/
test-fixed-dtoa.cc 45 int length; local
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point));
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point));
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point));
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point));
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point));
68 CHECK(FastFixedDtoa(1e21, 5, buffer, &length, &point));
73 CHECK(FastFixedDtoa(999999999999999868928.00, 2, buffer, &length, &point));
78 &length, &point));
82 CHECK(FastFixedDtoa(1.5, 5, buffer, &length, &point))
496 int length; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
AudioChannel.cpp 56 vsmul(data(), 1, &scale, mutableData(), 1, length());
61 bool isSafe = (sourceChannel && sourceChannel->length() >= length());
70 memcpy(mutableData(), sourceChannel->data(), sizeof(float) * length());
76 bool isRangeSafe = sourceChannel && startFrame < endFrame && endFrame <= sourceChannel->length();
86 bool isRangeLengthSafe = rangeLength <= length();
95 if (rangeLength == length())
105 bool isSafe = sourceChannel && sourceChannel->length() >= length();
116 vadd(data(), 1, sourceChannel->data(), 1, mutableData(), 1, length());
    [all...]
  /external/chromium_org/third_party/ots/src/
layout.h 20 const size_t length);
27 const size_t length, const uint16_t lookup_type) const;
30 bool ParseScriptListTable(const uint8_t *data, const size_t length,
33 bool ParseFeatureListTable(const uint8_t *data, const size_t length,
38 const size_t length,
42 bool ParseClassDefTable(const uint8_t *data, size_t length,
46 bool ParseCoverageTable(const uint8_t *data, size_t length,
49 bool ParseDeviceTable(const uint8_t *data, size_t length);
52 bool ParseContextSubtable(const uint8_t *data, const size_t length,
57 bool ParseChainingContextSubtable(const uint8_t *data, const size_t length,
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
growable_memory_byte_array.cc 36 int32_t length) {
38 os->Write(&b_, offset, length);
39 return length;
52 int32_t length) {
53 if ((size_t)index + length >= b_.size()) {
56 b_.resize((size_t)(index + length + 1));
58 std::copy(b + offset, b + offset + length, b_.begin() + index);
59 return length;
69 int32_t length) {
70 memcpy(b + offset, &(b_[0]) + index, length);
    [all...]
  /external/sfntly/cpp/src/sfntly/data/
growable_memory_byte_array.cc 36 int32_t length) {
38 os->Write(&b_, offset, length);
39 return length;
52 int32_t length) {
53 if ((size_t)index + length >= b_.size()) {
56 b_.resize((size_t)(index + length + 1));
58 std::copy(b + offset, b + offset + length, b_.begin() + index);
59 return length;
69 int32_t length) {
70 memcpy(b + offset, &(b_[0]) + index, length);
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
FileUtils.java 74 * @param length the number of bytes to read, or -1 to read to the
78 public static byte[] readFile(File file, int offset, int length)
92 long longLength = file.length();
98 if (length == -1) {
99 length = fileLength - offset;
102 if (offset + length > fileLength) {
117 byte[] result = readStream(in, length);
124 public static byte[] readStream(InputStream in, int length)
126 byte[] result = new byte[length];
129 while (length > 0)
    [all...]
  /external/tcpdump/
print-null.c 68 null_hdr_print(u_int family, u_int length)
78 (void)printf(", length %u: ", length);
84 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
90 u_int length = h->len; local
113 null_hdr_print(family, length);
115 length -= NULL_HDRLEN;
122 ip_print(gndo, p, length);
129 ip6_print(p, length);
134 isoclns_print(p, length, caplen)
    [all...]
  /libcore/luni/src/main/java/java/io/
BufferedOutputStream.java 106 * @param length
110 * if {@code offset < 0} or {@code length < 0}, or if
111 * {@code offset + length} is greater than the size of
121 public synchronized void write(byte[] buffer, int offset, int length) throws IOException {
129 if (length >= internalBuffer.length) {
131 out.write(buffer, offset, length);
135 Arrays.checkOffsetAndCount(buffer.length, offset, length);
138 if (length > (internalBuffer.length - count))
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
CharSequenceReader.java 79 if (idx >= charSequence.length()) {
91 * @param length The maximum number of characters to read
95 public int read(char[] array, int offset, int length) {
96 if (idx >= charSequence.length()) {
102 if (length < 0 || (offset + length) > array.length) {
103 throw new IndexOutOfBoundsException("Array Size=" + array.length +
104 ", offset=" + offset + ", length=" + length);
    [all...]

Completed in 423 milliseconds

1 2 3 4 5 67 8 91011>>