Home
last modified time | relevance | path

Searched refs:field_offset (Results 1 – 25 of 41) sorted by relevance

12

/external/u-boot/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c99 int field_offset; in mvebu_pinctrl_set_state() local
111 field_offset = (BITS_PER_PIN) * (pin & PIN_FIELD_MASK); in mvebu_pinctrl_set_state()
114 PIN_FUNC_MASK << field_offset, in mvebu_pinctrl_set_state()
115 (function & PIN_FUNC_MASK) << field_offset); in mvebu_pinctrl_set_state()
156 int field_offset; in mvebu_pinctrl_set_state_all() local
172 field_offset = (BITS_PER_PIN) * (pin & PIN_FIELD_MASK); in mvebu_pinctrl_set_state_all()
175 PIN_FUNC_MASK << field_offset, in mvebu_pinctrl_set_state_all()
176 (func & PIN_FUNC_MASK) << field_offset); in mvebu_pinctrl_set_state_all()
/external/flatbuffers/tests/
DJavaScriptTest.js349 var field_offset = offset + view.getInt16(vtable + vtable_offset, true);
351 case 0: assert.strictEqual(!!view.getInt8(field_offset), bool_val); break;
352 case 1: assert.strictEqual(view.getInt8(field_offset), char_val); break;
353 case 2: assert.strictEqual(view.getUint8(field_offset), uchar_val); break;
354 case 3: assert.strictEqual(view.getInt16(field_offset, true), short_val); break;
355 case 4: assert.strictEqual(view.getUint16(field_offset, true), ushort_val); break;
356 case 5: assert.strictEqual(view.getInt32(field_offset, true), int_val); break;
357 case 6: assert.strictEqual(view.getUint32(field_offset, true), uint_val); break;
358 …: assert.strictEqual(view.getInt32(field_offset, true), long_val.low); assert.strictEqual(view.ge…
359 … assert.strictEqual(view.getInt32(field_offset, true), ulong_val.low); assert.strictEqual(view.ge…
[all …]
DphpTest.php285 $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/u-boot/drivers/pinctrl/broadcom/
Dpinctrl-bcm283x.c36 int field_offset; in bcm2835_gpio_set_func_id() local
39 field_offset = BCM2835_GPIO_FSEL_SHIFT(gpio); in bcm2835_gpio_set_func_id()
42 BCM2835_GPIO_FSEL_MASK << field_offset, in bcm2835_gpio_set_func_id()
43 (func & BCM2835_GPIO_FSEL_MASK) << field_offset); in bcm2835_gpio_set_func_id()
/external/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp67 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/
Dflatbuffers.h2268 auto field_offset = GetOptionalFieldOffset(field);
2269 return field_offset ? ReadScalar<T>(data_ + field_offset) : defaultval;
2273 auto field_offset = GetOptionalFieldOffset(field);
2274 auto p = data_ + field_offset;
2275 return field_offset ? reinterpret_cast<P>(p + ReadScalar<uoffset_t>(p))
2283 auto field_offset = GetOptionalFieldOffset(field);
2284 auto p = const_cast<uint8_t *>(data_ + field_offset);
2285 return field_offset ? reinterpret_cast<P>(p) : nullptr;
2289 auto field_offset = GetOptionalFieldOffset(field);
2290 if (!field_offset) return IsTheSameAs(val, def);
[all …]
/external/v8/src/profiler/
Dheap-snapshot-generator.h405 Object callback_obj, int field_offset = -1);
410 bool IsEssentialHiddenReference(Object parent, int field_offset);
413 Object child, int field_offset);
418 Object child, int field_offset = -1);
420 int field_offset = -1);
422 int index, Object child, int field_offset);
424 Object child_obj, int field_offset);
426 int field_offset);
430 int field_offset = -1);
434 int field_offset = -1);
Dheap-snapshot-generator.cc1342 int field_offset = in ExtractPropertyReferences() local
1346 nullptr, field_offset); in ExtractPropertyReferences()
1384 int field_offset) { in ExtractAccessorPairProperty() argument
1387 SetPropertyReference(entry, key, accessors, nullptr, field_offset); in ExtractAccessorPairProperty()
1575 int field_offset) { in IsEssentialHiddenReference() argument
1577 field_offset == AllocationSite::kWeakNextOffset) in IsEssentialHiddenReference()
1580 field_offset == CodeDataContainer::kNextCodeLinkOffset) in IsEssentialHiddenReference()
1583 field_offset == Context::OffsetOfElementAt(Context::NEXT_CONTEXT_LINK)) in IsEssentialHiddenReference()
1590 Object child_obj, int field_offset) { in SetContextReference() argument
1595 MarkVisitedField(field_offset); in SetContextReference()
[all …]
/external/libtextclassifier/native/utils/
Dflatbuffers.cc37 const int field_offset) { in GetFieldOrNull() argument
42 if (field->offset() == field_offset) { in GetFieldOrNull()
51 const int field_offset) { in GetFieldOrNull() argument
57 return GetFieldOrNull(type, field_offset); in GetFieldOrNull()
64 return GetFieldOrNull(type, field->field_offset()); in GetFieldOrNull()
69 field->field_offset()); in GetFieldOrNull()
75 return GetFieldOrNull(type, field->field_name, field->field_offset); in GetFieldOrNull()
182 const int field_offset) const { in GetFieldOrNull()
183 return libtextclassifier3::GetFieldOrNull(type_, field_offset); in GetFieldOrNull()
602 path->field[i]->field_offset = field->offset(); in SwapFieldNamesForOffsetsInPath()
Dflatbuffers.fbs24 field_offset:int;
/external/v8/src/objects/
Ddebug-objects.cc363 int CoverageInfo::SlotFieldOffset(int slot_index, int field_offset) const { in SlotFieldOffset()
364 DCHECK_LT(field_offset, Slot::kSize); in SlotFieldOffset()
366 return kSlotsOffset + slot_index * Slot::kSize + field_offset; in SlotFieldOffset()
Ddebug-objects.h192 int SlotFieldOffset(int slot_index, int field_offset) const;
Dheap-object.h209 inline Address GetFieldAddress(int field_offset) const;
/external/flatbuffers/src/
Dreflection.cpp493 voffset_t field_offset, const reflection::Object &obj, in VerifyStruct() argument
495 auto offset = parent_table.GetOptionalFieldOffset(field_offset); in VerifyStruct()
505 voffset_t field_offset, in VerifyVectorOfStructs() argument
507 auto p = parent_table.GetPointer<const uint8_t *>(field_offset); in VerifyVectorOfStructs()
/external/python/cffi/cffi/
Dparse_c_type.h127 size_t field_offset; member
Drecompiler.py28 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/v8/src/wasm/
Dstruct-types.h59 uint32_t field_offset(uint32_t index) const { in field_offset() function
/external/mesa3d/src/panfrost/lib/
Dgen_pack.py405 field_offset = offset + field.start
409 self.collect_fields(sub_struct.fields, field_offset, field_path + '.', all_fields)
412 start = field_offset
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_tokenizer.cc168 size_t field_offset = whole_buf.offset_of(packet.data); in ParseInternal() local
170 ParsePacket(whole_buf.slice(field_offset, packet.size)); in ParseInternal()
/external/angle/third_party/spirv-tools/src/source/opt/
Dinstrument_pass.h313 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstrument_pass.h313 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstrument_pass.h306 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
/external/python/cffi/c/
Drealize_c_type.c740 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()
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dstruct_definition.tmpl106 {%- set offset = packed_field|field_offset %}
/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c223 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()

12