Searched refs:buffer (Results 126 - 150 of 5165) sorted by relevance

1234567891011>>

/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.c19 * @param buffer UChar buffer to receive result
20 * @param capacity capacity of buffer
30 uprv_itou (UChar * buffer, int32_t capacity, argument
40 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
45 buffer[length++] = (UChar) 0x0030;/*zero padding */
47 /* null terminate the buffer */
49 buffer[length] = (UChar) 0x0000;
54 temp = buffer[(length-1) - j];
55 buffer[(lengt
[all...]
/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/syslinux/com32/hdt/
H A Dhdt-menu-disk.c82 char buffer[SUBMENULEN + 1]; local
87 memset(buffer, 0, sizeof buffer);
108 snprintf(buffer, sizeof buffer, "Size : %s", remove_spaces(size));
110 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
112 snprintf(buffer, sizeof buffer, "Type : %s", parttype);
114 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
117 snprintf(buffer, sizeo
156 char buffer[MENULEN + 1]; local
238 char buffer[MENULEN + 1]; local
[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/clang/test/PCH/
H A Dattrs-PR8406.c14 int buffer[123] __attribute__((__aligned__(512))); member in struct:Bar
/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/curl/lib/
H A Dcurl_endian.h56 void Curl_write16_le(const short value, unsigned char *buffer);
59 void Curl_write32_le(const int value, unsigned char *buffer);
64 void Curl_write64_le(const long long value, unsigned char *buffer);
66 void Curl_write64_le(const __int64 value, unsigned char *buffer);
H A Dstrdup.c62 * Copies the 'source' data to a newly allocated buffer (that is
70 char *buffer = malloc(length); local
71 if(!buffer)
74 memcpy(buffer, src, length);
76 return buffer;
/external/curl/src/
H A Dtool_cb_rea.h30 size_t tool_read_cb(void *buffer, size_t sz, size_t nmemb, void *userdata);
/external/dng_sdk/source/
H A Ddng_jpeg_memory_source.h14 // buffer with length 'size'.
15 jpeg_source_mgr CreateJpegMemorySource(const uint8 *buffer, size_t size);
/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/harfbuzz_ng/src/
H A Dhb-ot-shape-fallback-private.hh37 hb_buffer_t *buffer);
41 hb_buffer_t *buffer);
46 hb_buffer_t *buffer);
50 hb_buffer_t *buffer);
/external/icu/icu4c/source/samples/case/
H A Ducase.c35 UChar buffer[32]; local
54 /* result buffer = "ab?" latin small letter a, latin small letter b, latin
56 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper,
58 if(U_FAILURE(errorCode) || buffer[length]!=0) {
63 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer);
67 /* result buffer = "ABI" latin CAPITAL letter A, latin capital letter B,
69 length = u_strToUpper(buffer, sizeof(buffer)/sizeo
[all...]
/external/jline/src/src/main/java/jline/
H A DCompletor.java20 * completions for the <i>buffer</i>. The <i>candidates</i>
26 * @param buffer the buffer
28 * @return the index of the <i>buffer</i> for which
31 int complete(String buffer, int cursor, List candidates); argument
/external/libevent/include/event2/
H A Dbuffer_compat.h32 Obsolete and deprecated versions of the functions in buffer.h: provided
38 Obsolete alias for evbuffer_readln(buffer, NULL, EOL_STYLE_ANY).
44 @param buffer the evbuffer to read from
48 char *evbuffer_readline(struct evbuffer *buffer);
57 list of callbacks, or add or remove data from the buffer. It may not
60 If a callback adds or removes data from the buffer or from another
61 buffer, this can cause a recursive invocation of your callback or
65 @param buffer the buffer whose size has changed
66 @param old_len the previous length of the buffer
[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/v8/src/ppc/
H A Dcpu-ppc.cc15 void CpuFeatures::FlushICache(void* buffer, size_t size) { argument
23 : "r"(buffer)
31 reinterpret_cast<byte *>(reinterpret_cast<intptr_t>(buffer) & ~mask);
32 byte *end = static_cast<byte *>(buffer) + size;

Completed in 1107 milliseconds

1234567891011>>