/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
create_augmented_vec.h | 31 int16_t *buffer, /* (i) Pointer to the end of the codebook memory that
|
/external/okhttp/okio/okio/src/main/java/okio/ |
RealBufferedSource.java | 26 public final Buffer buffer; field in class:RealBufferedSource 30 public RealBufferedSource(Source source, Buffer buffer) { 32 this.buffer = buffer; 37 this(source, new Buffer()); 40 @Override public Buffer buffer() { method in class:RealBufferedSource 41 return buffer; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
SignalGenerator.java | 27 * Fills a PCMFloat buffer with 1 cycle of a sine wave. 32 static public void fillFloatSine(float[] buffer) { 33 int size = buffer.length; 36 buffer[index] = (float)Math.sin(index * incr);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stacktrace_printer.h | 22 // stack frame "frame_no" and appends it to the "buffer". "format" is a 50 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no, 55 void RenderSourceLocation(InternalScopedString *buffer, const char *file, 59 void RenderModuleLocation(InternalScopedString *buffer, const char *module,
|
/external/compiler-rt/test/asan/TestCases/Darwin/ |
mixing-global-constructors.cc | 28 char buffer[10] = "world"; local 29 func(buffer); 30 printf("%s\n", buffer);
|
/external/curl/lib/ |
curl_endian.c | 36 * buf [in] - A pointer to a 2 byte buffer. 55 * buf [in] - A pointer to a 4 byte buffer. 75 * buf [in] - A pointer to a 8 byte buffer. 112 * buf [in] - A pointer to a 2 byte buffer. 131 * buf [in] - A pointer to a 4 byte buffer. 151 * buf [in] - A pointer to a 8 byte buffer. 188 * buffer [in] - A pointer to the output buffer. 190 void Curl_write16_le(const short value, unsigned char *buffer) 192 buffer[0] = (char)(value & 0x00FF) [all...] |
/external/google-breakpad/src/common/linux/ |
safe_readlink.cc | 39 bool SafeReadLink(const char* path, char* buffer, size_t buffer_size) { 40 // sys_readlink() does not add a NULL byte to |buffer|. In order to return 41 // a NULL-terminated string in |buffer|, |buffer_size| should be at least 45 ssize_t result_size = sys_readlink(path, buffer, buffer_size); 47 buffer[result_size] = '\0';
|
/external/google-breakpad/src/processor/ |
logging.cc | 87 char buffer[11]; local 88 snprintf(buffer, sizeof(buffer), "0x%x", number); 89 return string(buffer); 93 char buffer[19]; local 94 snprintf(buffer, sizeof(buffer), "0x%" PRIx64, number); 95 return string(buffer); 99 char buffer[19]; local 100 snprintf(buffer, sizeof(buffer), "0x%x", number) [all...] |
/external/harfbuzz_ng/test/fuzzing/ |
hb-fuzzer.cc | 17 hb_buffer_t *buffer = hb_buffer_create(); local 18 hb_buffer_add_utf8(buffer, text, -1, 0, -1); 19 hb_buffer_guess_segment_properties(buffer); 20 hb_shape(font, buffer, NULL, 0); 21 hb_buffer_destroy(buffer); 27 hb_buffer_t *buffer = hb_buffer_create(); local 28 hb_buffer_add_utf32(buffer, text32, sizeof(text32)/sizeof(text32[0]), 0, -1); 29 hb_buffer_guess_segment_properties(buffer); 30 hb_shape(font, buffer, NULL, 0); 32 unsigned int len = hb_buffer_get_length (buffer); [all...] |
/external/pdfium/core/fxcrt/ |
fxcrt_stream.cpp | 21 size_t IFX_SeekableReadStream::ReadBlock(void* buffer, size_t size) { 25 bool IFX_SeekableStream::WriteBlock(const void* buffer, size_t size) { 26 return WriteBlock(buffer, GetSize(), size);
|
/external/sfntly/cpp/src/sfntly/port/ |
output_stream.h | 32 virtual void Write(ByteVector* buffer) = 0; 38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length) = 0; 40 // Note: Caller is responsible for the boundary of buffer. 41 virtual void Write(byte_t* buffer, int32_t offset, int32_t length) = 0;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioSourceDescriptor.cpp | 35 char buffer[SIZE]; local 38 snprintf(buffer, SIZE, "mStream: %d\n", audio_attributes_to_stream_type(&mAttributes)); 39 result.append(buffer); 40 snprintf(buffer, SIZE, "mDevice:\n"); 41 result.append(buffer); 51 char buffer[SIZE]; local 53 snprintf(buffer, SIZE, "\nAudio sources dump:\n"); 54 write(fd, buffer, strlen(buffer)); 56 snprintf(buffer, SIZE, "- Source %d dump:\n", keyAt(i)) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
ProtocolPortTupleTest.java | 39 * Helper function for generating a buffer with test data. 47 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE) local 49 buffer.put((byte) protocol); 50 buffer.putShort((short) port); 51 buffer.put((byte) status); 52 buffer.position(0); 53 return buffer; 57 * Verify that BufferUnderflowException will be thrown when parsing an empty buffer. 67 * Verify that BufferUnderflowException will be thrown when parsing a buffer without 74 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1) local 88 ByteBuffer buffer = getTestBuffer(TEST_PROTOCOL, TEST_PORT, TEST_STATUS); local [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/ |
simpledom.cpp | 22 StringBuffer buffer; local 23 Writer<StringBuffer> writer(buffer); 27 std::cout << buffer.GetString() << std::endl;
|
/external/v8/src/wasm/ |
wasm-module-builder.cc | 35 size_t EmitSection(WasmSectionCode code, ZoneBuffer& buffer) { 37 buffer.write_u8(code); 40 return buffer.reserve_u32v(); 44 void FixupSection(ZoneBuffer& buffer, size_t start) { 45 buffer.patch_u32v(start, static_cast<uint32_t>(buffer.offset() - start - 66 byte buffer[8]; local 67 byte* ptr = buffer; 69 for (byte* p = buffer; p < ptr; p++) { 171 void WasmFunctionBuilder::WriteSignature(ZoneBuffer& buffer) const [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicLineParser.java | 125 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 126 buffer.append(value); 128 return parser.parseProtocolVersion(buffer, cursor); 133 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer, 137 if (buffer == null) { 138 throw new IllegalArgumentException("Char array buffer may not be null"); 150 skipWhitespace(buffer, cursor); 158 buffer.substring(indexFrom, indexTo)); 164 ok = (buffer.charAt(i+j) == protoname.charAt(j)); 167 ok = (buffer.charAt(i+protolength) == '/') 290 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 390 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 481 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
DerInputStream.java | 67 DerInputBuffer buffer; field in class:DerInputStream 73 * Create a DER input stream from a data buffer. The buffer is not 74 * copied, it is shared. Accordingly, the buffer should be treated 77 * @param data the buffer from which to create the string (CONSUMED) 84 * Create a DER input stream from part of a data buffer. 85 * The buffer is not copied, it is shared. Accordingly, the 86 * buffer should be treated as read-only. 88 * @param data the buffer from which to create the string (CONSUMED) 91 * @param len how long a chunk of the buffer to use [all...] |
/external/apache-http/src/org/apache/http/util/ |
CharArrayBuffer.java | 52 private char[] buffer; field in class:CharArrayBuffer 58 throw new IllegalArgumentException("Buffer capacity may not be negative"); 60 this.buffer = new char[capacity]; 64 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; 65 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 66 this.buffer = newbuffer; 81 if (newlen > this.buffer.length) { 84 System.arraycopy(b, off, this.buffer, this.len, len); 94 if (newlen > this.buffer.length) { 97 str.getChars(0, strlen, this.buffer, this.len) 177 public char[] buffer() { method in class:CharArrayBuffer [all...] |
/external/e2fsprogs/ext2ed/ |
blockbitmap_com.c | 44 char *ptr,buffer [80]; local 48 ptr=parse_word (command_line,buffer); /* Get the requested entry */ 53 ptr=parse_word (ptr,buffer); 55 entry_num=atol (buffer); 67 strcpy (buffer,"show");dispatch (buffer); /* dispatch a show command */ 80 char *ptr,buffer [80]; local 82 ptr=parse_word (command_line,buffer); 84 ptr=parse_word (ptr,buffer); 85 entry_offset=atol (buffer); 96 char *ptr,buffer [80]; local 120 char *ptr,buffer [80]; local 149 char *ptr,buffer [80]; local [all...] |
inodebitmap_com.c | 31 char *ptr,buffer [80]; local 33 ptr=parse_word (command_line,buffer); 37 ptr=parse_word (ptr,buffer); 39 entry_num=atol (buffer); 46 strcpy (buffer,"show");dispatch (buffer); 53 char *ptr,buffer [80]; local 55 ptr=parse_word (command_line,buffer); 57 ptr=parse_word (ptr,buffer); 58 entry_offset=atol (buffer); 69 char *ptr,buffer [80]; local 85 char *ptr,buffer [80]; local 111 char *ptr,buffer [80]; local [all...] |
/external/ltp/lib/ |
databin.c | 44 void databingen(int mode, char *buffer, int bsize, int offset) 51 memset(buffer, 0x55, bsize); 55 memset(buffer, 0xf0, bsize); 60 buffer[ind] = ((offset + ind) % 8 & 0177); 65 memset(buffer, 0xff, bsize); 69 memset(buffer, 0x0, bsize); 74 buffer[ind] = (rand() & 0177) | 0100; 80 * >= 0 : error at byte offset into the file, offset+buffer[0-(bsize-1)] 83 int databinchk(int mode, char *buffer, int bsize, int offset, char **errmsg) 90 chr = (unsigned char *)buffer; 153 unsigned char *buffer; local [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryablePrimitive.java | 64 public T unmarshal(ByteBuffer buffer) { 65 return mClass.cast(unmarshalObject(buffer)); 74 public void marshal(T value, ByteBuffer buffer) { 78 marshalPrimitive(val, buffer); 82 marshalPrimitive(val, buffer); 86 marshalPrimitive(val, buffer); 89 marshalPrimitive((Rational) value, buffer); 93 marshalPrimitive(val, buffer); 97 marshalPrimitive(val, buffer); 104 private void marshalPrimitive(int value, ByteBuffer buffer) { [all...] |
/external/syslinux/com32/hdt/ |
hdt-menu-summary.c | 34 char buffer[SUBMENULEN + 1]; local 37 snprintf(buffer, sizeof(buffer), " Summary (%d CPU) ", hardware->physical_cpu_count); 38 menu->menu = add_menu(buffer, -1); 43 snprintf(buffer, sizeof buffer, "CPU Vendor : %s", hardware->cpu.vendor); 46 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 49 snprintf(buffer, sizeof buffer, "CPU Model : %s", hardware->cpu.model); 52 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0) [all...] |
/external/webrtc/webrtc/base/ |
stringencode.cc | 26 size_t escape(char * buffer, size_t buflen, 29 RTC_DCHECK(buffer); // TODO(grunell): estimate output size 39 buffer[bufpos++] = escape; 41 buffer[bufpos++] = ch; 44 buffer[bufpos] = '\0'; 48 size_t unescape(char * buffer, size_t buflen, 51 RTC_DCHECK(buffer); // TODO(grunell): estimate output size 61 buffer[bufpos++] = ch; 63 buffer[bufpos] = '\0'; 67 size_t encode(char * buffer, size_t buflen 480 char* buffer = STACK_ARRAY(char, kBufferSize); local 542 char* buffer = STACK_ARRAY(char, maxlen + 1); local 551 char * buffer = STACK_ARRAY(char, maxlen); local [all...] |
/external/valgrind/none/tests/s390x/ |
srst.c | 2 char buffer[24] ="0123456789abcdefghijklmn"; variable 52 buf = srst3(&buffer[23], &buffer[23], '0', &cc); 56 buf = srst3(&buffer[23], &buffer[0], '0', &cc); 60 buf = srst3(&buffer[23], &buffer[0], 'a', &cc); 64 buf = srst3(&buffer[23], &buffer[0], 'm', &cc); 68 buf = srst3(&buffer[23], &buffer[0], 'n', &cc) [all...] |