Home
last modified time | relevance | path

Searched refs:fragment (Results 1 – 13 of 13) sorted by relevance

/system/bt/gd/packet/
Dpacket_view.cc29 for (auto fragment : fragments_) { in PacketView() local
30 length_ += fragment.size(); in PacketView()
56 for (const auto& fragment : fragments_) { in at() local
57 if (index < fragment.size()) { in at()
58 return fragment[index]; in at()
60 index -= fragment.size(); in at()
79 for (const auto& fragment : fragments_) { in GetSubviewList() local
80 if (begin >= fragment.size()) { in GetSubviewList()
81 begin -= fragment.size(); in GetSubviewList()
83 View view(fragment, begin, begin + std::min(length, fragment.size() - begin)); in GetSubviewList()
/system/bt/vendor_libs/test_vendor_lib/packets/
Dpacket_view.cc29 for (auto fragment : fragments_) { in PacketView() local
30 length_ += fragment.size(); in PacketView()
56 for (const auto& fragment : fragments_) { in at() local
57 if (index < fragment.size()) { in at()
58 return fragment[index]; in at()
60 index -= fragment.size(); in at()
78 for (const auto& fragment : fragments_) { in SubViewList() local
79 if (begin >= fragment.size()) { in SubViewList()
80 begin -= fragment.size(); in SubViewList()
82 View view(fragment, begin, begin + std::min(length, fragment.size() - begin)); in SubViewList()
/system/core/libpixelflinger/codeflinger/
Dblending.cpp42 integer_t fragment(temp.reg, temp.h, temp.flags); in build_fog() local
61 build_blendFOneMinusF(temp, factor, fragment, fogColor); in build_fog()
144 integer_t fragment(temp.reg, temp.size(), temp.flags); in build_blending() local
149 fragment.reg = scratches.obtain(); in build_blending()
150 MOV(AL, 0, fragment.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending()
151 fragment.flags |= CORRUPTIBLE; in build_blending()
159 fragment.flags &= ~CORRUPTIBLE; in build_blending()
165 fragment.flags &= ~CORRUPTIBLE; in build_blending()
173 component, pixel, fragment, fb, scratches); in build_blending()
176 build_blendFOneMinusF(temp, factor, fragment, fb); in build_blending()
[all …]
DGGLAssembler.cpp530 component_t fragment; in build_incoming_component() local
533 build_iterated_color(fragment, parts, component, regs); in build_incoming_component()
536 build_texture_environment(fragment, parts, component, regs); in build_incoming_component()
539 if (need_expander && (fragment.size() < dst_size)) { in build_incoming_component()
542 expand(fragment, fragment, dst_size); in build_incoming_component()
547 (mInfo[component].needed || fragment.size()<dst_size)) in build_incoming_component()
551 if (fragment.l) { in build_incoming_component()
552 component_t incoming(fragment); in build_incoming_component()
553 modify(fragment, regs); in build_incoming_component()
554 MOV(AL, 0, fragment.reg, reg_imm(incoming.reg, LSR, incoming.l)); in build_incoming_component()
[all …]
Dtexturing.cpp178 component_t& fragment, in build_iterated_color() argument
183 fragment.setTo( regs.obtain(), 0, 32, CORRUPTIBLE); in build_iterated_color()
190 extract(fragment, parts.iterated, component); in build_iterated_color()
192 fragment.h = GGL_COLOR_BITS; in build_iterated_color()
193 fragment.l = GGL_COLOR_BITS - 8; in build_iterated_color()
194 fragment.flags |= CLEAR_LO; in build_iterated_color()
201 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c); in build_iterated_color()
203 ADD(AL, 0, dx, fragment.reg, dx); in build_iterated_color()
206 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c); in build_iterated_color()
211 regs.recycle(fragment.reg); in build_iterated_color()
[all …]
DGGLAssembler.h436 void build_iterated_color( component_t& fragment,
472 void build_texture_environment( component_t& fragment,
493 integer_t& fragment,
499 const integer_t& fragment,
504 const integer_t& fragment,
507 void build_coverage_application(component_t& fragment,
511 void build_alpha_test(component_t& fragment, const fragment_parts_t& parts);
/system/core/libpixelflinger/
Dscanline.cpp464 static void blending(context_t* c, pixel_t* fragment, pixel_t* fb);
491 void blending(context_t* c, pixel_t* fragment, pixel_t* fb) in blending() argument
493 rescale(fragment->c[0], fragment->s[0], fb->c[0], fb->s[0]); in blending()
494 rescale(fragment->c[1], fragment->s[1], fb->c[1], fb->s[1]); in blending()
495 rescale(fragment->c[2], fragment->s[2], fb->c[2], fb->s[2]); in blending()
496 rescale(fragment->c[3], fragment->s[3], fb->c[3], fb->s[3]); in blending()
499 blend_factor(c, &sf, c->state.blend.src, fragment, fb); in blending()
500 blend_factor(c, &df, c->state.blend.dst, fragment, fb); in blending()
502 fragment->c[1] = in blending()
503 gglMulAddx(fragment->c[1], sf.c[1], gglMulx(fb->c[1], df.c[1])); in blending()
[all …]
/system/libufdt/tests/
DREADME30 - Additional device tree fragment source.
35 fragment@0{
/system/bt/stack/l2cap/
Dl2cap_client.cc409 BT_HDR* fragment = static_cast<BT_HDR*>( in fragment_packet() local
411 fragment->offset = L2CAP_MIN_OFFSET; in fragment_packet()
412 fragment->len = client->remote_mtu; in fragment_packet()
413 memcpy(fragment->data + fragment->offset, in fragment_packet()
416 list_append(client->outbound_fragments, fragment); in fragment_packet()
/system/chre/platform/shared/idl/
Dhost_messages.fbs103 /// be defined. Once the first fragment is sent to CHRE, all subsequent
113 /// requests starting from the second fragment, all fields except
116 /// Once the LoadNanoappRepsonse for the last fragment is received
120 /// If any request fragment is lost, then the entire load request will be
135 /// default behavior should be to assume one fragment.
148 /// If any fragment of a load request fails, the entire load request for
152 /// The fragment count of the load reponse is for.
/system/bt/vendor_libs/test_vendor_lib/test/
Dl2cap_test.cc342 sdu = l2cap_expected->fragment(16, 0x02, 0x41); in TEST_F()
378 sdu = l2cap_expected->fragment(1024, 0x02, 0x41); in TEST_F()
408 sdu = l2cap_expected->fragment(24, 0x08, 0x41); in TEST_F()
437 sdu = l2cap_expected->fragment(16, 0x02, 0x41); in TEST_F()
467 sdu = l2cap_expected->fragment(256, 0x02, 0x41); in TEST_F()
502 sdu = l2cap_expected->fragment(512, 0x02, 0x41); in TEST_F()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp105 for (const std::string& fragment : fragments) { in _LOG() local
110 iov[1].iov_base = const_cast<char*>(fragment.c_str()); in _LOG()
111 iov[1].iov_len = fragment.length(); in _LOG()
/system/extras/simpleperf/
Dcmd_kmem.cpp691 uint64_t fragment = slab_sample_tree_.total_allocated_bytes - in PrintSlabReportContext() local
695 percentage = 100.0 * fragment / slab_sample_tree_.total_allocated_bytes; in PrintSlabReportContext()
697 fprintf(fp, "Total fragment: %" PRIu64 ", %f%%\n", fragment, percentage); in PrintSlabReportContext()