/external/libtextclassifier/native/utils/flatbuffers/ |
D | reflection.cc | 28 const int field_offset) { in GetFieldOrNull() argument 33 if (field->offset() == field_offset) { in GetFieldOrNull() 42 const int field_offset) { in GetFieldOrNull() argument 48 return GetFieldOrNull(type, field_offset); in GetFieldOrNull() 55 return GetFieldOrNull(type, field->field_offset()); in GetFieldOrNull() 60 field->field_offset()); in GetFieldOrNull() 66 return GetFieldOrNull(type, field->field_name, field->field_offset); in GetFieldOrNull() 114 path->field[i]->field_offset = field->offset(); in SwapFieldNamesForOffsetsInPath()
|
D | reflection_test.cc | 41 EXPECT_EQ(14, path.field[0]->field_offset); in TEST() 43 EXPECT_EQ(4, path.field[1]->field_offset); in TEST()
|
D | reflection.h | 154 const int field_offset); 159 const int field_offset);
|
D | flatbuffers.fbs | 24 field_offset:int;
|
D | mutable_test.cc | 163 path.field.back()->field_offset = 14; in TEST_F() 165 path.field.back()->field_offset = 4; in TEST_F()
|
D | mutable.cc | 136 const int field_offset) const { in GetFieldOrNull() 137 return libtextclassifier3::GetFieldOrNull(type_, field_offset); in GetFieldOrNull()
|
D | mutable.h | 76 const reflection::Field* GetFieldOrNull(const int field_offset) const;
|
/external/flatbuffers/tests/ |
D | JavaScriptTest.js | 351 var field_offset = offset + view.getInt16(vtable + vtable_offset, true); 353 case 0: assert.strictEqual(!!view.getInt8(field_offset), bool_val); break; 354 case 1: assert.strictEqual(view.getInt8(field_offset), char_val); break; 355 case 2: assert.strictEqual(view.getUint8(field_offset), uchar_val); break; 356 case 3: assert.strictEqual(view.getInt16(field_offset, true), short_val); break; 357 case 4: assert.strictEqual(view.getUint16(field_offset, true), ushort_val); break; 358 case 5: assert.strictEqual(view.getInt32(field_offset, true), int_val); break; 359 case 6: assert.strictEqual(view.getUint32(field_offset, true), uint_val); break; 360 …: assert.strictEqual(view.getInt32(field_offset, true), long_val.low); assert.strictEqual(view.ge… 361 … assert.strictEqual(view.getInt32(field_offset, true), ulong_val.low); assert.strictEqual(view.ge… [all …]
|
D | phpTest.php | 285 $field_offset = $offset + $view->getShort($vtable + $vtable_offset); 288 $assert->strictEqual(!!$view->getBool($field_offset), $bool_val); 291 $assert->strictEqual($view->getSbyte($field_offset), $char_val); 294 $assert->strictEqual($view->getByte($field_offset), $uchar_val); 297 $assert->strictEqual($view->getShort($field_offset), $short_val); 300 $assert->strictEqual($view->getUShort($field_offset), $ushort_val); 303 $assert->strictEqual($view->getInt($field_offset), $int_val); 306 $assert->strictEqual($view->getUint($field_offset), $uint_val); 310 $assert->strictEqual($view->getLong($field_offset), $long_val); 314 $assert->strictEqual($view->getUlong($field_offset), $ulong_val); [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_buffer_access.cpp | 67 unsigned int field_offset = 0; in emit_access() local 81 field_offset = glsl_align(field_offset, field_align); in emit_access() 84 deref_offset + field_offset, in emit_access() 89 field_offset += field->type->std430_size(row_major); in emit_access() 91 field_offset += field->type->std140_size(row_major); in emit_access()
|
/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 2435 auto field_offset = GetOptionalFieldOffset(field); 2436 return field_offset ? ReadScalar<T>(data_ + field_offset) : defaultval; 2440 auto field_offset = GetOptionalFieldOffset(field); 2441 auto p = data_ + field_offset; 2442 return field_offset ? reinterpret_cast<P>(p + ReadScalar<uoffset_t>(p)) 2450 auto field_offset = GetOptionalFieldOffset(field); 2451 auto p = const_cast<uint8_t *>(data_ + field_offset); 2452 return field_offset ? reinterpret_cast<P>(p) : nullptr; 2456 auto field_offset = GetOptionalFieldOffset(field); 2457 if (!field_offset) return IsTheSameAs(val, def); [all …]
|
/external/rust/crates/bindgen/src/codegen/ |
D | struct_layout.rs | 160 field_offset: Option<usize>, in saw_field() 183 self.saw_field_with_layout(field_name, field_layout, field_offset) in saw_field() 190 field_offset: Option<usize>, in saw_field_with_layout() 195 let padding_bytes = match field_offset { in saw_field_with_layout() 234 field_offset.unwrap_or(0) / 8, in saw_field_with_layout()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | proto_trace_tokenizer.h | 127 size_t field_offset = whole_buf.offset_of(packet.data); in ParseInternal() local 128 TraceBlobView sliced = whole_buf.slice(field_offset, packet.size); in ParseInternal()
|
/external/python/cffi/cffi/ |
D | parse_c_type.h | 127 size_t field_offset; member
|
D | recompiler.py | 28 def __init__(self, name, field_offset, field_size, fbitsize, field_type_op): argument 30 self.field_offset = field_offset 37 return (' { "%s", %s,\n' % (self.name, self.field_offset) +
|
/external/flatbuffers/src/ |
D | reflection.cpp | 503 voffset_t field_offset, const reflection::Object &obj, in VerifyStruct() argument 505 auto offset = parent_table.GetOptionalFieldOffset(field_offset); in VerifyStruct() 514 voffset_t field_offset, in VerifyVectorOfStructs() argument 516 auto p = parent_table.GetPointer<const uint8_t *>(field_offset); in VerifyVectorOfStructs()
|
/external/mesa3d/src/panfrost/lib/ |
D | gen_pack.py | 405 field_offset = offset + field.start 409 self.collect_fields(sub_struct.fields, field_offset, field_path + '.', all_fields) 412 start = field_offset
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instrument_pass.h | 318 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | instrument_pass.h | 318 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | instrument_pass.h | 318 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
|
/external/python/cffi/c/ |
D | realize_c_type.c | 740 if (ctf != NULL && fld->field_offset == (size_t)-1) { in do_realize_lazy_struct() 755 fbitsize, (Py_ssize_t)fld->field_offset); in do_realize_lazy_struct()
|
D | cdlopen.c | 267 nfields[nf].field_offset = (size_t)-1; in ffiobj_init()
|
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | struct_definition.tmpl | 106 {%- set offset = packed_field|field_offset %}
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io.c | 223 unsigned field_offset = 0; in get_io_offset() local 225 field_offset += type_size(glsl_get_struct_field(parent->type, i), bts); in get_io_offset() 227 offset = nir_iadd_imm(b, offset, field_offset); in get_io_offset() 2363 const int field_offset = glsl_get_struct_field_offset(type, i); in write_constant() local 2364 assert(field_offset >= 0); in write_constant() 2366 write_constant((char *)dst + field_offset, c->elements[i], field_type); in write_constant()
|
D | nir_deref.c | 346 unsigned field_offset = in nir_build_deref_offset() local 349 offset = nir_iadd_imm(b, offset, field_offset); in nir_build_deref_offset()
|