Home
last modified time | relevance | path

Searched refs:field_offset (Results 1 – 25 of 27) 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.h417 Object* callback_obj, int field_offset = -1);
422 bool IsEssentialHiddenReference(Object* parent, int field_offset);
428 int field_offset);
441 int field_offset = -1);
446 int field_offset = -1);
448 Object* child, int field_offset);
453 int field_offset);
458 int field_offset);
462 int field_offset = -1);
466 int field_offset = -1);
Dheap-snapshot-generator.cc1446 int field_offset = in ExtractPropertyReferences() local
1450 value, nullptr, field_offset); in ExtractPropertyReferences()
1496 int field_offset) { in ExtractAccessorPairProperty() argument
1499 SetPropertyReference(js_obj, entry, key, accessors, nullptr, field_offset); in ExtractAccessorPairProperty()
1674 int field_offset) { in IsEssentialHiddenReference() argument
1676 field_offset == AllocationSite::kWeakNextOffset) in IsEssentialHiddenReference()
1679 field_offset == CodeDataContainer::kNextCodeLinkOffset) in IsEssentialHiddenReference()
1682 field_offset == Context::OffsetOfElementAt(Context::NEXT_CONTEXT_LINK)) in IsEssentialHiddenReference()
1691 int field_offset) { in SetContextReference() argument
1697 MarkVisitedField(field_offset); in SetContextReference()
[all …]
/external/libtextclassifier/utils/
Dflatbuffers.cc101 return GetFieldByOffsetOrNull(field->field_offset()); in GetFieldOrNull()
127 const int field_offset) const { in GetFieldByOffsetOrNull()
132 if (field->offset() == field_offset) { in GetFieldByOffsetOrNull()
Dflatbuffers.fbs24 field_offset:int;
Dflatbuffers_test.cc190 path.field.back()->field_offset = 14; in TEST()
192 path.field.back()->field_offset = 4; in TEST()
Dflatbuffers.h193 const reflection::Field* GetFieldByOffsetOrNull(const int field_offset) const;
/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c146 unsigned field_offset = 0; in get_io_offset() local
148 field_offset += type_size(glsl_get_struct_field(parent_type, i)); in get_io_offset()
150 offset = nir_iadd(b, offset, nir_imm_int(b, field_offset)); in get_io_offset()
/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/deqp-deps/SPIRV-Tools/source/opt/
Dinstrument_pass.h248 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
Dinstrument_pass.cpp100 uint32_t field_offset, in GenDebugOutputFieldCode() argument
108 builder->GetUintConstantId(field_offset)); in GenDebugOutputFieldCode()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstrument_pass.h249 void GenDebugOutputFieldCode(uint32_t base_offset_id, uint32_t field_offset,
Dinstrument_pass.cpp100 uint32_t field_offset, in GenDebugOutputFieldCode() argument
108 builder->GetUintConstantId(field_offset)); in GenDebugOutputFieldCode()
/external/perfetto/src/trace_processor/
Dproto_trace_tokenizer.cc180 size_t field_offset = whole_buf.offset_of(it->data()); in ParseInternal() local
181 ParsePacket(whole_buf.slice(field_offset, it->size())); in ParseInternal()
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dstruct_definition.tmpl106 {%- set offset = packed_field|field_offset %}
/external/v8/src/ic/
Daccessor-assembler.cc1114 Node* field_offset = TimesPointerSize(field_index); in OverwriteExistingFastDataProperty() local
1126 StoreObjectFieldNoWriteBarrier(object, field_offset, double_value, in OverwriteExistingFastDataProperty()
1133 StoreObjectField(object, field_offset, mutable_heap_number); in OverwriteExistingFastDataProperty()
1135 Node* mutable_heap_number = LoadObjectField(object, field_offset); in OverwriteExistingFastDataProperty()
1147 StoreObjectField(object, field_offset, value); in OverwriteExistingFastDataProperty()
3493 Node* field_offset = TimesPointerSize(field_index); in GenerateCloneObjectIC() local
3494 Node* field = LoadObjectField(source, field_offset); in GenerateCloneObjectIC()
3496 IntPtrAdd(field_offset, field_offset_difference); in GenerateCloneObjectIC()
/external/libtextclassifier/actions/
Dactions-suggestions.cc65 T ValueOrDefault(const flatbuffers::Table* values, const int32 field_offset, in ValueOrDefault() argument
70 return values->GetField<T>(field_offset, default_value); in ValueOrDefault()
/external/v8/src/builtins/
Dbuiltins-regexp-gen.cc120 static const int field_offset = in FastLoadLastIndex() local
122 return LoadObjectField(regexp, field_offset); in FastLoadLastIndex()
141 static const int field_offset = in FastStoreLastIndex() local
143 StoreObjectField(regexp, field_offset, value); in FastStoreLastIndex()
/external/v8/src/
Dobjects-inl.h1664 Address HeapObject::GetFieldAddress(int field_offset) const { in GetFieldAddress() argument
1665 return FIELD_ADDR(this, field_offset); in GetFieldAddress()
/external/v8/src/compiler/
Dsimplified-lowering.cc1239 MachineRepresentation field_representation, int field_offset, in WriteBarrierKindFor() argument
1247 field_offset == HeapObject::kMapOffset) { in WriteBarrierKindFor()

12