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

1234

/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
H A Dsg_include.h2 #include "/usr/src/linux/include/scsi/sg.h"
6 #include <linux/../scsi/sg.h>
9 #include <scsi/sg.h>
15 Getting the correct include files for the sg interface can be an ordeal.
17 #include <scsi/sg.h>
21 agree with the kernel and version of sg driver that is running. Any
23 glibc 2.1's include files match the sg driver found in the lk 2.2
25 sg v3 interface will not be visible.
/external/strace/mpers-m32/
H A Dstruct_sg_io_hdr.c35 # include <scsi/sg.h>
H A Dstruct_sg_req_info.c35 # include <scsi/sg.h>
/external/strace/mpers-mx32/
H A Dstruct_sg_io_hdr.c35 # include <scsi/sg.h>
H A Dstruct_sg_req_info.c35 # include <scsi/sg.h>
/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);
517 Segment* sg; local
523 for (sg = DRD_(g_threadinfo)[tid].sg_last; sg; sg = sg_prev) {
524 sg_prev = sg->thr_prev;
525 sg->thr_next = NULL;
526 sg->thr_prev = NULL;
527 DRD_(sg_put)(sg);
822 thread_append_segment(const DrdThreadId tid, Segment* const sg) argument
850 thread_discard_segment(const DrdThreadId tid, Segment* const sg) argument
892 thread_get_latest_segment(Segment** sg, const DrdThreadId tid) argument
989 Segment* sg; local
1045 Segment* sg; local
1094 Segment* sg; local
1204 thread_combine_vc_sync(DrdThreadId tid, const Segment* sg) argument
1246 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);
/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/src/core/
H A DSkDither.h78 unsigned sg = SkGetPackedG32(c); local
81 sg = SkDITHER_G32_FOR_565(sg, dither);
84 return SkPackARGB32(sa, sr, sg, sb);
92 unsigned sg = SkGetPackedG32(c); local
95 sg = SkDITHER_G32_FOR_565(sg, dither);
98 return SkPackARGB32(0xFF, sr, sg, sb);
116 unsigned sg = SkGetPackedG32(c); local
119 sg
131 unsigned sg = SkGetPackedG32(c); local
[all...]
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/strace/
H A Dprint_sg_req_info.c36 # include <scsi/sg.h>
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
H A Dg722_enc_dec.h85 int sg[7]; member in struct:__anon24506::__anon24507
123 int sg[7]; member in struct:__anon24508::__anon24509
H A Dg722_decode.c83 s->band[band].sg[i] = s->band[band].p[i] >> 15;
86 wd2 = (s->band[band].sg[0] == s->band[band].sg[1]) ? -wd1 : wd1;
89 wd3 = (s->band[band].sg[0] == s->band[band].sg[2]) ? 128 : -128;
99 s->band[band].sg[0] = s->band[band].p[0] >> 15;
100 s->band[band].sg[1] = s->band[band].p[1] >> 15;
101 wd1 = (s->band[band].sg[0] == s->band[band].sg[1]) ? 192 : -192;
113 s->band[band].sg[
[all...]
H A Dg722_encode.c81 s->band[band].sg[i] = s->band[band].p[i] >> 15;
84 wd2 = (s->band[band].sg[0] == s->band[band].sg[1]) ? -wd1 : wd1;
87 wd3 = (wd2 >> 7) + ((s->band[band].sg[0] == s->band[band].sg[2]) ? 128 : -128);
96 s->band[band].sg[0] = s->band[band].p[0] >> 15;
97 s->band[band].sg[1] = s->band[band].p[1] >> 15;
98 wd1 = (s->band[band].sg[0] == s->band[band].sg[1]) ? 192 : -192;
110 s->band[band].sg[
[all...]
/external/skia/src/opts/
H A DSkBlitRow_opts_SSE2.cpp630 __m128i sg = _mm_packs_epi32(sg1, sg2); local
653 dg = _mm_add_epi16(sg, SkMul16ShiftRound_SSE2(dg, isa, SK_G16_BITS));
750 __m128i sg = _mm_packs_epi32(sg1, sg2); local
752 // SkDITHER_R32To565(sg, dither)
753 __m128i sg_offset = _mm_srli_epi16(sg, 6);
754 sg = _mm_add_epi16(sg, _mm_srli_epi16(dither, 1));
755 sg = _mm_sub_epi16(sg, sg_offset);
756 sg
819 unsigned sg = SkGetPackedG32(c); local
902 __m128i sg = _mm_packs_epi32(sg1, sg2); local
974 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
1060 uint8x8_t sr, sg, sb, sa, d; local
1156 unsigned sg = SkGetPackedG32(c); local
1188 uint8x8_t sr, sg, sb; local
[all...]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/
H A Drotate.pass.cpp156 const int sg = static_cast<int>(sizeof(ig)/sizeof(ig[0])); local
157 r = std::rotate(Iter(ig), Iter(ig), Iter(ig+sg));
158 assert(base(r) == ig+sg);
165 r = std::rotate(Iter(ig), Iter(ig+1), Iter(ig+sg));
173 r = std::rotate(Iter(ig), Iter(ig+2), Iter(ig+sg));
181 r = std::rotate(Iter(ig), Iter(ig+3), Iter(ig+sg));
189 r = std::rotate(Iter(ig), Iter(ig+4), Iter(ig+sg));
197 r = std::rotate(Iter(ig), Iter(ig+5), Iter(ig+sg));
205 r = std::rotate(Iter(ig), Iter(ig+sg), Iter(ig+sg));
360 const int sg = static_cast<int>(sizeof(ig)/sizeof(ig[0])); local
[all...]
/external/webrtc/talk/media/base/
H A Dstreamparams.cc238 const SsrcGroup* const sg = sp.get_ssrc_group(kSimSsrcGroupSemantics); local
239 if (sg == NULL || sg->ssrcs.size() < 2) {
242 // Start with all StreamParams SSRCs. Remove simulcast SSRCs (from sg) and
246 for (size_t i = 0; i < sg->ssrcs.size(); ++i) {
247 RemoveFirst(&sp_ssrcs, sg->ssrcs[i]);
/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);
/external/llvm/test/MC/ARM/
H A Dthumbv8m.s143 // CHECK: sg @ encoding: [0x7f,0xe9,0x7f,0xe9]
144 sg label
235 // UNDEF: sg #0
236 sg #0 label
238 // UNDEF: sg r0
239 sg r0 label

Completed in 629 milliseconds

1234