Searched refs:buffer (Results 101 - 125 of 3377) sorted by relevance

1234567891011>>

/external/embunit/src/
H A DAssertImpl.c41 char buffer[32]; /*"exp -2147483647 was -2147483647"*/ local
44 stdimpl_strcpy(buffer, "exp ");
47 stdimpl_strncat(buffer, numbuf, 11); }
49 stdimpl_strcat(buffer, " was ");
52 stdimpl_strncat(buffer, numbuf, 11); }
54 addFailure(buffer, line, file);
59 char buffer[ASSERT_STRING_BUFFER_MAX]; local
93 stdimpl_strcpy(buffer, "exp \"");
94 stdimpl_strncat(buffer, expected, el);
95 stdimpl_strcat(buffer, "\" wa
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_draw.c58 const struct pipe_vertex_buffer *buffer = local
64 if (!buffer->buffer) {
68 assert(buffer->buffer->height0 == 1);
69 assert(buffer->buffer->depth0 == 1);
70 buffer_size = buffer->buffer->width0;
78 if (buffer
[all...]
/external/clang/test/PCH/
H A Dva_arg.cpp14 void f(char *buffer, unsigned count, const char* format, va_list argptr) { argument
15 vsnprintf(buffer, count, format, argptr);
H A Dattrs-PR8406.c14 int buffer[123] __attribute__((__aligned__(512))); member in struct:Bar
/external/google-breakpad/src/common/tests/
H A Dfile_utils.h41 // Reads the content of a file at |path| into |buffer|. |buffer_size| specifies
42 // the size of |buffer| in bytes and returns the number of bytes read from the
44 bool ReadFile(const char* path, void* buffer, ssize_t* buffer_size);
46 // Writes |buffer_size| bytes of the content in |buffer| to a file at |path|.
48 bool WriteFile(const char* path, const void* buffer, size_t buffer_size);
/external/icu/icu4c/source/common/
H A Dustrfmt.c17 * @param buffer UChar buffer to receive result
18 * @param capacity capacity of buffer
28 uprv_itou (UChar * buffer, int32_t capacity, argument
38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
43 buffer[length++] = (UChar) 0x0030;/*zero padding */
45 /* null terminate the buffer */
47 buffer[length] = (UChar) 0x0000;
52 temp = buffer[(length-1) - j];
53 buffer[(lengt
[all...]
/external/libnfc-nci/src/include/
H A DCrcChecksum.h30 ** Description Compute a checksum on a buffer of data.
35 unsigned short crcChecksumCompute (const unsigned char *buffer, int bufferLen);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
H A DBitWriterBuffer.java7 private ByteBuffer buffer; field in class:BitWriterBuffer
11 public BitWriterBuffer(ByteBuffer buffer) { argument
12 this.buffer = buffer;
13 this.initialPos = buffer.position();
22 int current = (buffer.get(initialPos + position / 8));
25 buffer.put(initialPos + position / 8, (byte) (current > 127 ? current - 256 : current));
32 buffer.position(initialPos + position / 8 + ((position % 8 > 0) ? 1 : 0));
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DRoute.java90 protected StringBuffer encodeBody(StringBuffer buffer) { argument
93 buffer.append('<');
94 address.encode(buffer);
95 buffer.append('>');
97 address.encode(buffer);
100 buffer.append(SEMICOLON);
101 parameters.encode(buffer);
103 return buffer;
/external/openssh/
H A Dbufec.c19 /* Emulation wrappers for legacy OpenSSH buffer API atop sshbuf */
25 #include "buffer.h"
32 buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, argument
37 if ((ret = sshbuf_put_ec(buffer, point, curve)) != 0) {
45 buffer_put_ecpoint(Buffer *buffer, const EC_GROUP *curve, argument
48 if (buffer_put_ecpoint_ret(buffer, curve, point) == -1)
49 fatal("%s: buffer error", __func__);
53 buffer_get_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, argument
58 if ((ret = sshbuf_get_ec(buffer, point, curve)) != 0) {
66 buffer_get_ecpoint(Buffer *buffer, cons argument
[all...]
/external/clang/test/Layout/
H A Dms-x86-alias-avoidance-padding.cpp7 __declspec(align(4096)) char buffer[4096]; variable
14 printf("V - this: %d\n", (int)((char*)this - buffer));
22 printf("AT0 - this: %d\n", (int)((char*)this - buffer));
29 printf("AT1 - this: %d\n", (int)((char*)this - buffer));
37 printf("AT2 - this: %d\n", (int)((char*)this - buffer));
38 printf("AT2 - Fiel: %d\n", (int)((char*)&AT2FieldName0 - buffer));
44 printf("AT3 - this: %d\n", (int)((char*)this - buffer));
101 printf("BT0 - this: %d\n", (int)((char*)this - buffer));
108 printf("BT2 - this: %d\n", (int)((char*)this - buffer));
109 printf("BT2 - Fiel: %d\n", (int)((char*)&BT2FieldName0 - buffer));
[all...]
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dnew_array_cookie_uaf_test.cc24 C *buffer = new C[argc]; local
25 delete [] buffer;
26 Write42ToCookie(buffer);
27 delete [] buffer;
/external/e2fsprogs/lib/ext2fs/
H A Dcrc16.h24 extern crc16_t ext2fs_crc16(crc16_t crc, const void *buffer, unsigned int len);
/external/easymock/src/org/easymock/
H A DIArgumentMatcher.java40 * Appends a string representation of this matcher to the given buffer. In case
44 * @param buffer the buffer to which the string representation is appended.
46 void appendTo(StringBuffer buffer); argument
/external/easymock/src/org/easymock/internal/matchers/
H A DNot.java36 public void appendTo(StringBuffer buffer) { argument
37 buffer.append("not(");
38 first.appendTo(buffer);
39 buffer.append(")");
/external/icu/icu4c/source/samples/case/
H A Ducase.c29 UChar buffer[32]; local
48 /* result buffer = "ab?" latin small letter a, latin small letter b, latin
50 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper,
52 if(U_FAILURE(errorCode) || buffer[length]!=0) {
57 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer);
61 /* result buffer = "ABI" latin CAPITAL letter A, latin capital letter B,
63 length = u_strToUpper(buffer, sizeof(buffer)/sizeo
[all...]
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_reader.c22 const uint8_t *buffer,
26 if (size && !buffer) {
29 r->buffer_end = buffer + size;
30 r->buffer = buffer;
43 const uint8_t *buffer = r->buffer; local
44 const uint8_t *buffer_start = buffer;
49 const size_t bytes_left = buffer_end - buffer;
55 r->decrypt_cb(r->decrypt_state, buffer,
21 vp9_reader_init(vp9_reader *r, const uint8_t *buffer, size_t size, vpx_decrypt_cb decrypt_cb, void *decrypt_state) argument
[all...]
/external/nanopb-c/examples/using_double_on_avr/
H A Ddecode_double.c12 uint8_t buffer[32]; local
13 size_t count = fread(buffer, 1, sizeof(buffer), stdin);
14 pb_istream_t stream = pb_istream_from_buffer(buffer, count);
/external/nanopb-c/tests/basic_buffer/
H A Dencode_buffer.c3 * buffer, which is then written to stdout.
13 uint8_t buffer[Person_size]; local
23 stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
30 fwrite(buffer, 1, stream.bytes_written, stdout);
/external/selinux/libsepol/cil/src/
H A Dcil_parser.h35 int cil_parser(char *path, char *buffer, uint32_t size, struct cil_tree **parse_tree);
/external/selinux/libsepol/cil/test/unit/
H A DCilTest.h37 char *buffer; member in struct:cil_file_data
/external/skia/src/ports/
H A DSkDebug_nacl.cpp29 char buffer[kBufferSize + 1]; local
32 sprintf(buffer, kLogPrefix);
33 vsnprintf(buffer + strlen(kLogPrefix), kBufferSize, format, args);
35 pp::Var msg = pp::Var(buffer);
/external/v8/src/
H A Dstrtod.h11 // The buffer must only contain digits in the range [0-9]. It must not
13 double Strtod(Vector<const char> buffer, int exponent);
/external/valgrind/none/tests/s390x/
H A Dex.c3 char buffer[] ="0123456789abcdef"; variable
10 printf("------- Copy 10+1 bytes from buffer to target\n");
12 printf("before: buffer = |%s|\n", buffer);
21 : : "a" (target), "a" (buffer): "1", "2", "memory");
22 printf("after: buffer = |%s|\n", buffer);
H A Dexrl.c3 char buffer[] ="0123456789abcdef"; variable
10 printf("------- Copy 10+1 bytes from buffer to target\n");
12 printf("before: buffer = |%s|\n", buffer);
20 : : "a" (target), "a" (buffer) : "1", "2", "memory");
21 printf("after: buffer = |%s|\n", buffer);

Completed in 717 milliseconds

1234567891011>>