HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 226 - 250 of 10927) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/opencv3/modules/core/include/opencv2/core/cuda/
block.hpp 132 static __device__ __forceinline__ void reduce(volatile T* buffer, BinOp op)
135 T val = buffer[tid];
137 if (CTA_SIZE >= 1024) { if (tid < 512) buffer[tid] = val = op(val, buffer[tid + 512]); __syncthreads(); }
138 if (CTA_SIZE >= 512) { if (tid < 256) buffer[tid] = val = op(val, buffer[tid + 256]); __syncthreads(); }
139 if (CTA_SIZE >= 256) { if (tid < 128) buffer[tid] = val = op(val, buffer[tid + 128]); __syncthreads(); }
140 if (CTA_SIZE >= 128) { if (tid < 64) buffer[tid] = val = op(val, buffer[tid + 64]); __syncthreads();
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/
BufferUtils.java 19 import java.nio.Buffer;
33 /** Class with static helper methods to increase the speed of array/direct buffer and direct buffer/direct buffer transfers
37 /** Copies numFloats floats from src starting at offset to dst. Dst is assumed to be a direct {@link Buffer}. The method will
38 * crash if that is not the case. The position and limit of the buffer are ignored, the copy is placed at position 0 in the
39 * buffer. After the copying process the position of the buffer is set to 0 and its limit is set to numFloats * 4 if it is a
40 * ByteBuffer and numFloats if it is a FloatBuffer. In case the Buffer is neither a ByteBuffer nor a FloatBuffer the limit is
44 * @param dst the destination buffer, has to be a direct Buffer
89 ShortBuffer buffer = null; local
111 CharBuffer buffer = null; local
133 IntBuffer buffer = null; local
155 LongBuffer buffer = null; local
177 FloatBuffer buffer = asFloatBuffer(dst); local
195 DoubleBuffer buffer = null; local
216 CharBuffer buffer = null; local
236 IntBuffer buffer = null; local
256 LongBuffer buffer = null; local
276 FloatBuffer buffer = asFloatBuffer(dst); local
291 DoubleBuffer buffer = null; local
340 FloatBuffer buffer = null; local
364 FloatBuffer buffer = asFloatBuffer(data); local
396 FloatBuffer buffer = asFloatBuffer(data); local
471 ByteBuffer buffer = ByteBuffer.allocateDirect(numFloats * 4); local
481 ByteBuffer buffer = ByteBuffer.allocateDirect(numDoubles * 8); local
491 ByteBuffer buffer = ByteBuffer.allocateDirect(numBytes); local
501 ByteBuffer buffer = ByteBuffer.allocateDirect(numShorts * 2); local
511 ByteBuffer buffer = ByteBuffer.allocateDirect(numChars * 2); local
521 ByteBuffer buffer = ByteBuffer.allocateDirect(numInts * 4); local
    [all...]
SerializationException.java 53 StringBuffer buffer = new StringBuffer(512);
54 buffer.append(super.getMessage());
55 if (buffer.length() > 0) buffer.append('\n');
56 buffer.append("Serialization trace:");
57 buffer.append(trace);
58 return buffer.toString();
  /external/v8/test/cctest/
test-fast-dtoa.cc 58 Vector<char> buffer(buffer_container, kBufferSize);
65 buffer, &length, &point);
67 CHECK_EQ(0, strcmp("5", buffer.start()));
72 buffer, &length, &point);
74 CHECK_EQ(0, strcmp("17976931348623157", buffer.start()));
78 buffer, &length, &point);
80 CHECK_EQ(0, strcmp("4294967272", buffer.start()));
84 buffer, &length, &point);
86 CHECK_EQ(0, strcmp("4185580496821357", buffer.start()));
90 buffer, &length, &point)
    [all...]
  /external/tpm2/
tpm_generated.h 16 UINT16 uint8_t_Marshal(uint8_t* source, BYTE** buffer, INT32* size);
18 TPM_RC uint8_t_Unmarshal(uint8_t* target, BYTE** buffer, INT32* size);
20 UINT16 int8_t_Marshal(int8_t* source, BYTE** buffer, INT32* size);
22 TPM_RC int8_t_Unmarshal(int8_t* target, BYTE** buffer, INT32* size);
24 UINT16 uint16_t_Marshal(uint16_t* source, BYTE** buffer, INT32* size);
26 TPM_RC uint16_t_Unmarshal(uint16_t* target, BYTE** buffer, INT32* size);
28 UINT16 int16_t_Marshal(int16_t* source, BYTE** buffer, INT32* size);
30 TPM_RC int16_t_Unmarshal(int16_t* target, BYTE** buffer, INT32* size);
32 UINT16 uint32_t_Marshal(uint32_t* source, BYTE** buffer, INT32* size);
34 TPM_RC uint32_t_Unmarshal(uint32_t* target, BYTE** buffer, INT32* size)
    [all...]
  /external/apache-http/src/org/apache/http/entity/
BufferedHttpEntity.java 47 * buffer once and provided from there as often as required.
62 private final byte[] buffer; field in class:BufferedHttpEntity
67 this.buffer = EntityUtils.toByteArray(entity);
69 this.buffer = null;
74 if (this.buffer != null) {
75 return this.buffer.length;
82 if (this.buffer != null) {
83 return new ByteArrayInputStream(this.buffer);
95 return (buffer == null) && wrappedEntity.isChunked();
112 if (this.buffer != null)
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
CalculateCRC32.java 52 public static int computeCRC32(String buffer) {
53 return computeCRC32(buffer, 0xFFFFFFFF);
56 public static int computeCRC32(byte buffer[]) {
57 return computeCRC32(buffer, 0xFFFFFFFF);
60 public static int computeCRC32(String buffer, int crc){
61 return computeCRC32(buffer.getBytes(), crc);
64 public static int computeCRC32(byte buffer[], int crc) {
65 return computeCRC32(buffer, 0, buffer.length, crc);
68 public static int computeCRC32(byte buffer[], int start, int count, int lastcrc)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
ByteBufferHelper.java 29 for (ByteBuffer buffer : samples) {
31 if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() == nuSamples.get(lastIndex).array() &&
32 nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset()) {
34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice();
38 buffer instanceof MappedByteBuffer && nuSamples.get(lastIndex) instanceof MappedByteBuffer &&
39 nuSamples.get(lastIndex).limit() == nuSamples.get(lastIndex).capacity() - buffer.capacity()) {
42 oldBuffer.limit(buffer.limit() + oldBuffer.limit());
44 buffer.rewind()
    [all...]
  /external/sfntly/cpp/src/sfntly/port/
memory_output_stream.cc 27 void MemoryOutputStream::Write(ByteVector* buffer) {
28 store_.insert(store_.end(), buffer->begin(), buffer->end());
31 void MemoryOutputStream::Write(ByteVector* buffer,
34 assert(buffer);
37 buffer->begin() + offset,
38 buffer->begin() + offset + length);
46 void MemoryOutputStream::Write(byte_t* buffer, int32_t offset, int32_t length) {
47 assert(buffer);
49 store_.insert(store_.end(), buffer + offset, buffer + offset + length)
    [all...]
  /libcore/ojluni/src/main/java/java/nio/
CharBufferSpliterator.java 40 private final CharBuffer buffer; field in class:CharBufferSpliterator
44 CharBufferSpliterator(CharBuffer buffer) {
45 this(buffer, buffer.position(), buffer.limit());
48 CharBufferSpliterator(CharBuffer buffer, int origin, int limit) {
50 this.buffer = buffer;
60 : new CharBufferSpliterator(buffer, lo, index = mid);
67 CharBuffer cb = buffer;
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_OutputStream.java 17 private byte[] buffer; field in class:Support_OutputStream
35 buffer = new byte[bufferSize];
58 public void write(byte buffer[]) throws IOException {
62 for (int i = 0; i < buffer.length; i++) {
63 write(buffer[i]);
68 public void write(byte buffer[], int offset, int count) throws IOException {
72 if (offset < 0 || count < 0 || (offset + count) > buffer.length) {
76 write(buffer[i]);
86 buffer[position] = (byte)(oneByte & 255);
89 throw new IOException("Internal buffer overflow.")
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/
bigram_list_read_write_utils.cpp 42 const ReadOnlyByteArrayView buffer, BigramFlags *const outBigramFlags,
44 if (static_cast<int>(buffer.size()) <= *bigramEntryPos) {
46 "bigramEntryPos: %d.", buffer.size(), *bigramEntryPos);
49 const BigramFlags bigramFlags = ByteArrayUtils::readUint8AndAdvancePosition(buffer.data(),
54 const int targetPos = getBigramAddressAndAdvancePosition(buffer, bigramFlags, bigramEntryPos);
61 /* static */ bool BigramListReadWriteUtils::skipExistingBigrams(const ReadOnlyByteArrayView buffer,
65 if (!getBigramEntryPropertiesAndAdvancePosition(buffer, &flags, 0 /* outTargetPtNodePos */,
74 const ReadOnlyByteArrayView buffer, const BigramFlags flags, int *const pos) {
79 offset = ByteArrayUtils::readUint8AndAdvancePosition(buffer.data(), pos);
82 offset = ByteArrayUtils::readUint16AndAdvancePosition(buffer.data(), pos)
    [all...]
  /system/connectivity/dhcp_client/
dhcp_options_parser.h 26 virtual bool GetOption(const uint8_t* buffer,
35 bool GetOption(const uint8_t* buffer,
43 bool GetOption(const uint8_t* buffer,
51 bool GetOption(const uint8_t* buffer,
59 bool GetOption(const uint8_t* buffer,
67 bool GetOption(const uint8_t* buffer,
75 bool GetOption(const uint8_t* buffer,
83 bool GetOption(const uint8_t* buffer,
91 bool GetOption(const uint8_t* buffer,
99 bool GetOption(const uint8_t* buffer,
    [all...]
dhcp_options_writer.h 34 int WriteUInt8Option(shill::ByteString* buffer,
37 int WriteUInt16Option(shill::ByteString* buffer,
40 int WriteUInt32Option(shill::ByteString* buffer,
43 int WriteUInt8ListOption(shill::ByteString* buffer,
46 int WriteUInt16ListOption(shill::ByteString* buffer,
49 int WriteUInt32ListOption(shill::ByteString* buffer,
52 int WriteUInt32PairListOption(shill::ByteString* buffer,
55 int WriteBoolOption(shill::ByteString* buffer,
58 int WriteStringOption(shill::ByteString* buffer,
61 int WriteByteArrayOption(shill::ByteString* buffer,
    [all...]
  /external/apache-http/src/org/apache/http/auth/
AuthState.java 143 StringBuilder buffer = new StringBuilder(); local
144 buffer.append("auth scope [");
145 buffer.append(this.authScope);
146 buffer.append("]; credentials set [");
147 buffer.append(this.credentials != null ? "true" : "false");
148 buffer.append("]");
149 return buffer.toString();
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/lib/Support/
Errno.cpp 43 char buffer[MaxErrStrLen]; local
44 buffer[0] = '\0';
51 // which may not use the buffer supplied.
52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
54 strerror_r(errnum, buffer, MaxErrStrLen - 1);
55 str = buffer;
58 strerror_s(buffer, MaxErrStrLen - 1, errnum);
59 str = buffer;
62 // the buffer as fast as possible to minimize impact
  /external/nist-sip/java/gov/nist/javax/sip/header/
RecordRoute.java 77 protected StringBuffer encodeBody(StringBuffer buffer) {
79 buffer.append(LESS_THAN);
81 address.encode(buffer);
83 buffer.append(GREATER_THAN);
87 buffer.append(SEMICOLON);
88 this.parameters.encode(buffer);
90 return buffer;
  /external/webrtc/talk/app/webrtc/
sctputils.cc 30 #include "webrtc/base/buffer.h"
51 bool IsOpenMessage(const rtc::Buffer& payload) {
55 rtc::ByteBuffer buffer(payload);
57 if (!buffer.ReadUInt8(&message_type)) {
64 bool ParseDataChannelOpenMessage(const rtc::Buffer& payload,
70 rtc::ByteBuffer buffer(payload);
72 if (!buffer.ReadUInt8(&message_type)) {
83 if (!buffer.ReadUInt8(&channel_type)) {
89 if (!buffer.ReadUInt16(&priority)) {
94 if (!buffer.ReadUInt32(&reliability_param))
    [all...]
  /frameworks/av/media/libstagefright/
XINGSeeker.cpp 85 uint8_t buffer[4]; local
87 if (source->readAt(offset, &buffer, 4) < 4) { // get header
92 int header = U32_AT(buffer);;
103 uint8_t version = (buffer[1] >> 3) & 3;
116 if (source->readAt(offset, &buffer, 4) < 4) { // XING header ID
121 if ((buffer[0] != 'X') || (buffer[1] != 'i')
122 || (buffer[2] != 'n') || (buffer[3] != 'g')) {
123 if ((buffer[0] != 'I') || (buffer[1] != 'n'
    [all...]

Completed in 4674 milliseconds

1 2 3 4 5 6 7 8 91011>>