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

1 23 4 5 6 7 8 91011>>

  /build/tools/fs_config/
fs_config.c 44 char buffer[1024]; local
46 while (fgets(buffer, 1023, stdin) != NULL) {
49 for (i = 0; i < 1024 && buffer[i]; ++i) {
50 switch (buffer[i]) {
52 buffer[i-is_dir] = '\0';
65 fs_config(buffer, is_dir, &uid, &gid, &mode);
66 printf("%s %d %d %o\n", buffer, uid, gid, mode);
  /external/harfbuzz/src/
harfbuzz-buffer-private.h 32 #include "harfbuzz-buffer.h"
39 _hb_buffer_swap( HB_Buffer buffer );
42 _hb_buffer_clear_output( HB_Buffer buffer );
45 _hb_buffer_clear_positions( HB_Buffer buffer );
48 _hb_buffer_add_output_glyphs( HB_Buffer buffer,
56 _hb_buffer_add_output_glyph ( HB_Buffer buffer,
62 _hb_buffer_copy_output_glyph ( HB_Buffer buffer );
65 _hb_buffer_replace_output_glyph ( HB_Buffer buffer,
70 _hb_buffer_allocate_ligid( HB_Buffer buffer );
75 #define IN_GLYPH( pos ) (buffer->in_string[(pos)].gindex
    [all...]
  /external/srtp/crypto/rng/
prng.c 82 v128_t buffer; local
107 /* copy state into buffer */
108 v128_copy(&buffer, &x917_prng.state);
110 /* apply aes to buffer */
111 aes_encrypt(&buffer, x917_prng.key);
114 *dest++ = buffer.v8[0];
115 *dest++ = buffer.v8[1];
116 *dest++ = buffer.v8[2];
117 *dest++ = buffer.v8[3];
118 *dest++ = buffer.v8[4]
    [all...]
  /system/core/libcutils/
buffer.h 18 * Byte buffer utilities.
31 * Byte buffer of known size. Keeps track of how much data has been read
32 * into or written out of the buffer.
46 /** Actual # of bytes in the buffer. */
49 /** Amount of memory allocated for this buffer. */
51 } Buffer;
54 * Returns true if all data has been read into the buffer.
56 #define bufferReadComplete(buffer) (buffer->expected == buffer->size
    [all...]
  /external/apache-http/src/org/apache/http/message/
BufferedHeader.java 57 * The buffer containing the entire header line.
59 private final CharArrayBuffer buffer; field in class:BufferedHeader
62 * The beginning of the header value in the buffer
68 * Creates a new header from a buffer.
72 * @param buffer the buffer containing the header to represent
76 public BufferedHeader(final CharArrayBuffer buffer)
80 if (buffer == null) {
82 ("Char array buffer may not be null");
84 int colon = buffer.indexOf(':')
    [all...]
ParserCursor.java 91 CharArrayBuffer buffer = new CharArrayBuffer(16); local
92 buffer.append('[');
93 buffer.append(Integer.toString(this.lowerBound));
94 buffer.append('>');
95 buffer.append(Integer.toString(this.pos));
96 buffer.append('>');
97 buffer.append(Integer.toString(this.upperBound));
98 buffer.append(']');
99 return buffer.toString();
  /external/stlport/test/eh/
test_algobase.cpp 43 void operator()( TestClass* buffer ) const
45 EH_STD::uninitialized_copy((TestClass*)stuff, (TestClass*)end_of_stuff, buffer );
46 EH_ASSERT( EH_STD::equal( (TestClass*)stuff, (TestClass*)end_of_stuff, buffer ) );
47 stl_destroy( buffer, buffer+kBufferSize );
61 void operator()( TestClass* buffer ) const
63 TestClass* buf_end = buffer + kBufferSize;
64 EH_STD::uninitialized_fill( buffer, buf_end, testValue );
66 EH_ASSERT( buffer[i] == testValue );
67 stl_destroy( buffer, buf_end )
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
HttpHeaderTest.java 54 CharArrayBuffer buffer = new CharArrayBuffer(64); local
56 buffer.append(CACHE_CONTROL_MAX_AGE);
57 h.parseHeader(buffer);
59 buffer.clear();
60 buffer.append(LAST_MODIFIED);
61 h.parseHeader(buffer);
64 buffer.clear();
65 buffer.append(CACHE_CONTROL_PRIVATE);
66 h.parseHeader(buffer);
86 CharArrayBuffer buffer = new CharArrayBuffer(64) local
    [all...]
  /frameworks/base/core/java/android/text/method/
ScrollingMovementMethod.java 25 * A movement method that interprets movement keys by scrolling the text buffer.
29 protected boolean left(TextView widget, Spannable buffer) {
30 return scrollLeft(widget, buffer, 1);
34 protected boolean right(TextView widget, Spannable buffer) {
35 return scrollRight(widget, buffer, 1);
39 protected boolean up(TextView widget, Spannable buffer) {
40 return scrollUp(widget, buffer, 1);
44 protected boolean down(TextView widget, Spannable buffer) {
45 return scrollDown(widget, buffer, 1);
49 protected boolean pageUp(TextView widget, Spannable buffer) {
    [all...]
  /system/netd/
IdletimerController.cpp 126 char *buffer; local
135 asprintf(&buffer, "%s %s", IPTABLES_PATH, cmd);
136 res = system_nosh(buffer);
137 ALOGV("%s #%d", buffer, res);
138 free(buffer);
149 char *buffer; local
150 asprintf(&buffer, "-t raw -F %s", LOCAL_RAW_PREROUTING);
151 res = runIpxtablesCmd(buffer);
152 free(buffer);
157 asprintf(&buffer, "-t mangle -F %s", LOCAL_MANGLE_POSTROUTING)
177 char *buffer; local
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/util/
RingBuffer.java 7 * Ring buffer (fixed size queue) implementation using a circular array (array
14 private T[] buffer; // queue elements field in class:RingBuffer
21 buffer = (T[]) new Object[capacity];
33 if (count == buffer.length) {
34 throw new RuntimeException("Ring buffer overflow");
36 buffer[indexIn] = item;
37 indexIn = (indexIn + 1) % buffer.length; // wrap-around
43 throw new RuntimeException("Ring buffer underflow");
45 T item = buffer[indexOut];
46 buffer[indexOut] = null; // to help with garbage collectio
    [all...]
  /external/llvm/lib/Support/
Errno.cpp 40 char buffer[MaxErrStrLen]; local
41 buffer[0] = '\0';
42 char* str = buffer;
48 // which may not use the buffer supplied.
49 str = strerror_r(errnum,buffer,MaxErrStrLen-1);
51 strerror_r(errnum,buffer,MaxErrStrLen-1);
55 strerror_s(buffer, MaxErrStrLen - 1, errnum);
58 // the buffer as fast as possible to minimize impact
61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1);
62 buffer[MaxErrStrLen-1] = '\0'
    [all...]
  /external/protobuf/src/google/protobuf/io/
printer_unittest.cc 50 // where particular writes cross a buffer boundary and cases where they do
54 char buffer[8192]; local
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size);
62 char buffer[8192]; local
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size);
77 buffer[output.ByteCount()] = '\0';
82 buffer);
87 char buffer[8192] local
115 char buffer[8192]; local
151 char buffer[8192]; local
172 char buffer[8192]; local
225 char buffer[8192]; local
237 char buffer[16]; local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
SIPHeader.java 98 StringBuffer buffer = new StringBuffer(encodedHdr); local
99 while (buffer.length() > 0 && buffer.charAt(0) != ':') {
100 buffer.deleteCharAt(0);
102 if (buffer.length() > 0)
103 buffer.deleteCharAt(0);
104 return buffer.toString().trim();
121 public StringBuffer encode(StringBuffer buffer) {
122 buffer.append(this.headerName).append(COLON).append(SP);
123 this.encodeBody(buffer);
    [all...]
  /external/webkit/Source/WebCore/platform/cf/
KURLCFNet.cpp 44 Vector<char, 512> buffer(bytesLength + 6); // 5 for "file:", 1 for null character to end C string
45 char* bytes = &buffer[5];
53 buffer[0] = 'f';
54 buffer[1] = 'i';
55 buffer[2] = 'l';
56 buffer[3] = 'e';
57 buffer[4] = ':';
59 parse(buffer.data(), 0);
68 Vector<char, 512> buffer; local
69 copyToBuffer(buffer);
    [all...]
  /external/v8/test/cctest/
test-dtoa.cc 61 Vector<char> buffer(buffer_container, kBufferSize);
66 DoubleToAscii(0.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point);
67 CHECK_EQ("0", buffer.start());
70 DoubleToAscii(0.0, DTOA_FIXED, 2, buffer, &sign, &length, &point);
72 CHECK_EQ("0", buffer.start());
75 DoubleToAscii(0.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point);
77 CHECK_EQ("0", buffer.start());
80 DoubleToAscii(1.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point);
81 CHECK_EQ("1", buffer.start());
84 DoubleToAscii(1.0, DTOA_FIXED, 3, buffer, &sign, &length, &point)
    [all...]
test-bignum.cc 52 char buffer[kBufferSize]; local
56 CHECK(bignum.ToHexString(buffer, kBufferSize));
57 CHECK_EQ("0", buffer);
59 CHECK(bignum.ToHexString(buffer, kBufferSize));
60 CHECK_EQ("A", buffer);
62 CHECK(bignum.ToHexString(buffer, kBufferSize));
63 CHECK_EQ("20", buffer);
67 CHECK(bignum.ToHexString(buffer, kBufferSize));
68 CHECK_EQ("0", buffer);
70 CHECK(bignum.ToHexString(buffer, kBufferSize))
121 char buffer[kBufferSize]; local
159 char buffer[kBufferSize]; local
258 char buffer[kBufferSize]; local
348 char buffer[kBufferSize]; local
448 char buffer[kBufferSize]; local
549 char buffer[kBufferSize]; local
650 char buffer[kBufferSize]; local
980 char buffer[kBufferSize]; local
1361 char buffer[kBufferSize]; local
1392 char buffer[kBufferSize]; local
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_printf.cc 31 InternalScopedBuffer<char> buffer(kMaxLen);
34 uptr len = VSNPrintf(buffer.data(), buffer.size(), format, args);
37 buffer.data(), len < buffer.size() ? len : buffer.size() - 1);
  /external/dropbear/
rsa.h 29 #include "buffer.h"
47 void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data,
50 int buf_rsa_verify(buffer * buf, rsa_key *key, const unsigned char* data,
53 int buf_get_rsa_pub_key(buffer* buf, rsa_key *key);
54 int buf_get_rsa_priv_key(buffer* buf, rsa_key *key);
55 void buf_put_rsa_pub_key(buffer* buf, rsa_key *key);
56 void buf_put_rsa_priv_key(buffer* buf, rsa_key *key);
  /external/easymock/src/org/easymock/internal/
ErrorMessage.java 44 public void appendTo(StringBuilder buffer, int matches) {
45 buffer.append("\n ").append(message).append(", actual: ");
48 buffer.append(getActualCount() + 1);
50 buffer.append(getActualCount());
51 buffer.append(" (+1)");
55 buffer.append(getActualCount());
  /frameworks/av/media/libnbaio/
SourceAudioBufferProvider.cpp 48 status_t SourceAudioBufferProvider::getNextBuffer(Buffer *buffer, int64_t pts)
50 ALOG_ASSERT(buffer != NULL && buffer->frameCount > 0 && mGetCount == 0);
54 if (mRemaining < buffer->frameCount) {
55 buffer->frameCount = mRemaining;
57 buffer->raw = (char *) mAllocated + (mOffset << mFrameBitShift);
58 mGetCount = buffer->frameCount;
62 if (buffer->frameCount > mSize) {
64 mAllocated = malloc(buffer->frameCount << mFrameBitShift)
    [all...]
  /frameworks/wilhelm/tools/hashgen/
frag3.c 4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]);
18 char buffer[40]; local
19 buffer[39] = 'x';
20 MPH_to_MPH_string(MPH, buffer);
21 assert('x' == buffer[39]);
22 printf(" %s", buffer);
  /libcore/luni/src/main/java/java/io/
OutputStream.java 79 * Equivalent to {@code write(buffer, 0, buffer.length)}.
81 public void write(byte[] buffer) throws IOException {
82 write(buffer, 0, buffer.length);
86 * Writes {@code count} bytes from the byte array {@code buffer} starting at
89 * @param buffer
90 * the buffer to be written.
92 * the start position in {@code buffer} from where to get bytes.
94 * the number of bytes from {@code buffer} to write to thi
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/rmi/
RmiSerializer.java 56 private void writeString(ByteBuffer buffer, String string) throws IOException{
60 buffer.put( (byte) 0 );
64 buffer.put( (byte) length );
66 buffer.put( (byte) string.charAt(i) );
70 private String readString(ByteBuffer buffer){
71 int length = buffer.get() & 0xff;
73 chrBuf[i] = (char) (buffer.get() & 0xff);
78 private void writeType(ByteBuffer buffer, Class<?> clazz) throws IOException{
80 buffer.putShort((short)0);
87 buffer.putShort(reg.getId())
    [all...]
  /external/srtp/crypto/test/
stat_driver.c 35 uint8_t buffer[2500]; local
53 buffer[i] = 0;
56 printf("running stat_tests on all-null buffer, expecting failure\n");
57 printf("monobit %d\n", stat_test_monobit(buffer));
58 printf("poker %d\n", stat_test_poker(buffer));
59 printf("runs %d\n", stat_test_runs(buffer));
62 buffer[i] = rand();
64 printf("monobit %d\n", stat_test_monobit(buffer));
65 printf("poker %d\n", stat_test_poker(buffer));
66 printf("runs %d\n", stat_test_runs(buffer));
    [all...]

Completed in 968 milliseconds

1 23 4 5 6 7 8 91011>>