/external/easymock/src/org/easymock/internal/matchers/ |
H A D | Same.java | 37 public void appendTo(StringBuffer buffer) {
argument 38 buffer.append("same(");
39 ArgumentToString.appendArgument(expected, buffer);
40 buffer.append(")");
|
/external/fio/crc/ |
H A D | crc16.h | 20 extern unsigned short fio_crc16(const void *buffer, unsigned int len);
|
H A D | crc7.h | 11 extern unsigned char fio_crc7(const unsigned char *buffer, unsigned int len);
|
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
H A D | OutputBufferProvider.java | 20 * Simple Provider interface for the output buffer. 25 * Returns a clean Appendable buffer ready to use while rendering. 30 * Tells the provider that this buffer is free to be reused. 32 * @param buffer the Appendable object handed out by {@link #get} 34 void release(Appendable buffer); argument
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
H A D | JavascriptTokenBuffer.java | 24 * Implements a circular (ring) buffer of characters with specialized 34 * the buffer. Changing the API would mean changing the test 40 * <li> The buffer size is fixed. There is currently no need to 47 * Size of the ring buffer used to lookup the last token in the javascript 50 * an empty ring buffer slot. 54 /** Storage implementing the circular buffer. */ 55 private final char[] buffer; field in class:JavascriptTokenBuffer 57 /** Index of the first item in our circular buffer. */ 60 /** Index of the last item in our circular buffer. */ 64 * Constructs an empty javascript token buffer [all...] |
/external/linux-tools-perf/src/tools/perf/arch/powerpc/util/ |
H A D | header.c | 21 get_cpuid(char *buffer, size_t sz) argument 28 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); 31 if (strchr(buffer, '$')) { 32 buffer[nb-1] = '\0';
|
/external/mdnsresponder/mDNSShared/ |
H A D | dnssd_ipc.c | 35 static char buffer[1024]; local 37 memset(buffer, 0, sizeof(buffer)); 43 buffer, 44 sizeof(buffer), 49 while ((n > 0) && isspace(((unsigned char *) buffer)[n - 1])) 50 buffer[--n] = '\0'; 52 return buffer; 111 int get_string(const char **ptr, const char *const end, char *buffer, int buflen) argument 115 *buffer [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_vdecl.c | 66 * buffer offset below. The important thing is that all vertex buffer 77 struct svga_buffer *buffer; local 81 if (!vb->buffer) 84 buffer = svga_buffer(vb->buffer); 85 if (buffer->uploaded.start > offset) { 86 tmp_neg_bias = buffer->uploaded.start - offset; 97 struct svga_buffer *buffer; local 99 if (!vb->buffer) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
H A D | UUIDConverter.java | 30 byte[] buffer = new byte[16]; 33 buffer[i] = (byte) (msb >>> 8 * (7 - i)); 36 buffer[i] = (byte) (lsb >>> 8 * (7 - i)); 39 return buffer;
|
/external/nanopb-c/examples/simple/ |
H A D | simple.c | 8 /* This is the buffer where we will store our message. */ 9 uint8_t buffer[128]; local 21 /* Create a stream that will write to our buffer. */ 22 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); 49 /* Create a stream that reads from the buffer. */ 50 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length);
|
/external/protobuf/src/google/protobuf/io/ |
H A D | coded_stream_inl.h | 48 inline bool CodedInputStream::InternalReadStringInline(string* buffer, argument 53 STLStringResizeUninitialized(buffer, size); 54 // When buffer is empty, string_as_array(buffer) will return NULL but memcpy 57 memcpy(mutable_string_data(buffer), buffer_, size); 63 return ReadStringFallback(buffer, size);
|
/external/skia/tools/ |
H A D | LazyDecodeBitmap.h | 20 bool LazyDecodeBitmap(const void* buffer, size_t size, SkBitmap* bitmap);
|
/external/v8/src/ |
H A D | fixed-dtoa.h | 13 // The buffer must be big enough to hold the result plus one terminating null 18 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and 21 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0. 22 // The returned buffer may contain digits that would be truncated from the 28 Vector<char> buffer, int* length, int* decimal_point);
|
H A D | dtoa.cc | 34 Vector<char> buffer, int* sign, int* length, int* point) { 46 buffer[0] = '0'; 47 buffer[1] = '\0'; 54 buffer[0] = '\0'; 62 fast_worked = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point); 65 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); 69 buffer, length, point); 79 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point); 80 buffer[*length] = '\0'; 33 DoubleToAscii(double v, DtoaMode mode, int requested_digits, Vector<char> buffer, int* sign, int* length, int* point) argument
|
/external/apache-http/src/org/apache/http/cookie/ |
H A D | CookieOrigin.java | 100 StringBuilder buffer = new StringBuilder(); 101 buffer.append('['); 103 buffer.append("(secure)"); 105 buffer.append(this.host); 106 buffer.append(':'); 107 buffer.append(Integer.toString(this.port)); 108 buffer.append(this.path); 109 buffer.append(']'); 110 return buffer.toString();
|
/external/fio/ |
H A D | fifo.c | 36 fifo->buffer = malloc(size); 45 free(fifo->buffer); 49 unsigned int fifo_put(struct fifo *fifo, void *buffer, unsigned int len) argument 55 /* first put the data starting from fifo->in to buffer end */ 57 memcpy(fifo->buffer + (fifo->in & (fifo->size - 1)), buffer, l); 59 /* then put the rest (if any) at the beginning of the buffer */ 60 memcpy(fifo->buffer, buffer + l, len - l); 80 * first get the data from fifo->out until the end of the buffer [all...] |
/external/google-breakpad/src/common/dwarf/ |
H A D | bytereader.h | 62 uint8 ReadOneByte(const char* buffer) const; 66 uint16 ReadTwoBytes(const char* buffer) const; 73 uint64 ReadFourBytes(const char* buffer) const; 77 uint64 ReadEightBytes(const char* buffer) const; 96 uint64 ReadUnsignedLEB128(const char* buffer, size_t* len) const; 115 int64 ReadSignedLEB128(const char* buffer, size_t* len) const; 138 uint64 ReadAddress(const char* buffer) const; 182 uint64 ReadOffset(const char* buffer) const; 233 // SECTION_BASE, and that the start of its buffer in our own memory 235 // byte in our buffer woul [all...] |
/external/google-breakpad/src/common/mac/ |
H A D | file_id.cc | 61 unsigned char buffer[4096 * 2]; local 62 size_t buffer_size = sizeof(buffer); 63 while ((buffer_size = read(fd, buffer, buffer_size) > 0)) { 64 MD5Update(&md5, buffer, static_cast<unsigned>(buffer_size)); 86 char *buffer, int buffer_length) { 93 buffer[buffer_idx++] = '-'; 95 buffer[buffer_idx++] = 97 buffer[buffer_idx++] = 102 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0; 85 ConvertIdentifierToString(const unsigned char identifier[16], char *buffer, int buffer_length) argument
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | rbutil.c | 66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) argument 83 buffer[length++]= digits[digit]; 88 buffer[length++] = '0';/*zero padding */ 93 buffer[length++]='-'; 96 /* null terminate the buffer */ 98 buffer[length] = 0x0000; 106 temp = buffer[(length-1) - j]; 107 buffer[(length-1) - j] = buffer[j]; 108 buffer[ [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/ |
H A D | HttpWriter.java | 138 byte[] buffer=out._bytes.getBuf(); 141 if (chars>buffer.length-bytes) 142 chars=buffer.length-bytes; 147 buffer[bytes++]=(byte)(c<256?c:'?'); // ISO-1 and UTF-8 match for 0 - 255 157 byte[] buffer=out._bytes.getBuf(); 160 if (bytes+chars>buffer.length) 161 chars=buffer.length-bytes; 193 if (bytes>=buffer.length) 198 buffer[bytes++]=(byte)(code); 205 if (bytes+2>buffer [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape-complex-hangul.cc | 119 /* buffer var allocations */ 132 hb_buffer_t *buffer, 135 HB_BUFFER_ALLOCATE_VAR (buffer, hangul_shaping_feature); 185 buffer->clear_output (); 189 unsigned int count = buffer->len; 191 for (buffer->idx = 0; buffer->idx < count;) 193 hb_codepoint_t u = buffer->cur().codepoint; 202 if (start < end && end == buffer->out_len) 205 buffer 131 preprocess_text_hangul(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font) argument 394 setup_masks_hangul(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) argument [all...] |
H A D | hb-ot-shape-complex-sea.cc | 29 /* buffer var allocations */ 70 hb_buffer_t *buffer); 74 hb_buffer_t *buffer); 78 hb_buffer_t *buffer); 167 hb_buffer_t *buffer, 170 HB_BUFFER_ALLOCATE_VAR (buffer, sea_category); 171 HB_BUFFER_ALLOCATE_VAR (buffer, sea_position); 176 unsigned int count = buffer->len; 177 hb_glyph_info_t *info = buffer->info; 185 hb_buffer_t *buffer) 166 setup_masks_sea(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) argument 183 setup_syllables(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_font_t *font HB_UNUSED, hb_buffer_t *buffer) argument 201 initial_reordering_consonant_syllable(const hb_ot_shape_plan_t *plan, hb_face_t *face, hb_buffer_t *buffer, unsigned int start, unsigned int end) argument 240 initial_reordering_broken_cluster(const hb_ot_shape_plan_t *plan, hb_face_t *face, hb_buffer_t *buffer, unsigned int start, unsigned int end) argument 261 initial_reordering_syllable(const hb_ot_shape_plan_t *plan, hb_face_t *face, hb_buffer_t *buffer, unsigned int start, unsigned int end) argument 275 insert_dotted_circles(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_font_t *font, hb_buffer_t *buffer) argument 329 initial_reordering(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) argument 350 final_reordering(const hb_ot_shape_plan_t *plan, hb_font_t *font HB_UNUSED, hb_buffer_t *buffer) argument [all...] |
/external/icu/icu4c/source/samples/ustring/ |
H A D | ustring.cpp | 149 UChar buffer[32]; local 154 buffer[0]=0; /* empty, NUL-terminated string */ 155 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */ 156 u_strcat(buffer, appendText); /* buffer=="Aabc" */ 157 length=u_strlen(buffer); /* length=4 */ 158 printUString("should be \"Aabc\": ", buffer, -1); 160 /* bitwise comparing buffer with text */ 161 compare=u_strcmp(buffer, text); 166 /* Build "A<sharp s>C" in the buffer 194 UChar buffer[32]; local 565 UChar buffer[200]; local [all...] |
/external/e2fsprogs/lib/ss/ |
H A D | list_rqs.c | 33 char buffer[BUFSIZ]; local 62 buffer[0] = '\0'; 67 strncat(buffer, *name, len); 70 strcat(buffer, ", "); 74 strcat(buffer, NL); 75 fputs(buffer, output); 77 buffer[0] = '\0'; 79 strncat(buffer, twentyfive_spaces, 25-spacing); 80 strcat(buffer, entry->info_string); 81 strcat(buffer, N [all...] |
/external/google-breakpad/src/common/tests/ |
H A D | file_utils.cc | 60 char buffer[1024]; local 64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); 76 &buffer[bytes_written_per_read], 99 bool ReadFile(const char* path, void* buffer, ssize_t* buffer_size) { argument 107 if (buffer && buffer_size && *buffer_size > 0) { 108 memset(buffer, 0, sizeof(*buffer_size)); 109 *buffer_size = HANDLE_EINTR(read(fd, buffer, *buffer_size)); 122 bool WriteFile(const char* path, const void* buffer, size_t buffer_size) { argument 130 if (buffer) { [all...] |