/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/ |
H A D | cache_data.cpp | 245 size_t byteOffset = Align4(sizeof(Header));
in Serialize() local 256 if (byteOffset + alignedSize > size) {
in Serialize() 261 ShaderData *shaderBuffer = reinterpret_cast<ShaderData *>(&byteBuffer[byteOffset]);
in Serialize() 264 size_t sizeLeft = size - byteOffset - headSize;
in Serialize() 281 byteOffset += alignedSize;
in Serialize() 295 size_t byteOffset = Align4(sizeof(Header));
in DeSerialize() local 299 if (byteOffset + sizeof(ShaderData) > size) {
in DeSerialize() 304 const ShaderData *shaderBuffer = reinterpret_cast<const ShaderData *>(&byteBuffer[byteOffset]);
in DeSerialize() 309 if (byteOffset + alignedSize > size) {
in DeSerialize() 317 byteOffset in DeSerialize() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_shader_passes_generic.cpp | 202 const uint32_t byteOffset = WriteLocalUboData(cpbv.data); in ExecuteFrameGraphics() local 205 bRes.byteOffset = byteOffset; in ExecuteFrameGraphics() 291 const uint32_t byteOffset = WriteLocalUboData(cpbv.data); in ExecuteFrameCompute() local 294 bRes.byteOffset = byteOffset; in ExecuteFrameCompute()
|
H A D | render_staging.h | 66 uint32_t byteOffset { 0u };
|
H A D | render_staging.cpp | 270 additionalCopyBuffer_.byteOffset = 0; 598 additionalCopyBuffer_.byteOffset, // bufferOffset in ClearImages() 614 if ((additionalCopyBuffer_.byteOffset + imgByteSize) <= additionalCopyBuffer_.byteSize) { in ClearImages() 622 additionalCopyBuffer_.byteOffset += imgByteSize; in ClearImages() 623 dataPtr = dataPtr + additionalCopyBuffer_.byteOffset; in ClearImages()
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | pipeline_layout_desc.h | 81 uint32_t byteOffset { 0u }; 111 uint32_t byteOffset { 0u };
|
/foundation/arkui/napi/test/unittest/ |
H A D | test_sendable_napi.cpp | 1141 size_t byteOffset = 0; in HWTEST_F() local 1142 res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset); in HWTEST_F() 1153 ASSERT_EQ(byteOffset, OFFSET); in HWTEST_F() 1192 size_t byteOffset = 0; in HWTEST_F() local 1193 res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset); in HWTEST_F() 1204 ASSERT_EQ(byteOffset, OFFSET); in HWTEST_F() 1243 size_t byteOffset = 0; in HWTEST_F() local 1244 res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset); in HWTEST_F() 1255 ASSERT_EQ(byteOffset, OFFSET); in HWTEST_F() 1294 size_t byteOffset in HWTEST_F() local 1345 size_t byteOffset = 0; HWTEST_F() local 1396 size_t byteOffset = 0; HWTEST_F() local 1447 size_t byteOffset = 0; HWTEST_F() local 1498 size_t byteOffset = 0; HWTEST_F() local 2090 size_t byteOffset = 0; HWTEST_F() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_pipeline_descriptor_set_binder.h | 50 * @param byteOffset Byte offset 52 virtual void BindBuffer(const uint32_t binding, const RenderHandle handle, const uint32_t byteOffset) = 0; 58 * @param byteOffset Byte offset 62 const uint32_t binding, const RenderHandle handle, const uint32_t byteOffset, const uint32_t byteSize) = 0;
|
H A D | intf_render_command_list.h | 185 * @param byteOffset Byte offset 189 const BufferResourceBarrier& dst, const uint32_t byteOffset, const uint32_t byteSize) = 0;
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | property_util.cpp | 271 bool CustomPropertyPodContainer::SetValue(const size_t byteOffset, const array_view<const uint8_t> data) in SetValue() argument 273 return CloneData(data_.data() + byteOffset, in SetValue() 274 (byteOffset < data_.size_in_bytes()) ? (data_.size_in_bytes() - byteOffset) : 0U, data.data(), in SetValue()
|
H A D | property_util.h | 79 bool SetValue(size_t byteOffset, BASE_NS::array_view<const uint8_t> data);
|
H A D | mesh_builder.h | 159 bool WriteData(const DataBuffer& data, const SubmeshExt& submesh, uint32_t attributeLocation, uint32_t& byteOffset,
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_data_structures.h | 201 size_t byteOffset = 0; member 225 uint32_t byteOffset = 0; member 242 uint32_t byteOffset = 0; member 287 uint32_t byteOffset = 0; member
|
H A D | gltf2_util.cpp | 66 const size_t startOffset = accessor.bufferView->byteOffset + accessor.byteOffset; in Read() 70 const uint8_t* src = accessor.bufferView->data + accessor.byteOffset; in Read() 176 const uint8_t* src = sparseIndicesBufferView->data + accessor.sparse.indices.byteOffset; in LoadSparseAccessor() 191 const uint8_t* src = sparseValuesBufferView->data + accessor.sparse.indices.byteOffset; in LoadSparseAccessor() 1086 view->data = &(view->buffer->data[view->byteOffset]); in LoadBuffers()
|
H A D | gltf2_exporter.cpp | 270 bufferView.buffer, bufferView.byteLength, bufferView.byteOffset, bufferView.byteStride, bufferView.target); in StoreBufferView() 279 usedBufferViews_[bufferViewIndex]->byteOffset = buffer_.data.size(); in StoreBufferView() 294 accessor.byteOffset, accessor.normalized, accessor.sparse.count, accessor.sparse.indices.bufferView, in StoreAccessor() 295 accessor.sparse.indices.byteOffset, accessor.sparse.indices.componentType, in StoreAccessor() 296 accessor.sparse.values.bufferView, accessor.sparse.values.byteOffset); in StoreAccessor() 579 accessor.byteOffset = 0; in StoreInverseBindMatrices() 731 accessor.byteOffset = 0; in AnimationInput() 740 array_view(reinterpret_cast<float const*>(inputAccessor->bufferView->data + inputAccessor->byteOffset), in AnimationInput() 790 accessor.byteOffset = 0; in AnimationOutput() 1310 bufferView.byteOffset in ExportImageData() [all...] |
H A D | gltf2_loader.cpp | 434 if (!ParseOptionalNumber<int>(loadResult, offset, jsonData, "byteOffset", 0)) { // "default": 0 437 SetError(loadResult, "bufferView.byteOffset isn't valid offset"); 489 view->byteOffset = size_t(*offset); 559 uint32_t byteOffset; 560 if (!ParseOptionalNumber<uint32_t>(loadResult, byteOffset, jsonData, "byteOffset", 0)) { 562 } else if (!bufferView || (!(*bufferView)) || (*bufferView)->byteLength <= byteOffset) { 563 SetError(loadResult, "Accessor.byteOffset isn't valid offset"); 566 return byteOffset; 620 if (!ParseOptionalNumber<uint32_t>(loadResult, indices.byteOffset, jsonDat [all...] |
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 626 * @param [out] byteOffset: the start offset of the ArrayBuffer for the TypedArray 636 size_t &byteOffset); 644 * @param [in] byteOffset: the start offset of the ArrayBuffer for the TypedArray 648 static JSIValue CreateTypedArray(TypedArrayType type, size_t length, JSIValue arrayBuffer, size_t byteOffset);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | pipeline_descriptor_set_binder.h | 107 void BindBuffer(const uint32_t binding, const RenderHandle handle, const uint32_t byteOffset) override; 109 const uint32_t binding, const RenderHandle handle, const uint32_t byteOffset, const uint32_t byteSize) override;
|
H A D | pipeline_descriptor_set_binder.cpp | 284 void DescriptorSetBinder::BindBuffer(const uint32_t binding, const RenderHandle handle, const uint32_t byteOffset) in BindBuffer() argument 286 BindBuffer(binding, BindableBuffer { handle, byteOffset, PipelineStateConstants::GPU_BUFFER_WHOLE_SIZE }); in BindBuffer() 290 const uint32_t binding, const RenderHandle handle, const uint32_t byteOffset, const uint32_t byteSize) in BindBuffer() 292 BindBuffer(binding, BindableBuffer { handle, byteOffset, byteSize }); in BindBuffer() 289 BindBuffer( const uint32_t binding, const RenderHandle handle, const uint32_t byteOffset, const uint32_t byteSize) BindBuffer() argument
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 947 size_t &byteOffset) in GetTypedArrayInfo() 965 byteOffset = (size_t)jByteOffset; in GetTypedArrayInfo() 1014 JSIValue JSI::CreateTypedArray(TypedArrayType type, size_t length, JSIValue arrayBuffer, size_t byteOffset) in CreateTypedArray() argument 1019 jerry_value_t jVal = jerry_create_typedarray_for_arraybuffer_sz(jType, jArrayBuffer, (jerry_length_t)byteOffset, in CreateTypedArray() 943 GetTypedArrayInfo(JSIValue typedArray, TypedArrayType &type, size_t &length, JSIValue &arrayBuffer, size_t &byteOffset) GetTypedArrayInfo() argument
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | property_util.cpp | 270 bool CustomPropertyPodContainer::SetValue(const size_t byteOffset, const array_view<uint8_t> data) in SetValue() argument 272 const size_t endData = byteOffset + data.size_bytes(); in SetValue() 274 CloneData(data_.data() + byteOffset, data_.size_in_bytes(), data.data(), data.size_bytes()); in SetValue()
|
H A D | property_util.h | 80 bool SetValue(const size_t byteOffset, const BASE_NS::array_view<uint8_t> data);
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | napi_value.cpp | 211 size_t byteOffset; in ToTypedArray() local 215 napi_get_typedarray_info(env_, val_, &type, &length, (void **)&data, &in_array_buffer, &byteOffset); in ToTypedArray()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/ |
H A D | protocol_proto.cpp | 963 uint32_t byteOffset = 0; in FrameFragmentation() local 1001 err = FillFragmentPacket(pktPhyHeader, pktPhyOptHeader, splitStartBytes + byteOffset, in FrameFragmentation() 1011 byteOffset += pieceFragLen; in FrameFragmentation()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_arg.cpp | 288 size_t byteOffset = 0; in GenBufferData() local 294 env_, data, &dataLen_, reinterpret_cast<void**>(&data_), &arrayBuffer, &byteOffset); in GenBufferData() 305 env_, data, &arrayType, &dataLen_, reinterpret_cast<void**>(&data_), &arrayBuffer, &byteOffset); in GenBufferData()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_pipeline_binder.cpp | 388 resource.byteOffset, in BindBuffer() 421 bindables[idx] = BindableBuffer { rRef.handle.GetHandle(), rRef.byteOffset, rRef.byteSize }; in BindBuffers()
|