/external/google-breakpad/src/common/tests/ |
H A D | file_utils.h | 41 // 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 D | ustrfmt.c | 19 * @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 D | BitWriterBuffer.java | 7 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 D | Route.java | 90 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 D | bufec.c | 19 /* 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 D | hdt-menu-disk.c | 82 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 D | ms-x86-alias-avoidance-padding.cpp | 7 __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 D | attrs-PR8406.c | 14 int buffer[123] __attribute__((__aligned__(512))); member in struct:Bar
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | new_array_cookie_uaf_test.cc | 24 C *buffer = new C[argc]; local 25 delete [] buffer; 26 Write42ToCookie(buffer); 27 delete [] buffer;
|
/external/curl/lib/ |
H A D | curl_endian.h | 56 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 D | strdup.c | 62 * 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 D | tool_cb_rea.h | 30 size_t tool_read_cb(void *buffer, size_t sz, size_t nmemb, void *userdata);
|
/external/dng_sdk/source/ |
H A D | dng_jpeg_memory_source.h | 14 // buffer with length 'size'. 15 jpeg_source_mgr CreateJpegMemorySource(const uint8 *buffer, size_t size);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | crc16.h | 24 extern crc16_t ext2fs_crc16(crc16_t crc, const void *buffer, unsigned int len);
|
/external/easymock/src/org/easymock/ |
H A D | IArgumentMatcher.java | 40 * 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 D | Not.java | 36 public void appendTo(StringBuffer buffer) {
argument 37 buffer.append("not(");
38 first.appendTo(buffer);
39 buffer.append(")");
|
/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape-fallback-private.hh | 37 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 D | ucase.c | 35 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 D | Completor.java | 20 * 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 D | buffer_compat.h | 32 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 D | decode_double.c | 12 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 D | encode_buffer.c | 3 * 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 D | cil_parser.h | 35 int cil_parser(char *path, char *buffer, uint32_t size, struct cil_tree **parse_tree);
|
/external/selinux/libsepol/cil/test/unit/ |
H A D | CilTest.h | 37 char *buffer; member in struct:cil_file_data
|
/external/v8/src/ppc/ |
H A D | cpu-ppc.cc | 15 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;
|