Home
last modified time | relevance | path

Searched refs:rg (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/external/u-boot/drivers/dma/
Dti-edma3.c95 struct edma3_slot_layout *rg; in edma3_set_dest() local
97 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest()
99 opt = __raw_readl(&rg->opt); in edma3_set_dest()
107 __raw_writel(opt, &rg->opt); in edma3_set_dest()
108 __raw_writel(dst, &rg->dst); in edma3_set_dest()
126 struct edma3_slot_layout *rg; in edma3_set_dest_index() local
128 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest_index()
130 src_dst_bidx = __raw_readl(&rg->src_dst_bidx); in edma3_set_dest_index()
131 src_dst_cidx = __raw_readl(&rg->src_dst_cidx); in edma3_set_dest_index()
134 &rg->src_dst_bidx); in edma3_set_dest_index()
[all …]
/external/webp/src/utils/
Drandom_utils.h34 void VP8InitRandom(VP8Random* const rg, float dithering);
39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, in VP8RandomBits2() argument
43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_]; in VP8RandomBits2()
45 rg->tab_[rg->index1_] = diff; in VP8RandomBits2()
46 if (++rg->index1_ == VP8_RANDOM_TABLE_SIZE) rg->index1_ = 0; in VP8RandomBits2()
47 if (++rg->index2_ == VP8_RANDOM_TABLE_SIZE) rg->index2_ = 0; in VP8RandomBits2()
55 static WEBP_INLINE int VP8RandomBits(VP8Random* const rg, int num_bits) { in VP8RandomBits() argument
56 return VP8RandomBits2(rg, num_bits, rg->amp_); in VP8RandomBits()
Drandom_utils.c33 void VP8InitRandom(VP8Random* const rg, float dithering) { in VP8InitRandom() argument
34 memcpy(rg->tab_, kRandomTable, sizeof(rg->tab_)); in VP8InitRandom()
35 rg->index1_ = 0; in VP8InitRandom()
36 rg->index2_ = 31; in VP8InitRandom()
37 rg->amp_ = (dithering < 0.0) ? 0 in VP8InitRandom()
/external/libxml2/
DgenChRanges.py364 for rg in rangeTable:
369 if rg[0] == rg[1]: # single value - check equal
370 pline += "((c) == 0x%x)" % rg[0]
373 if rg[1] != 0xff:
374 pline += "((0x%x <= (c)) &&" % rg[0]
375 pline += " ((c) <= 0x%x))" % rg[1]
377 pline += " (0x%x <= (c))" % rg[0]
411 for rg in Functs[f][1]:
417 if rg[0] == rg[1]: # single value - check equal
418 pline += "((c) == 0x%x)" % rg[0]
[all …]
/external/pdfium/testing/resources/
Drectangles.in24 0 0 0 rg
27 0 0 1 rg
30 0 1 0 rg
33 1 0 0 rg
Dbug_750568.in42 0 0 0 rg
51 0 0 1 rg
60 0 1 0 rg
69 1 0 0 rg
Dtext_form_multiple.in27 /DA (0 0 0 rg /F1 12 Tf)
48 0 0 0 rg
61 /DA (0 0 0 rg /F1 12 Tf)
72 /DA (0 0 0 rg /F1 12 Tf)
Dcombobox_form.in39 0 0 0 rg
52 /DA (0 0 0 rg /F1 12 Tf)
64 /DA (0 0 0 rg /F1 12 Tf)
77 /DA (0 0 0 rg /F1 12 Tf)
Dtext_form.in27 /DA (0 0 0 rg /F1 12 Tf)
48 0 0 0 rg
/external/clang/test/Sema/
Dext_vector_components.c53 f = vec4.rg.r; // legal, shorten in test()
60 …vec2.rr = vec2_2.rg; // expected-error {{vector is not assignable (contains duplicate components)}} in test()
61 vec2.gr = vec2_2.rg; in test()
64 vec4.rg.b; // expected-error {{vector component access exceeds type 'float2'}} in test()
68 vec4p->gb = vec4p->rg; in test()
/external/webp/src/enc/
Dpicture_csp_enc.c140 static int RGBToY(int r, int g, int b, VP8Random* const rg) { in RGBToY() argument
141 return (rg == NULL) ? VP8RGBToY(r, g, b, YUV_HALF) in RGBToY()
142 : VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); in RGBToY()
145 static int RGBToU(int r, int g, int b, VP8Random* const rg) { in RGBToU() argument
146 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2) in RGBToU()
147 : VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); in RGBToU()
150 static int RGBToV(int r, int g, int b, VP8Random* const rg) { in RGBToV() argument
151 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2) in RGBToV()
152 : VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); in RGBToV()
756 VP8Random* const rg) { in ConvertRowToY() argument
[all …]
/external/webp/src/dsp/
Dyuv.h98 const int rg = (r & 0xf8) | (g >> 5); in VP8YuvToRgb565() local
102 rgb[1] = rg; in VP8YuvToRgb565()
104 rgb[0] = rg; in VP8YuvToRgb565()
114 const int rg = (r & 0xf0) | (g >> 4); in VP8YuvToRgba4444() local
118 argb[1] = rg; in VP8YuvToRgba4444()
120 argb[0] = rg; in VP8YuvToRgba4444()
Dupsampling_mips_dsp_r2.c68 const int rg = (r & 0xf8) | (g >> 5); in YuvToRgb565() local
72 rgb[1] = rg; in YuvToRgb565()
74 rgb[0] = rg; in YuvToRgb565()
84 const int rg = (r & 0xf0) | (g >> 4); in YuvToRgba4444() local
88 argb[1] = rg; in YuvToRgba4444()
90 argb[0] = rg; in YuvToRgba4444()
/external/lzma/Java/SevenZip/
DLzmaBench.java317 CBenchRandomGenerator rg = new CBenchRandomGenerator(); in LzmaBenchmark() local
319 rg.Set(kBufferSize); in LzmaBenchmark()
320 rg.Generate(); in LzmaBenchmark()
323 crc.Update(rg.Buffer, 0, rg.BufferSize); in LzmaBenchmark()
333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize); in LzmaBenchmark()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs273 CBenchRandomGenerator rg = new CBenchRandomGenerator(); in LzmaBenchmark()
275 rg.Set(kBufferSize); in LzmaBenchmark()
276 rg.Generate(); in LzmaBenchmark()
279 crc.Update(rg.Buffer, 0, rg.BufferSize); in LzmaBenchmark()
289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize); in LzmaBenchmark()
/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c52 static void gid_verify(struct group *rg, struct group *eg, const char *when) in gid_verify() argument
54 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify()
58 rg->gr_gid, eg->gr_gid); in gid_verify()
Dsetregid02.c74 void gid_verify(struct group *rg, struct group *eg, char *when) in gid_verify() argument
76 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify()
80 rg->gr_gid, eg->gr_gid); in gid_verify()
Dsetregid03.c112 static void gid_verify(struct group *rg, struct group *eg, char *when) in gid_verify() argument
114 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify()
118 rg->gr_gid, eg->gr_gid); in gid_verify()
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp1.cpp10 int (&rg)(int) = g; in f() local
11 rg(i); in f()
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/
Dpdf_command_stream.txt2 1 1 1 RG 1 1 1 rg
12 0 0 0 RG 0 0 0 rg
29 0 0 0 RG 0 0 0 rg
42 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
53 0.1333 0.5333 0.0667 RG 0.1333 0.5333 0.0667 rg
224 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
239 0.1333 0.5333 0.0667 RG 0.1333 0.5333 0.0667 rg
271 0.4667 0.4667 0.4667 RG 0.4667 0.4667 0.4667 rg
407 0 0.2 0 RG 0 0.2 0 rg
435 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
[all …]
/external/skqp/resources/
Dpdf_command_stream.txt2 1 1 1 RG 1 1 1 rg
12 0 0 0 RG 0 0 0 rg
29 0 0 0 RG 0 0 0 rg
42 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
53 0.1333 0.5333 0.0667 RG 0.1333 0.5333 0.0667 rg
224 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
239 0.1333 0.5333 0.0667 RG 0.1333 0.5333 0.0667 rg
271 0.4667 0.4667 0.4667 RG 0.4667 0.4667 0.4667 rg
407 0 0.2 0 RG 0 0.2 0 rg
435 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
[all …]
/external/skia/resources/
Dpdf_command_stream.txt2 1 1 1 RG 1 1 1 rg
12 0 0 0 RG 0 0 0 rg
29 0 0 0 RG 0 0 0 rg
42 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
53 0.1333 0.5333 0.0667 RG 0.1333 0.5333 0.0667 rg
224 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
239 0.1333 0.5333 0.0667 RG 0.1333 0.5333 0.0667 rg
271 0.4667 0.4667 0.4667 RG 0.4667 0.4667 0.4667 rg
407 0 0.2 0 RG 0 0.2 0 rg
435 0.2 0.2 0.2 RG 0.2 0.2 0.2 rg
[all …]
/external/pdfium/testing/resources/pixel/
Dbug_733528.in31 /DA (0 0 0 rg /F1 12 Tf)
60 /DA (0 0 0 rg /F1 12 Tf)
Dbug_113910.in27 /DA (0 0 0 rg /F1 12 Tf)
58 /DA (0 0 0 rg /F1 12 Tf)
/external/skia/src/opts/
DSkSwizzler_opts.h507 __m128i rg = _mm_unpacklo_epi32(*lo, *hi), // rrrrRRRR ggggGGGG in premul_should_swapRB() local
511 __m128i r = _mm_unpacklo_epi8(rg, zeros), // r_r_r_r_ R_R_R_R_ in premul_should_swapRB()
512 g = _mm_unpackhi_epi8(rg, zeros), // g_g_g_g_ G_G_G_G_ in premul_should_swapRB()
522 rg = _mm_or_si128(r, _mm_slli_epi16(g, 8)); // rgrgrgrg RGRGRGRG in premul_should_swapRB()
524 *lo = _mm_unpacklo_epi16(rg, ba); // rgbargba rgbargba in premul_should_swapRB()
525 *hi = _mm_unpackhi_epi16(rg, ba); // RGBARGBA RGBARGBA in premul_should_swapRB()
732 __m128i rg = _mm_or_si128(r, _mm_slli_epi16(g, 8)), // rgrgrgrg RGRGRGRG in inverted_cmyk_to() local
734 *lo = _mm_unpacklo_epi16(rg, ba); // rgbargba rgbargba in inverted_cmyk_to()
735 *hi = _mm_unpackhi_epi16(rg, ba); // RGB1RGB1 RGB1RGB1 in inverted_cmyk_to()

12345678910>>...15