Home
last modified time | relevance | path

Searched refs:get_offset (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/gpu/command_buffer/common/
Dcommand_buffer_shared_test.cc32 EXPECT_EQ(state.get_offset, 0); in TEST_F()
46 state.get_offset = i + 1; in WriteToState()
78 if (state.get_offset >= 1) { in TEST_F()
79 buffer[state.get_offset - 1] = 1; in TEST_F()
84 EXPECT_EQ(state.token, state.get_offset - 2); in TEST_F()
86 static_cast<unsigned int>(state.get_offset) + 1); in TEST_F()
87 EXPECT_EQ(state.error, state.get_offset + 2); in TEST_F()
89 if (state.get_offset == kSize) in TEST_F()
Dcommand_buffer.h24 get_offset(0), in State()
36 int32 get_offset; member
Dcommand_buffer_mock.h31 MOCK_METHOD1(SetGetOffset, void(int32 get_offset));
/external/chromium_org/mojo/services/gles2/
Dcommand_buffer_type_conversions.cc16 result->get_offset = input.get_offset; in Convert()
30 state.get_offset = input->get_offset; in Convert()
Dcommand_buffer.mojom9 int32 get_offset;
/external/chromium_org/gpu/command_buffer/client/
Dcmd_buffer_helper.cc57 const int32 curr_get = get_offset(); in CalcImmediateEntries()
126 CHECK((put_ == get_offset()) || in FreeRingBuffer()
180 if (put_ == get_offset()) { in Finish()
187 DCHECK_EQ(get_offset(), put_); in Finish()
254 int32 curr_get = get_offset(); in WaitForAvailableEntries()
260 curr_get = get_offset(); in WaitForAvailableEntries()
Dclient_test_helper.cc36 void MockCommandBufferBase::SetGetOffset(int32 get_offset) { in SetGetOffset() argument
37 state_.get_offset = get_offset; in SetGetOffset()
43 state_.get_offset = state_.put_offset; in WaitForGetOffsetInRange()
Dcmd_buffer_helper.h185 int32 get_offset() const { in get_offset() function
186 return command_buffer_->GetLastState().get_offset; in get_offset()
295 return (get_offset() - put_ - 1 + total_entry_count_) % total_entry_count_; in AvailableEntries()
Dclient_test_helper.h37 virtual void SetGetOffset(int32 get_offset) OVERRIDE;
/external/chromium_org/gpu/command_buffer/service/
Dcommand_buffer_service.cc43 state.get_offset = get_offset_; in GetLastState()
113 void CommandBufferService::SetGetOffset(int32 get_offset) { in SetGetOffset() argument
114 DCHECK(get_offset >= 0 && get_offset < num_entries_); in SetGetOffset()
115 get_offset_ = get_offset; in SetGetOffset()
Dcommand_buffer_service.h20 virtual void SetGetOffset(int32 get_offset) = 0;
60 virtual void SetGetOffset(int32 get_offset) OVERRIDE;
Dcommand_buffer_service_unittest.cc37 return command_buffer_->GetLastState().get_offset; in GetGetOffset()
67 EXPECT_EQ(0, state.get_offset); in TEST_F()
Dgpu_scheduler.cc54 DCHECK_EQ(state.get_offset, state.put_offset); in PutChanged()
/external/clang/bindings/python/tests/cindex/
Dtest_type.py351 assert teststruct.type.get_offset(fields[0].spelling) == a1
352 assert teststruct.type.get_offset(fields[1].spelling) == a2
353 assert teststruct.type.get_offset(fields[2].spelling) == a3
354 assert teststruct.type.get_offset(fields[3].spelling) == a4
383 assert teststruct.type.get_offset("bariton") == bariton
384 assert teststruct.type.get_offset("foo") == foo
385 assert teststruct.type.get_offset("bar") == bar
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
Dt_vertex_sse.c295 static GLint get_offset( const void *a, const void *b ) in get_offset() function
310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); in get_src_ptr()
324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); in update_src_ptr()
381 x86_mov(&p->func, vtxESI, x86_make_disp(vtxESI, get_offset(ctx, &ctx->swtnl_context))); in build_vertex_emit()
382 vtxESI = x86_make_disp(vtxESI, get_offset(tnl, &tnl->clipspace)); in build_vertex_emit()
388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); in build_vertex_emit()
389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_xlate[0]))); in build_vertex_emit()
394 sse_movups(&p->func, p->chan0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->chan_scale[0]))); in build_vertex_emit()
395 sse_movups(&p->func, p->identity, x86_make_disp(vtxESI, get_offset(vtx, &vtx->identity[0]))); in build_vertex_emit()
/external/mesa3d/src/mesa/tnl/
Dt_vertex_sse.c295 static GLint get_offset( const void *a, const void *b ) in get_offset() function
310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); in get_src_ptr()
324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); in update_src_ptr()
381 x86_mov(&p->func, vtxESI, x86_make_disp(vtxESI, get_offset(ctx, &ctx->swtnl_context))); in build_vertex_emit()
382 vtxESI = x86_make_disp(vtxESI, get_offset(tnl, &tnl->clipspace)); in build_vertex_emit()
388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); in build_vertex_emit()
389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_xlate[0]))); in build_vertex_emit()
394 sse_movups(&p->func, p->chan0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->chan_scale[0]))); in build_vertex_emit()
395 sse_movups(&p->func, p->identity, x86_make_disp(vtxESI, get_offset(vtx, &vtx->identity[0]))); in build_vertex_emit()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c128 static int get_offset( const void *a, const void *b ) in get_offset() function
162 get_offset(p, &p->consts[id][0]))); in get_const()
1063 get_offset(p, &p->instance_id)); in init_inputs()
1071 get_offset(p, &buffer->max_index)); in init_inputs()
1073 get_offset(p, &buffer->stride)); in init_inputs()
1075 get_offset(p, &variant->ptr)); in init_inputs()
1077 get_offset(p, &buffer->base_ptr)); in init_inputs()
1148 get_offset(p, &p->instance_id)); in get_buffer_ptr()
1157 get_offset(p, &p->buffer_variant[var_idx].ptr)); in get_buffer_ptr()
1169 get_offset(p, &p->buffer[variant->buffer_index].stride)); in get_buffer_ptr()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
Dtranslate_sse.c128 static int get_offset( const void *a, const void *b ) in get_offset() function
162 get_offset(p, &p->consts[id][0]))); in get_const()
1063 get_offset(p, &p->instance_id)); in init_inputs()
1071 get_offset(p, &buffer->max_index)); in init_inputs()
1073 get_offset(p, &buffer->stride)); in init_inputs()
1075 get_offset(p, &variant->ptr)); in init_inputs()
1077 get_offset(p, &buffer->base_ptr)); in init_inputs()
1148 get_offset(p, &p->instance_id)); in get_buffer_ptr()
1157 get_offset(p, &p->buffer_variant[var_idx].ptr)); in get_buffer_ptr()
1169 get_offset(p, &p->buffer[variant->buffer_index].stride)); in get_buffer_ptr()
[all …]
/external/chromium_org/gpu/ipc/
Dgpu_command_buffer_traits.cc13 WriteParam(m, p.get_offset); in Write()
25 ReadParam(m, iter, &p->get_offset) && in Read()
/external/chromium_org/courgette/
Ddisassembler_elf_32.cc345 file_offset > (**current_rel)->get_offset()) { in ParseProgbitsSection()
359 next_relocation > ((**current_rel)->get_offset() + 3)) in ParseProgbitsSection()
360 next_relocation = (**current_rel)->get_offset(); in ParseProgbitsSection()
384 file_offset == (**current_rel)->get_offset()) { in ParseProgbitsSection()
Ddisassembler_elf_32.h50 size_t get_offset() { in get_offset() function
/external/chromium_org/mojo/gles2/
Dcommand_buffer_client_impl.cc149 while (!InRange(start, end, last_state_.get_offset) && in WaitForGetOffsetInRange()
275 command_buffer_->MakeProgress(last_state_.get_offset); in MakeProgressAndUpdateState()
/external/chromium_org/ppapi/proxy/
Dppapi_command_buffer_proxy.cc82 if (!InRange(start, end, last_state_.get_offset) && in WaitForGetOffsetInRange()
95 DCHECK(InRange(start, end, last_state_.get_offset) || in WaitForGetOffsetInRange()
/external/chromium_org/content/common/gpu/
Dgpu_command_buffer_stub.cc346 return state.put_offset != state.get_offset && in HasUnprocessedCommands()
739 state.get_offset) || in CheckCompleteWaits()
780 if (pre_state.get_offset != post_state.get_offset) in OnRescheduled()
/external/chromium_org/content/common/gpu/client/
Dcommand_buffer_proxy_impl.cc230 if (!InRange(start, end, last_state_.get_offset) && in WaitForGetOffsetInRange()
237 DCHECK(InRange(start, end, last_state_.get_offset) || in WaitForGetOffsetInRange()

12