HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 51 - 75 of 13129) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
UVector32.java 25 public int elementAti(int i) { return buffer[i]; }
26 public int[] getBuffer() { return buffer; }
29 buffer[length++] = e;
31 public void setElementAt(int elem, int index) { buffer[index] = elem; }
34 System.arraycopy(buffer, index, buffer, index + 1, length - index);
35 buffer[index] = elem;
43 if(length >= buffer.length) {
44 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length
50 private int[] buffer = new int[32]; field in class:UVector32
    [all...]
UVector64.java 25 public long elementAti(int i) { return buffer[i]; }
26 public long[] getBuffer() { return buffer; }
29 buffer[length++] = e;
31 public void setElementAt(long elem, int index) { buffer[index] = elem; }
34 System.arraycopy(buffer, index, buffer, index + 1, length - index);
35 buffer[index] = elem;
43 if(length >= buffer.length) {
44 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length
50 private long[] buffer = new long[32]; field in class:UVector64
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
UVector32.java 21 public int elementAti(int i) { return buffer[i]; }
22 public int[] getBuffer() { return buffer; }
25 buffer[length++] = e;
27 public void setElementAt(int elem, int index) { buffer[index] = elem; }
30 System.arraycopy(buffer, index, buffer, index + 1, length - index);
31 buffer[index] = elem;
39 if(length >= buffer.length) {
40 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length
46 private int[] buffer = new int[32]; field in class:UVector32
    [all...]
UVector64.java 21 public long elementAti(int i) { return buffer[i]; }
22 public long[] getBuffer() { return buffer; }
25 buffer[length++] = e;
27 public void setElementAt(long elem, int index) { buffer[index] = elem; }
30 System.arraycopy(buffer, index, buffer, index + 1, length - index);
31 buffer[index] = elem;
39 if(length >= buffer.length) {
40 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length
46 private long[] buffer = new long[32]; field in class:UVector64
    [all...]
  /frameworks/compile/mclinker/unittests/
LEB128Test.cpp 42 leb128::ByteType buffer[2]; local
46 result = buffer;
48 ASSERT_EQ(buffer[0], 2);
49 ASSERT_EQ(result, buffer + 1);
52 result = buffer;
54 ASSERT_EQ(buffer[0], 127);
55 ASSERT_EQ(result, buffer + 1);
58 result = buffer;
60 ASSERT_EQ(buffer[0], 0 + 0x80);
61 ASSERT_EQ(buffer[1], 1)
88 leb128::ByteType buffer[2]; local
134 leb128::ByteType buffer[2]; local
194 leb128::ByteType buffer[2]; local
229 leb128::ByteType buffer[2]; local
295 leb128::ByteType buffer[5]; local
412 leb128::ByteType buffer[5]; local
454 leb128::ByteType buffer[9]; local
494 leb128::ByteType buffer[5]; local
510 char buffer[5]; local
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
UnsafeByteOperations.java 39 * potentially expose the backing buffer of a {@link ByteString} to the application.
42 * guaranteed that the buffer backing the {@link ByteString} will never change! Mutation of a
51 * An unsafe operation that returns a {@link ByteString} that is backed by the provided buffer.
53 * @param buffer the Java NIO buffer to be wrapped
54 * @return a {@link ByteString} backed by the provided buffer
56 public static ByteString unsafeWrap(ByteBuffer buffer) {
57 if (buffer.hasArray()) {
58 final int offset = buffer.arrayOffset();
59 return ByteString.wrap(buffer.array(), offset + buffer.position(), buffer.remaining())
    [all...]
  /external/e2fsprogs/ext2ed/
ext2_com.c 36 char buffer [80]; local
39 sprintf (buffer,"setoffset %ld",file_system_info.super_block_offset);dispatch (buffer);
40 sprintf (buffer,"settype ext2_super_block");dispatch (buffer);
54 char temp [80],buffer [80],*ptr; local
56 ptr=parse_word (command_line,buffer);
60 ptr=parse_word (ptr,buffer);
62 if (buffer [0] != '/') {
69 if (buffer [1] != 0)
86 char *ptr,buffer [80]; local
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
ByteBuffer.java 20 * Byte buffer container including length of valid data.
27 private byte[] buffer; field in class:ByteBuffer
35 * @param initialCapacity the initial capacity for this buffer
39 this.buffer = new byte[initialCapacity];
45 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>.
47 public ByteBuffer(byte[] buffer)
49 this.buffer = buffer;
50 this.length = buffer.length;
55 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>
    [all...]
  /external/flatbuffers/tests/FlatBuffers.Test/
ByteBufferTests.cs 28 var buffer = new byte[1000];
29 var uut = new ByteBuffer(buffer);
30 Assert.AreEqual(buffer.Length, uut.Length);
36 var buffer = new byte[1];
37 var uut = new ByteBuffer(buffer);
40 Assert.AreEqual((byte)99, buffer[0]);
47 var buffer = new byte[1];
48 var uut = new ByteBuffer(buffer);
56 var buffer = new byte[2];
57 var uut = new ByteBuffer(buffer);
    [all...]
  /external/easymock/src/org/easymock/internal/
ArgumentToString.java 27 public static void appendArgument(Object value, StringBuffer buffer) {
29 buffer.append("null");
31 buffer.append("\"");
32 buffer.append(value);
33 buffer.append("\"");
35 buffer.append("'");
36 buffer.append(value);
37 buffer.append("'");
39 buffer.append("[");
42 buffer.append(", ");
44 appendArgument(Array.get(value, i), buffer); local
    [all...]
  /external/elfutils/libasm/
disasm_str.c 38 struct buffer struct
48 struct buffer *buffer = (struct buffer *) arg; local
50 if (len > buffer->len)
52 return len - buffer->len;
54 buffer->buf = mempcpy (buffer->buf, str, len);
55 buffer->len = len;
66 struct buffer buffer = { .buf = *bufp, .len = len } local
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-normalize.cc 98 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph)
100 buffer->cur().glyph_index() = glyph;
101 buffer->output_glyph (unichar); /* This is very confusing indeed. */
102 _hb_glyph_info_set_unicode_props (&buffer->prev(), buffer);
106 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph)
108 buffer->cur().glyph_index() = glyph;
109 buffer->next_glyph ();
113 skip_char (hb_buffer_t *buffer)
115 buffer->skip_glyph ()
123 hb_buffer_t * const buffer = c->buffer; local
165 hb_buffer_t * const buffer = c->buffer; local
219 hb_buffer_t * const buffer = c->buffer; local
256 hb_buffer_t * const buffer = c->buffer; local
    [all...]
  /external/compiler-rt/test/safestack/
pthread-cleanup.c 14 char buffer[kBufferSize]; local
15 return buffer;
21 char *buffer = NULL; local
25 if (pthread_join(t1, &buffer))
29 memset(buffer, 0, kBufferSize);
  /frameworks/wilhelm/src/
interfaces.cpp 136 void MPH_to_MPH_string(unsigned MPH, char buffer[40])
141 strcpy(buffer, "MPH");
142 strcpy(&buffer[3], infix);
143 strcat(buffer, "_");
144 strcat(buffer, interface_names[MPH]);
  /external/pdfium/core/fxcodec/codec/
fx_codec_jpx_unittest.cpp 46 unsigned char buffer[16]; local
50 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, sizeof(buffer), ptr));
51 EXPECT_EQ(kWriteError, opj_write_from_memory(buffer, sizeof(buffer), ptr));
58 unsigned char buffer[16]; local
61 memset(buffer, 0xbd, sizeof(buffer));
62 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, 0, &dd));
63 EXPECT_EQ(0xbd, buffer[0])
91 unsigned char buffer[16]; local
123 unsigned char buffer[16]; local
174 unsigned char buffer[16]; local
316 unsigned char buffer[16]; local
433 unsigned char buffer[16]; local
    [all...]
  /external/syslinux/com32/hdt/
hdt-menu-about.c 34 char buffer[SUBMENULEN + 1]; local
42 snprintf(buffer, sizeof buffer, "Product : %s", PRODUCT_NAME);
44 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
47 snprintf(buffer, sizeof buffer, "Version : %s (%s)", VERSION,
51 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
54 snprintf(buffer, sizeof buffer, "Website : %s", WEBSITE_URL);
56 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0)
    [all...]
  /packages/apps/TV/src/com/android/tv/tuner/util/
StatusTextUtils.java 46 StringBuffer buffer = new StringBuffer(); local
58 buffer.append(String.format(Locale.US, "<font color=%s>", audioPositionColor));
59 buffer.append(
62 buffer.append("</font>\n");
63 buffer.append("<font color=" + COLOR_GRAY + ">");
64 buffer.append(String.format(Locale.US, "audioPtsMs: %d (%d, %d)<br>", audioPtsUs / 1000,
66 buffer.append(String.format(Locale.US, "videoPtsMs: %d (%d, %d)<br>", videoPtsUs / 1000,
68 buffer.append("</font>\n");
70 appendStatusLine(buffer, "KbytesInQueue", bytesInQueue / 1000, 1, 10);
71 buffer.append("<br/>")
    [all...]
  /external/compiler-rt/test/asan/TestCases/Posix/
new_array_cookie_test.cc 17 C *buffer = new C[argc]; local
18 buffer[-2].x = 10;
19 // CHECK: AddressSanitizer: heap-buffer-overflow
23 delete [] buffer;
  /hardware/intel/common/libva/va/
sysdeps.h 51 # define va_log_error(buffer) do { ALOGE("%s", buffer); } while (0)
52 # define va_log_info(buffer) do { ALOGI("%s", buffer); } while (0)
54 # define va_log_error(buffer) do { LOGE("%s", buffer); } while (0)
55 # define va_log_info(buffer) do { LOGI("%s", buffer); } while (0)
60 #define va_log_error(buffer) do { \
61 fprintf(stderr, "libva error: %s", buffer); \
    [all...]
  /external/syslinux/com32/gpllib/disk/
mbrs.c 20 * @buffer: pre-allocated buffer
21 * @buffer_size: @buffer size
23 void get_mbr_string(const uint32_t label, char *buffer, const int buffer_size)
31 strlcpy(buffer, "No bootloader", buffer_size - 1);
34 strlcpy(buffer, "ThinkPad", buffer_size - 1);
37 strlcpy(buffer, "Acer 3", buffer_size - 1);
42 strlcpy(buffer, "Windows", buffer_size - 1);
44 strlcpy(buffer, "DiskCryptor", buffer_size - 1);
46 strlcpy(buffer, "Syslinux", buffer_size - 1)
    [all...]
  /external/google-breakpad/src/common/solaris/
message_output.h 43 char buffer[MESSAGE_MAX]; \
44 int len = snprintf(buffer, MESSAGE_MAX, message); \
45 write(std, buffer, len)
48 char buffer[MESSAGE_MAX]; \
49 int len = snprintf(buffer, MESSAGE_MAX, message, para); \
50 write(std, buffer, len);
  /external/llvm/utils/
DSAclean.py 21 buffer = input.readline() variable
22 while buffer != '':
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
25 buffer = input.readline() variable
28 output.write(buffer)
30 buffer = input.readline() variable
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_buffer.h 42 vmw_pb_buffer(struct svga_winsys_buffer *buffer)
44 assert(buffer);
45 return (struct pb_buffer *)buffer;
50 vmw_svga_winsys_buffer(struct pb_buffer *buffer)
52 assert(buffer);
53 return (struct svga_winsys_buffer *)buffer;
  /external/swiftshader/third_party/LLVM/utils/
DSAclean.py 21 buffer = input.readline() variable
22 while buffer != '':
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
25 buffer = input.readline() variable
28 output.write(buffer)
30 buffer = input.readline() variable
  /external/compiler-rt/test/asan/TestCases/Windows/
dll_noreturn.cc 9 char buffer[42]; local
10 buffer[subscript] = 42;
12 // CHECK: AddressSanitizer: stack-buffer-underflow on address [[ADDR:0x[0-9a-f]+]]
20 // CHECK: 'buffer' <== Memory access at offset [[OFFSET]] underflows this variable

Completed in 1505 milliseconds

1 23 4 5 6 7 8 91011>>