Home
last modified time | relevance | path

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

/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/llvm-project/libcxxabi/src/
Dcxa_exception.cpp189 char *raw_buffer = in __cxa_allocate_exception() local
191 if (NULL == raw_buffer) in __cxa_allocate_exception()
194 static_cast<__cxa_exception *>((void *)(raw_buffer + header_offset)); in __cxa_allocate_exception()
204 char *raw_buffer = in __cxa_free_exception() local
206 __aligned_free_with_fallback((void *)raw_buffer); in __cxa_free_exception()
/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.rs151 raw_buffer: Option<Vec<u8>>, field
193 raw_buffer: None, in new()
251 if let Some(ref mut buf) = self.raw_buffer { in next()
262 if let Some(ref mut buf) = self.raw_buffer { in next()
297 if let Some(ref mut buf) = self.raw_buffer { in discard()
371 self.raw_buffer = Some(Vec::new()); in begin_raw_buffering()
379 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/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.cc2150 llvm::Value* raw_buffer = in HandleSliceToDynamic() local
2158 b_.getInt8Ty(), raw_buffer, raw_data_size + dim_index * sizeof(int32)); in HandleSliceToDynamic()
2200 llvm::Value* raw_buffer = in HandlePadToStatic() local
2220 b_.getInt8Ty(), raw_buffer, raw_data_size + dim_index * sizeof(int32)); in HandlePadToStatic()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc839 llvm::Value* raw_buffer = in EmitPadToStaticFromMlir() local
860 b_.getInt8Ty(), raw_buffer, raw_data_size + dim_index * sizeof(int32)); in EmitPadToStaticFromMlir()
975 llvm::Value* raw_buffer = in EmitSliceToDynamicFromMlir() local
998 b_.getInt8Ty(), raw_buffer, in EmitSliceToDynamicFromMlir()