Searched refs:sg (Results 1 - 25 of 60) sorted by relevance

123

/external/valgrind/drd/
H A Ddrd_segment.c54 * Initialize the memory 'sg' points at.
62 static void sg_init(Segment* const sg, argument
69 tl_assert(sg);
76 sg->g_next = NULL;
77 sg->g_prev = NULL;
78 sg->thr_next = NULL;
79 sg->thr_prev = NULL;
80 sg->tid = created;
81 sg->refcnt = 1;
84 sg
107 sg_cleanup(Segment* const sg) argument
119 Segment* sg; local
136 sg_delete(Segment* const sg) argument
162 sg_get(Segment* const sg) argument
174 sg_put(Segment* const sg) argument
228 sg_print(Segment* const sg) argument
[all...]
H A Ddrd_segment.h66 static int DRD_(sg_get_refcnt)(const Segment* const sg);
67 Segment* DRD_(sg_get)(Segment* const sg);
68 void DRD_(sg_put)(Segment* const sg);
69 static struct bitmap* DRD_(sg_bm)(Segment* const sg);
71 void DRD_(sg_print)(Segment* const sg);
81 static __inline__ int DRD_(sg_get_refcnt)(const Segment* const sg) argument
84 tl_assert(sg);
87 return sg->refcnt;
91 static __inline__ struct bitmap* DRD_(sg_bm)(Segment* const sg) argument
94 tl_assert(sg);
[all...]
H A Ddrd_semaphore.c51 static void drd_segment_push(struct semaphore_info* p, Segment* sg) argument
55 tl_assert(sg);
56 n = VG_(addToXA)(p->last_sem_post_seg, &sg);
61 tl_assert(*(Segment**)VG_(indexXA)(p->last_sem_post_seg, n) == sg);
68 Segment* sg; local
75 sg = 0;
78 sg = *(Segment**)VG_(indexXA)(p->last_sem_post_seg, sz - 1);
79 tl_assert(sg);
82 return sg;
109 p->last_sem_post_seg = VG_(newXA)(VG_(malloc), "drd.sg
119 Segment* sg; local
174 Segment* sg; local
252 Segment* sg; local
348 Segment* sg; local
406 Segment* sg; local
[all...]
H A Ddrd_thread.c48 static void thread_append_segment(const DrdThreadId tid, Segment* const sg);
49 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg);
497 Segment* sg; local
503 for (sg = DRD_(g_threadinfo)[tid].sg_last; sg; sg = sg_prev) {
504 sg_prev = sg->thr_prev;
505 sg->thr_next = NULL;
506 sg->thr_prev = NULL;
507 DRD_(sg_put)(sg);
754 thread_append_segment(const DrdThreadId tid, Segment* const sg) argument
782 thread_discard_segment(const DrdThreadId tid, Segment* const sg) argument
824 thread_get_latest_segment(Segment** sg, const DrdThreadId tid) argument
921 Segment* sg; local
977 Segment* sg; local
1026 Segment* sg; local
1136 thread_combine_vc_sync(DrdThreadId tid, const Segment* sg) argument
1178 thread_new_segment_and_combine_vc(DrdThreadId tid, const Segment* sg) argument
[all...]
H A Ddrd_hb.c43 Segment* sg; // Segment created before most recent member in struct:hb_thread_info
73 p->sg = 0;
82 DRD_(sg_put)(p->sg);
187 DRD_(thread_get_latest_segment)(&q->sg, tid);
219 tl_assert(q->sg);
220 DRD_(vc_combine)(DRD_(thread_get_vc)(tid), &q->sg->vc);
H A Ddrd_barrier.c45 Segment* sg; // Segment of the last pthread_barrier() call member in struct:barrier_thread_info
87 p->sg = NULL;
100 DRD_(sg_put)(p->sg);
388 DRD_(thread_get_latest_segment)(&q->sg, tid);
460 DRD_(thread_get_latest_segment)(&q->sg, tid);
481 tl_assert(r->sg);
482 DRD_(vc_combine)(DRD_(thread_get_vc)(tid), &r->sg->vc);
/external/google-breakpad/src/common/mac/
H A Dmacho_utilities.cc44 void breakpad_swap_segment_command_64(struct segment_command_64 *sg, argument
47 sg->cmd = ByteSwap(sg->cmd);
48 sg->cmdsize = ByteSwap(sg->cmdsize);
50 sg->vmaddr = ByteSwap(sg->vmaddr);
51 sg->vmsize = ByteSwap(sg->vmsize);
52 sg
[all...]
H A Dmacho_utilities.h74 void breakpad_swap_segment_command_64(struct segment_command_64 *sg,
/external/skia/include/core/
H A DSkDither.h79 unsigned sg = SkGetPackedG32(c); local
82 sg = SkDITHER_G32_FOR_565(sg, dither);
85 return SkPackARGB32(sa, sr, sg, sb);
93 unsigned sg = SkGetPackedG32(c); local
96 sg = SkDITHER_G32_FOR_565(sg, dither);
99 return SkPackARGB32(0xFF, sr, sg, sb);
117 unsigned sg = SkGetPackedG32(c); local
120 sg
132 unsigned sg = SkGetPackedG32(c); local
[all...]
H A DSkColorPriv.h630 unsigned sg = SkPacked32ToG16(c); local
634 sg = (sg << 5) | (sg >> 1);
636 return (sr << 11) | (sg << 21) | (sb << 0);
644 unsigned sg = SkGetPackedG32(src); local
654 dg = (sg + SkMul16ShiftRound(dg, isa, SK_G16_BITS)) >> (8 - SK_G16_BITS);
828 unsigned sg = SkG4444ToG565(SkGetPackedG4444(s)); local
831 // To avoid overflow, we have to clear the low bit of the synthetic sg
835 sg
[all...]
/external/skia/src/core/
H A DSkBlitRow_D16.cpp119 int sg = SkGetPackedG32(c); local
122 sg = SkDITHER_G32To565(sg, dither);
127 SkAlphaBlend(sg, SkGetPackedG16(d), scale),
150 unsigned sg = SkGetPackedG32(c); local
153 sg = SkDITHER_G32_FOR_565(sg, d);
156 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2);
187 int sg = SkGetPackedG32(c); local
190 sg
[all...]
/external/skia/src/opts/
H A DSkBlitRow_opts_SSE2.cpp807 __m128i sg = _mm_packs_epi32(sg1, sg2); local
830 dg = _mm_add_epi16(sg, SkMul16ShiftRound_SSE2(dg, isa, SK_G16_BITS));
927 __m128i sg = _mm_packs_epi32(sg1, sg2); local
929 // SkDITHER_R32To565(sg, dither)
930 __m128i sg_offset = _mm_srli_epi16(sg, 6);
931 sg = _mm_add_epi16(sg, _mm_srli_epi16(dither, 1));
932 sg = _mm_sub_epi16(sg, sg_offset);
933 sg
996 unsigned sg = SkGetPackedG32(c); local
1079 __m128i sg = _mm_packs_epi32(sg1, sg2); local
1151 unsigned sg = SkGetPackedG32(c); local
[all...]
H A DSkBlitRow_opts_arm_neon.cpp527 unsigned sg = SkGetPackedG32(src); local
536 // sg: 8-bit based, dg: 6-bit based, with dg x ((256-sa)>>3), 5-bit left shifted,
537 //thus, for sg, do 3-bit left shift to match MSB : (8 + 3 = 6 + 5)
538 wide_sg = vshlq_n_u16(vmovl_u8(vdup_n_u8(sg)), 3); // widen and src_grn shift
566 vdst1_g = vmlaq_u16(wide_sg, wide_256_sa, vdst1_g); // sg + (256-sa) x dg1
570 vdst2_g = vmlaq_u16(wide_sg, wide_256_sa, vdst2_g); // sg + (256-sa) x dg2
859 int sg = SkGetPackedG32(c); local
862 sg = SkDITHER_G32To565(sg, dither);
867 SkAlphaBlend(sg, SkGetPackedG1
1329 uint8x8_t sr, sg, sb, sa, d; local
1425 unsigned sg = SkGetPackedG32(c); local
1457 uint8x8_t sr, sg, sb; local
[all...]
H A DSkBlitRow_opts_mips_dsp.cpp248 unsigned sg = SkGetPackedG32(c); local
251 sg = SkDITHER_G32_FOR_565(sg, d);
254 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2);
522 int sg = SkGetPackedG32(c); local
525 sg = SkDITHER_G32To565(sg, dither);
530 SkAlphaBlend(sg, SkGetPackedG16(d), alpha),
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/
H A Drotate.pass.cpp157 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
158 r = std::rotate(Iter(ig), Iter(ig), Iter(ig+sg));
159 assert(base(r) == ig+sg);
166 r = std::rotate(Iter(ig), Iter(ig+1), Iter(ig+sg));
174 r = std::rotate(Iter(ig), Iter(ig+2), Iter(ig+sg));
182 r = std::rotate(Iter(ig), Iter(ig+3), Iter(ig+sg));
190 r = std::rotate(Iter(ig), Iter(ig+4), Iter(ig+sg));
198 r = std::rotate(Iter(ig), Iter(ig+5), Iter(ig+sg));
206 r = std::rotate(Iter(ig), Iter(ig+sg), Iter(ig+sg));
361 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
[all...]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/
H A Dunique_copy.pass.cpp69 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
70 int jg[sg] = {-1};
71 r = std::unique_copy(InIter(ig), InIter(ig+sg), OutIter(jg));
H A Dunique_pred.pass.cpp85 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
87 r = std::unique(Iter(ig), Iter(ig+sg), count_equal());
91 assert(count_equal::count == sg-1);
178 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
180 r = std::unique(Iter(ig), Iter(ig+sg), count_equal());
184 assert(count_equal::count == sg-1);
H A Dunique.pass.cpp65 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
66 r = std::unique(Iter(ig), Iter(ig+sg));
142 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
143 r = std::unique(Iter(ig), Iter(ig+sg));
H A Dunique_copy_pred.pass.cpp90 const unsigned sg = sizeof(ig)/sizeof(ig[0]); local
91 int jg[sg] = {-1};
93 r = std::unique_copy(InIter(ig), InIter(ig+sg), OutIter(jg), count_equal());
97 assert(count_equal::count == sg-1);
/external/toybox/toys/other/
H A Deject.c25 #include <scsi/sg.h>
/external/valgrind/none/tests/s390x/
H A Dsub.c9 memsweep(sg, s2, 0);
H A Dsub.stdout.exp23 sg 0000000000000000 - 0000000000000000 - 1 = 0000000000000000 (cc=0)
24 sg 0000000000000001 - 0000000000000000 - 1 = 0000000000000001 (cc=2)
25 sg 000000000000FFFF - 0000000000000000 - 1 = 000000000000FFFF (cc=2)
26 sg 0000000000007FFF - 0000000000000000 - 1 = 0000000000007FFF (cc=2)
27 sg 0000000000008000 - 0000000000000000 - 1 = 0000000000008000 (cc=2)
28 sg 00000000FFFFFFFF - 0000000000000000 - 1 = 00000000FFFFFFFF (cc=2)
29 sg 0000000080000000 - 0000000000000000 - 1 = 0000000080000000 (cc=2)
30 sg 000000007FFFFFFF - 0000000000000000 - 1 = 000000007FFFFFFF (cc=2)
31 sg FFFFFFFFFFFFFFFF - 0000000000000000 - 1 = FFFFFFFFFFFFFFFF (cc=1)
32 sg 800000000000000
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-antlr.jar ... void setGlib (java.lang.String) String superGrammar String sg public void setGlib (java.io.File) java. ...
/external/skia/src/effects/
H A DSkArithmeticMode.cpp127 int sg = SkGetPackedG32(sc); local
132 sg = SkUnPreMultiply::ApplyScale(scale, sg);
148 g = arith(k1, k2, k3, k4, sg, dg);
/external/strace/maint/
H A Dioctls_gen.sh68 "$mydir"/ioctls_hex.sh "$inc_dir" 22 scsi/sg.h

Completed in 478 milliseconds

123