Home
last modified time | relevance | path

Searched refs:raw_buffer (Results 1 – 11 of 11) sorted by relevance

/external/python/pyyaml/lib/yaml/
Dreader.py66 self.raw_buffer = None
78 self.raw_buffer = stream
84 self.raw_buffer = None
123 while not self.eof and (self.raw_buffer is None or len(self.raw_buffer) < 2):
125 if isinstance(self.raw_buffer, bytes):
126 if self.raw_buffer.startswith(codecs.BOM_UTF16_LE):
129 elif self.raw_buffer.startswith(codecs.BOM_UTF16_BE):
147 if self.raw_buffer is None:
156 data, converted = self.raw_decode(self.raw_buffer,
159 character = self.raw_buffer[exc.start]
[all …]
/external/tensorflow/tensorflow/lite/
Dstring_util.cc123 int GetStringCount(const void* raw_buffer) { in GetStringCount() argument
125 return *static_cast<const int32_t*>(raw_buffer); in GetStringCount()
133 StringRef GetString(const void* raw_buffer, int string_index) { in GetString() argument
135 static_cast<const int32_t*>(raw_buffer) + (string_index + 1); in GetString()
137 static_cast<const char*>(raw_buffer) + (*offset), in GetString()
Dstring_util.h100 int GetStringCount(const void* raw_buffer);
105 StringRef GetString(const void* raw_buffer, int string_index);
/external/libcxxabi/src/
Dcxa_exception.cpp191 char *raw_buffer = in __cxa_allocate_exception() local
193 if (NULL == raw_buffer) in __cxa_allocate_exception()
196 static_cast<__cxa_exception *>((void *)(raw_buffer + header_offset)); in __cxa_allocate_exception()
206 char *raw_buffer = in __cxa_free_exception() local
208 __aligned_free_with_fallback((void *)raw_buffer); in __cxa_free_exception()
/external/rust/crates/serde_json/src/
Dread.rs155 raw_buffer: Option<Vec<u8>>, field
197 raw_buffer: None, in new()
255 if let Some(ref mut buf) = self.raw_buffer { in next()
266 if let Some(ref mut buf) = self.raw_buffer { in next()
301 if let Some(ref mut buf) = self.raw_buffer { in discard()
375 self.raw_buffer = Some(Vec::new()); in begin_raw_buffering()
383 let raw = self.raw_buffer.take().unwrap(); in end_raw_buffering()
/external/python/cpython2/Modules/_sqlite/
Dcursor.c301 void* raw_buffer; in _pysqlite_fetch_one_row() local
388 if (PyObject_AsWriteBuffer(buffer, &raw_buffer, &nbytes)) { in _pysqlite_fetch_one_row()
391 memcpy(raw_buffer, sqlite3_column_blob(self->statement->st, i), nbytes); in _pysqlite_fetch_one_row()
Dconnection.c594 void* raw_buffer; in _pysqlite_build_py_params() local
626 if (PyObject_AsWriteBuffer(cur_py_value, &raw_buffer, &buflen)) { in _pysqlite_build_py_params()
631 memcpy(raw_buffer, sqlite3_value_blob(cur_value), buflen); in _pysqlite_build_py_params()
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/testing/xds/v3/
Dlistener.proto116 // * ``raw_buffer`` - default, used when no transport protocol is detected,
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c375 static void zz_motion_search(MACROBLOCK *x, YV12_BUFFER_CONFIG *raw_buffer, in zz_motion_search() argument
386 int raw_stride = raw_buffer->y_stride; in zz_motion_search()
391 raw_ptr = (unsigned char *)(raw_buffer->y_buffer + recon_yoffset + d->offset); in zz_motion_search()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2156 llvm::Value* raw_buffer = in HandleSliceToDynamic() local
2164 b_.getInt8Ty(), raw_buffer, raw_data_size + dim_index * sizeof(int32)); in HandleSliceToDynamic()
2206 llvm::Value* raw_buffer = in HandlePadToStatic() local
2226 b_.getInt8Ty(), raw_buffer, raw_data_size + dim_index * sizeof(int32)); in HandlePadToStatic()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc702 llvm::Value* raw_buffer = in EmitPadToStatic() local
723 b_.getInt8Ty(), raw_buffer, raw_data_size + dim_index * sizeof(int32)); in EmitPadToStatic()
835 llvm::Value* raw_buffer = in EmitSliceToDynamic() local
858 b_.getInt8Ty(), raw_buffer, in EmitSliceToDynamic()