/system/core/include/cutils/ |
uevent.h | 28 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length); 29 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *uid);
|
/system/core/toolbox/ |
log.c | 94 char buffer[4096]; local 130 buffer[0] = '\0'; 133 strlcat(buffer, argv[i], sizeof(buffer)-1); 134 strlcat(buffer, " ", sizeof(buffer)-1); 137 if(buffer[0] == 0) { 141 __android_log_print(priority, tag, "%s", buffer);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
strutil.cc | 46 // char buffer[32]; 47 // snprintf(buffer, 32, "%.*g\n", FLT_DIG, 1.23e10f); 69 // string manipulation is all in relation to the protocol buffer and C++ 425 // a dest buffer. This should be used for non performance critical 607 // Offset into buffer where FastInt64ToBuffer places the end of string 611 char *FastInt64ToBuffer(int64 i, char* buffer) { 615 char* p = buffer + kFastInt64ToBufferOffset; 649 // Offset into buffer where FastInt32ToBuffer places the end of string 656 char *FastInt32ToBuffer(int32 i, char* buffer) { 660 char* p = buffer + kFastInt32ToBufferOffset 928 char buffer[kFastToBufferSize]; local 935 char buffer[kFastToBufferSize]; local 942 char buffer[kFastToBufferSize]; local 949 char buffer[kFastToBufferSize]; local 956 char buffer[kFastToBufferSize]; local 963 char buffer[kFastToBufferSize]; local 1011 char buffer[kDoubleToBufferSize]; local 1016 char buffer[kFloatToBufferSize]; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
LineEnding.cpp | 49 CStringBuffer(CString& buffer) 50 : m_buffer(buffer) 67 const CString& buffer() const { return m_buffer; } function in class:__anon12715::CStringBuffer 75 VectorCharAppendBuffer(Vector<char>& buffer) 76 : m_buffer(buffer) 97 void internalNormalizeLineEndingsToCRLF(const CString& from, OutputBuffer& buffer) 121 buffer.copy(from); 126 char* q = buffer.allocate(newLen); 175 // Grow the result buffer. 206 CStringBuffer buffer(result) [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
deep-heap-profile.cc | 59 bool DeepHeapProfile::AppendCommandLine(TextBuffer* buffer) { 79 buffer->AppendString("CommandLine: ", 0); 80 buffer->AppendString(cmdline, 0); 81 buffer->AppendChar('\n'); 88 bool DeepHeapProfile::AppendCommandLine(TextBuffer* buffer) { 115 DeepHeapProfile::TextBuffer* buffer) const { 140 buffer != NULL && state.pfn != 0) { 142 buffer->AppendString(" PF:", 0); 145 buffer->AppendChar(' '); 147 buffer->AppendChar('<') 815 char buffer[1024]; local 946 char buffer[1024]; local [all...] |
/external/nist-sip/java/gov/nist/core/ |
StringTokenizer.java | 43 protected String buffer; field in class:StringTokenizer 51 public StringTokenizer(String buffer) { 52 this.buffer = buffer; 53 bufferLen = buffer.length(); 61 char c = buffer.charAt(ptr); 68 return buffer.substring(startIdx, ptr); 114 while (ptr < bufferLen && buffer.charAt(ptr) != '\n') { 117 if (ptr < bufferLen && buffer.charAt(ptr) == '\n') { 120 return buffer.substring(startIdx, ptr) [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
strutil.cc | 46 // char buffer[32]; 47 // snprintf(buffer, 32, "%.*g\n", FLT_DIG, 1.23e10f); 69 // string manipulation is all in relation to the protocol buffer and C++ 387 // a dest buffer. This should be used for non performance critical 569 // Offset into buffer where FastInt64ToBuffer places the end of string 573 char *FastInt64ToBuffer(int64 i, char* buffer) { 577 char* p = buffer + kFastInt64ToBufferOffset; 611 // Offset into buffer where FastInt32ToBuffer places the end of string 618 char *FastInt32ToBuffer(int32 i, char* buffer) { 622 char* p = buffer + kFastInt32ToBufferOffset 883 char buffer[kFastToBufferSize]; local 890 char buffer[kFastToBufferSize]; local 897 char buffer[kFastToBufferSize]; local 904 char buffer[kFastToBufferSize]; local 911 char buffer[kFastToBufferSize]; local 918 char buffer[kFastToBufferSize]; local 966 char buffer[kDoubleToBufferSize]; local 971 char buffer[kFloatToBufferSize]; local [all...] |
/external/apache-http/src/org/apache/http/auth/ |
BasicUserPrincipal.java | 82 StringBuilder buffer = new StringBuilder(); local 83 buffer.append("[principal: "); 84 buffer.append(this.username); 85 buffer.append("]"); 86 return buffer.toString();
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicClientCookie.java | 324 StringBuilder buffer = new StringBuilder(); local 325 buffer.append("[version: "); 326 buffer.append(Integer.toString(this.cookieVersion)); 327 buffer.append("]"); 328 buffer.append("[name: "); 329 buffer.append(this.name); 330 buffer.append("]"); 331 buffer.append("[value: "); 332 buffer.append(this.value); 333 buffer.append("]") [all...] |
/external/apache-http/src/org/apache/http/message/ |
LineParser.java | 67 * @param buffer a buffer holding the protocol version to parse 69 * the bounds within the buffer for the parsing operation 76 CharArrayBuffer buffer, 89 * @param buffer a buffer holding the line to inspect 100 CharArrayBuffer buffer, 107 * @param buffer a buffer holding the line to parse 109 * the bounds within the buffer for the parsing operatio [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/ |
SkiaSharedBufferStream.h | 43 static PassRefPtr<SkiaSharedBufferStream> create(PassRefPtr<SharedBuffer> buffer) 45 return adoptRef(new SkiaSharedBufferStream(buffer)); 52 virtual size_t read(void* buffer, size_t bytesRequested) OVERRIDE; 68 explicit SkiaSharedBufferStream(PassRefPtr<SharedBuffer> buffer) 69 : m_buffer(buffer)
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-icu-le.cc | 111 hb_buffer_t *buffer, 131 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size); 138 ALLOCATE_ARRAY (LEUnicode, chars, buffer->len); 139 ALLOCATE_ARRAY (unsigned int, clusters, buffer->len); 142 for (unsigned int i = 0; i < buffer->len; i++) { 143 chars[i] = buffer->info[i].codepoint; 144 clusters[i] = buffer->info[i].cluster; 150 buffer->len, 151 buffer->len, 152 HB_DIRECTION_IS_BACKWARD (buffer->props.direction) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_zscan.h | 84 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, 88 vl_zscan_cleanup_buffer(struct vl_zscan_buffer *buffer); 91 vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout); 94 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, 98 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
|
/external/easymock/src/org/easymock/internal/matchers/ |
And.java | 43 public void appendTo(StringBuffer buffer) {
44 buffer.append("and(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
|
Or.java | 43 public void appendTo(StringBuffer buffer) {
44 buffer.append("or(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SFTPOutputStream.java | 39 public void write(byte[] buffer, int offset, int len) throws IOException 41 // We can just blindly write the whole buffer at once. 44 handle.getClient().write(handle, writeOffset, buffer, offset, len); 51 byte[] buffer = new byte[1]; 52 buffer[0] = (byte) b; 53 handle.getClient().write(handle, writeOffset, buffer, 0, 1);
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 70 /** Buffer via which we pass data to the hash algorithm (the implementor) */ 71 private final ByteBuffer buffer; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher 92 * size, using an internal buffer of {@code bufferSize} size, which must be a multiple of 97 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize 103 // TODO(user): benchmark performance difference with longer buffer 104 this.buffer = ByteBuffer 112 * Processes the available bytes of the buffer (at most {@code chunk} bytes). 147 if (readBuffer.remaining() <= buffer.remaining()) { 148 buffer.put(readBuffer); 153 // First add just enough to fill buffer size, and munch tha [all...] |
/external/harfbuzz_ng/src/ |
hb-icu-le.cc | 111 hb_buffer_t *buffer, 131 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size); 138 ALLOCATE_ARRAY (LEUnicode, chars, buffer->len); 139 ALLOCATE_ARRAY (unsigned int, clusters, buffer->len); 142 for (unsigned int i = 0; i < buffer->len; i++) { 143 chars[i] = buffer->info[i].codepoint; 144 clusters[i] = buffer->info[i].cluster; 150 buffer->len, 151 buffer->len, 152 HB_DIRECTION_IS_BACKWARD (buffer->props.direction) [all...] |
/external/junit/src/junit/framework/ |
TestFailure.java | 41 StringBuffer buffer= new StringBuffer(); local 42 buffer.append(fFailedTest+": "+fThrownException.getMessage()); 43 return buffer.toString(); 49 StringBuffer buffer= stringWriter.getBuffer(); local 50 return buffer.toString();
|
/external/junit/src/org/junit/runner/notification/ |
Failure.java | 55 StringBuffer buffer= new StringBuffer(); local 56 buffer.append(getTestHeader() + ": "+fThrownException.getMessage()); 57 return buffer.toString(); 68 StringBuffer buffer= stringWriter.getBuffer(); local 69 return buffer.toString();
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.h | 84 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, 88 vl_zscan_cleanup_buffer(struct vl_zscan_buffer *buffer); 91 vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout); 94 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, 98 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
Instruction10x.java | 43 public Instruction10x(Opcode opcode, byte[] buffer, int bufferIndex) { 46 assert (buffer[bufferIndex] & 0xFF) == opcode.value; 47 assert buffer[bufferIndex + 1] == 0x00; 60 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 61 return new Instruction10x(opcode, buffer, bufferIndex);
|
/external/srtp/crypto/replay/ |
ut_sim.c | 62 utc->buffer[i] = i; 64 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar); 73 tmp = utc->buffer[0]; 75 utc->buffer[0] = utc->index; 77 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar);
|
/external/valgrind/main/memcheck/tests/linux/ |
stack_switch.c | 25 char buffer[1024]; local 27 memset( buffer, 1, sizeof( buffer ) ); 30 return memchr( buffer, 1, sizeof( buffer ) ) == NULL;
|
/external/webrtc/test/testsupport/ |
frame_writer_unittest.cc | 47 WebRtc_UWord8 buffer[kFrameLength]; local 48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer 49 bool result = frame_writer_->WriteFrame(buffer); 58 WebRtc_UWord8 buffer[3]; local 60 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
|