/external/mesa3d/src/gallium/drivers/svga/ |
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/ |
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/ |
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/openssl/crypto/rc4/ |
rc4s.cpp | 39 unsigned char buffer[1024]; local 59 RC4(&ctx,numm,buffer,buffer); 61 RC4(&ctx,numm,buffer,buffer); 64 RC4(&ctx,num,buffer,buffer); 66 RC4(&ctx,num,buffer,buffer);
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
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->next_glyph () [all...] |
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) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
Sk2DPathEffect.cpp | 71 void Sk2DPathEffect::flatten(SkWriteBuffer& buffer) const { 72 this->INHERITED::flatten(buffer); 73 buffer.writeMatrix(fMatrix); 77 Sk2DPathEffect::Sk2DPathEffect(SkReadBuffer& buffer) { 78 buffer.readMatrix(&fMatrix); 108 SkLine2DPathEffect::SkLine2DPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) { 109 fWidth = buffer.readScalar(); 113 SkFlattenable* SkLine2DPathEffect::CreateProc(SkReadBuffer& buffer) { 115 buffer.readMatrix(&matrix) [all...] |
/external/harfbuzz_ng/src/ |
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) [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioSignalFactory.cpp | 23 android::sp<Buffer> AudioSignalFactory::generateSineWave(AudioHardware::BytesPerSample BPS, 28 android::sp<Buffer> buffer(new Buffer(bufferSize)); 31 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData()); 42 buffer->setSize(buffer->getCapacity()); 43 return buffer; 45 android::sp<Buffer> AudioSignalFactory::generateWhiteNoise(AudioHardware::BytesPerSample BPS, 49 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize)) [all...] |
/external/chromium_org/third_party/icu/source/samples/ustring/ |
ustring.cpp | 151 UChar buffer[32]; local 156 buffer[0]=0; /* empty, NUL-terminated string */ 157 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */ 158 u_strcat(buffer, appendText); /* buffer=="Aabc" */ 159 length=u_strlen(buffer); /* length=4 */ 160 printUString("should be \"Aabc\": ", buffer, -1); 162 /* bitwise comparing buffer with text */ 163 compare=u_strcmp(buffer, text); 168 /* Build "A<sharp s>C" in the buffer... * 196 UChar buffer[32]; local 567 UChar buffer[200]; local [all...] |
/external/icu/icu4c/source/samples/ustring/ |
ustring.cpp | 151 UChar buffer[32]; local 156 buffer[0]=0; /* empty, NUL-terminated string */ 157 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */ 158 u_strcat(buffer, appendText); /* buffer=="Aabc" */ 159 length=u_strlen(buffer); /* length=4 */ 160 printUString("should be \"Aabc\": ", buffer, -1); 162 /* bitwise comparing buffer with text */ 163 compare=u_strcmp(buffer, text); 168 /* Build "A<sharp s>C" in the buffer... * 196 UChar buffer[32]; local 567 UChar buffer[200]; local [all...] |
/build/tools/fs_config/ |
fs_config.c | 75 char buffer[1024]; local 98 while (fgets(buffer, 1023, stdin) != NULL) { 101 for (i = 0; i < 1024 && buffer[i]; ++i) { 102 switch (buffer[i]) { 104 buffer[i-is_dir] = '\0'; 118 fs_config(buffer, is_dir, &uid, &gid, &mode, &capabilities); 119 printf("%s %d %d %o", buffer, uid, gid, mode); 122 size_t buffer_strlen = strnlen(buffer, sizeof(buffer)); 123 if (buffer_strlen >= sizeof(buffer)) { [all...] |
/external/chromium_org/components/nacl/browser/ |
nacl_validation_cache.cc | 89 std::string buffer; local 93 if (!iter.ReadString(&buffer)) 95 if (0 != buffer.compare(kValidationCacheBeginMagic)) 99 if (!iter.ReadString(&buffer)) 101 if (buffer.size() != kValidationCacheKeySize) 104 validation_cache_key_ = buffer; 111 if (!iter.ReadString(&buffer)) 113 if (buffer.size() != kValidationCacheEntrySize) 115 validation_cache_.Put(buffer, true); 119 if (!iter.ReadString(&buffer)) [all...] |
/external/chromium_org/third_party/icu/source/io/ |
sscanf.c | 34 u_sscanf(const UChar *buffer, 42 converted = u_vsscanf(buffer, patternSpecification, ap); 49 u_sscanf_u(const UChar *buffer, 57 converted = u_vsscanf_u(buffer, patternSpecification, ap); 64 u_vsscanf(const UChar *buffer, 86 converted = u_vsscanf_u(buffer, pattern, ap); 97 u_vsscanf_u(const UChar *buffer, 111 inStr.str.fBuffer = (UChar *)buffer; 112 inStr.str.fPos = (UChar *)buffer; 113 inStr.str.fLimit = buffer + u_strlen(buffer) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkLocalMatrixShader.cpp | 11 SkLocalMatrixShader::SkLocalMatrixShader(SkReadBuffer& buffer) : INHERITED(buffer) { 12 if (buffer.isVersionLT(SkReadBuffer::kSimplifyLocalMatrix_Version)) { 13 buffer.readMatrix(&(INHERITED::fLocalMatrix)); 15 fProxyShader.reset(buffer.readShader()); 22 SkFlattenable* SkLocalMatrixShader::CreateProc(SkReadBuffer& buffer) { 24 buffer.readMatrix(&lm); 25 SkAutoTUnref<SkShader> shader(buffer.readShader()); 32 void SkLocalMatrixShader::flatten(SkWriteBuffer& buffer) const { 33 buffer.writeMatrix(this->getLocalMatrix()) [all...] |
/external/e2fsprogs/lib/ss/ |
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, NL) [all...] |
/external/icu/icu4c/source/io/ |
sscanf.c | 34 u_sscanf(const UChar *buffer, 42 converted = u_vsscanf(buffer, patternSpecification, ap); 49 u_sscanf_u(const UChar *buffer, 57 converted = u_vsscanf_u(buffer, patternSpecification, ap); 64 u_vsscanf(const UChar *buffer, 86 converted = u_vsscanf_u(buffer, pattern, ap); 97 u_vsscanf_u(const UChar *buffer, 111 inStr.str.fBuffer = (UChar *)buffer; 112 inStr.str.fPos = (UChar *)buffer; 113 inStr.str.fLimit = buffer + u_strlen(buffer) [all...] |
/external/chromium_org/third_party/libevent/ |
buffer.c | 71 struct evbuffer *buffer; local 73 buffer = calloc(1, sizeof(struct evbuffer)); 75 return (buffer); 79 evbuffer_free(struct evbuffer *buffer) 81 if (buffer->orig_buffer != NULL) 82 free(buffer->orig_buffer); 83 free(buffer); 87 * This is a destructive add. The data from one buffer moves into 88 * the other buffer. 92 (x)->buffer = (y)->buffer; 139 char *buffer; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/ |
PerformanceResultsElement.java | 223 StringBuffer buffer = new StringBuffer(); local 225 buffer.append("Status for "); 226 buffer.append(getPerformanceResults().getName()); 227 buffer.append(Util.LINE_SEPARATOR); 230 buffer.append("Options: "); 231 buffer.append(Util.LINE_SEPARATOR); 234 buffer.append(" error level: "); 237 buffer.append("include all failures whatever the error level is"); 240 buffer.append("all failures with at least a noticeable error (> 3%) are excluded!"); 243 buffer.append("all failures with at least a suspicious error (> 25%) are excluded!") [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexParameterImpl.java | 31 private final DexBuffer buffer; field in class:DexParameterImpl 36 public DexParameterImpl(DexBuffer buffer, String typeName, 39 this.buffer = buffer; 51 buffer.setPosition(annotationOffset); 52 final int size = buffer.readUInt(); 54 annotations.add(new DexAnnotationImpl(buffer.createCopy(), 55 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
|
/development/host/windows/usb/api/ |
adb_endpoint_object.cpp | 50 ADBAPIHANDLE AdbEndpointObject::AsyncRead(void* buffer,
56 buffer,
63 ADBAPIHANDLE AdbEndpointObject::AsyncWrite(void* buffer,
69 buffer,
76 bool AdbEndpointObject::SyncRead(void* buffer,
81 buffer,
87 bool AdbEndpointObject::SyncWrite(void* buffer,
92 buffer,
|
/development/ndk/platforms/android-3/include/ |
libgen.h | 42 * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned 43 * otherwise, place result in 'buffer' 49 * ERANGE: buffer is too short 52 extern int dirname_r(const char* path, char* buffer, size_t bufflen); 53 extern int basename_r(const char* path, char* buffer, size_t bufflen);
|
/development/ndk/platforms/android-L/include/ |
libgen.h | 42 * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned 43 * otherwise, place result in 'buffer' 49 * ERANGE: buffer is too short 52 extern int dirname_r(const char* path, char* buffer, size_t bufflen); 53 extern int basename_r(const char* path, char* buffer, size_t bufflen);
|
/device/asus/fugu/dumpstate/ |
dumpstate.c | 53 /* buffer size multiple of 3 for ease of use */ 54 unsigned char buffer[1200]; local 58 int ret = read(fd, &buffer[left], sizeof(buffer) - left); 65 base64_output3(&buffer[ofs], 3); 75 memmove(buffer, &buffer[ofs], left); 88 buffer[count++] = 0; 90 base64_output3(buffer, left);
|
/external/apache-http/src/org/apache/http/message/ |
BasicLineFormatter.java | 86 * Obtains a buffer for formatting. 88 * @param buffer a buffer already available, or <code>null</code> 90 * @return the cleared argument buffer if there is one, or 91 * a new empty buffer that can be used for formatting 93 protected CharArrayBuffer initBuffer(CharArrayBuffer buffer) { 94 if (buffer != null) { 95 buffer.clear(); 97 buffer = new CharArrayBuffer(64); 99 return buffer; [all...] |