Searched refs:rg (Results 1 - 25 of 51) sorted by relevance

123

/external/webp/src/utils/
H A Drandom_utils.h34 void VP8InitRandom(VP8Random* const rg, float dithering);
39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, argument
43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_];
45 rg->tab_[rg->index1_] = diff;
46 if (++rg->index1_ == VP8_RANDOM_TABLE_SIZE) rg
55 VP8RandomBits(VP8Random* const rg, int num_bits) argument
[all...]
H A Drandom_utils.c33 void VP8InitRandom(VP8Random* const rg, float dithering) { argument
34 memcpy(rg->tab_, kRandomTable, sizeof(rg->tab_));
35 rg->index1_ = 0;
36 rg->index2_ = 31;
37 rg->amp_ = (dithering < 0.0) ? 0
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp1.cpp10 int (&rg)(int) = g;
11 rg(i);
/external/libxml2/
H A 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[
[all...]
/external/autotest/client/site_tests/security_Minijail0/src/
H A Dcommon.sh21 gid=$(id -rg)
/external/clang/test/Sema/
H A Dext_vector_components.c53 f = vec4.rg.r; // legal, shorten
60 vec2.rr = vec2_2.rg; // expected-error {{vector is not assignable (contains duplicate components)}}
61 vec2.gr = vec2_2.rg;
64 vec4.rg.b; // expected-error {{vector component access exceeds type 'float2'}}
68 vec4p->gb = vec4p->rg;
/external/ltp/testcases/kernel/syscalls/setregid/
H A Dsetregid04.c137 static void gid_verify(struct group *rg, struct group *eg, const char *when) argument
139 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) {
143 rg->gr_gid, eg->gr_gid);
H A Dsetregid02.c173 void gid_verify(struct group *rg, struct group *eg, char *when) argument
175 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) {
179 rg->gr_gid, eg->gr_gid);
H A Dsetregid03.c204 static void gid_verify(struct group *rg, struct group *eg, char *when) argument
206 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) {
210 rg->gr_gid, eg->gr_gid);
/external/clang/test/SemaCXX/
H A Dreferences.cpp10 int (&rg)(int) = g;
11 rg(i);
/external/webp/src/dsp/
H A Dyuv.h98 const int rg = (r & 0xf8) | (g >> 5); local
102 rgb[1] = rg;
104 rgb[0] = rg;
114 const int rg = (r & 0xf0) | (g >> 4); local
118 argb[1] = rg;
120 argb[0] = rg;
H A Dupsampling_mips_dsp_r2.c68 const int rg = (r & 0xf8) | (g >> 5); local
72 rgb[1] = rg;
74 rgb[0] = rg;
84 const int rg = (r & 0xf0) | (g >> 4); local
88 argb[1] = rg;
90 argb[0] = rg;
H A Dupsampling_neon.c121 const uint8x8_t rg = vsri_n_u8(r, g, 4); /* shift g, insert r */ \
123 const uint8x8x2_t rgba4444 = ZIP_U8(rg, ba); \
128 const uint8x8_t rg = vsri_n_u8(r, g, 5); /* shift g and insert r */ \
131 const uint8x8x2_t rgb565 = ZIP_U8(rg, gb); \
/external/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaBench.cs273 CBenchRandomGenerator rg = new CBenchRandomGenerator();
275 rg.Set(kBufferSize);
276 rg.Generate();
279 crc.Update(rg.Buffer, 0, rg.BufferSize);
289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize);
/external/lzma/Java/SevenZip/
H A DLzmaBench.java317 CBenchRandomGenerator rg = new CBenchRandomGenerator();
319 rg.Set(kBufferSize);
320 rg.Generate();
323 crc.Update(rg.Buffer, 0, rg.BufferSize);
333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize);
/external/webp/src/enc/
H A Dpicture_csp_enc.c140 static int RGBToY(int r, int g, int b, VP8Random* const rg) { argument
141 return (rg == NULL) ? VP8RGBToY(r, g, b, YUV_HALF)
142 : VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX));
145 static int RGBToU(int r, int g, int b, VP8Random* const rg) { argument
146 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2)
147 : VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2));
150 static int RGBToV(int r, int g, int b, VP8Random* const rg) { argument
151 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2)
152 : VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2));
749 VP8Random* const rg) {
743 ConvertRowToY(const uint8_t* const r_ptr, const uint8_t* const g_ptr, const uint8_t* const b_ptr, int step, uint8_t* const dst_y, int width, VP8Random* const rg) argument
818 ConvertRowsToUV(const uint16_t* rgb, uint8_t* const dst_u, uint8_t* const dst_v, int width, VP8Random* const rg) argument
886 VP8Random* rg = NULL; local
[all...]
/external/clang/test/OpenMP/
H A Dtarget_is_device_ptr_ast_print.cpp17 STarr &rg = g; member in struct:SA
35 #pragma omp target is_device_ptr(rg) // OK
45 // CHECK-NEXT: STarr &rg = this->g;
68 // CHECK-NEXT: #pragma omp target is_device_ptr(this->rg)
H A Dtarget_is_device_ptr_messages.cpp12 STarr &rg = g; member in struct:SA
46 #pragma omp target is_device_ptr(rg) // OK
/external/clang/test/Index/
H A Dprint-type-size.cpp360 // CHECK64: FieldDecl=rg:[[@LINE+2]]:8 (Definition) [type=Test3::C &] [typekind=LValueReference] [sizeof=88] [alignof=8] [offsetof=832]
361 // CHECK32: FieldDecl=rg:[[@LINE+1]]:8 (Definition) [type=Test3::C &] [typekind=LValueReference] [sizeof=60] [alignof=4] [offsetof=576]
362 C &rg; member in struct:Test3::BaseStruct
/external/skia/src/opts/
H A DSkSwizzler_opts.h521 __m128i rg = _mm_unpacklo_epi32(*lo, *hi), // rrrrRRRR ggggGGGG
525 __m128i r = _mm_unpacklo_epi8(rg, zeros), // r_r_r_r_ R_R_R_R_
526 g = _mm_unpackhi_epi8(rg, zeros), // g_g_g_g_ G_G_G_G_
536 rg = _mm_or_si128(r, _mm_slli_epi16(g, 8)); // rgrgrgrg RGRGRGRG
538 *lo = _mm_unpacklo_epi16(rg, ba); // rgbargba rgbargba
539 *hi = _mm_unpackhi_epi16(rg, ba); // RGBARGBA RGBARGBA
755 __m128i rg = _mm_or_si128(r, _mm_slli_epi16(g, 8)), // rgrgrgrg RGRGRGRG
757 *lo = _mm_unpacklo_epi16(rg, ba); // rgbargba rgbargba
758 *hi = _mm_unpackhi_epi16(rg, ba); // RGB1RGB1 RGB1RGB1
/external/skqp/src/opts/
H A DSkSwizzler_opts.h521 __m128i rg = _mm_unpacklo_epi32(*lo, *hi), // rrrrRRRR ggggGGGG
525 __m128i r = _mm_unpacklo_epi8(rg, zeros), // r_r_r_r_ R_R_R_R_
526 g = _mm_unpackhi_epi8(rg, zeros), // g_g_g_g_ G_G_G_G_
536 rg = _mm_or_si128(r, _mm_slli_epi16(g, 8)); // rgrgrgrg RGRGRGRG
538 *lo = _mm_unpacklo_epi16(rg, ba); // rgbargba rgbargba
539 *hi = _mm_unpackhi_epi16(rg, ba); // RGBARGBA RGBARGBA
755 __m128i rg = _mm_or_si128(r, _mm_slli_epi16(g, 8)), // rgrgrgrg RGRGRGRG
757 *lo = _mm_unpacklo_epi16(rg, ba); // rgbargba rgbargba
758 *hi = _mm_unpackhi_epi16(rg, ba); // RGB1RGB1 RGB1RGB1
/external/clang/test/CodeGen/
H A Dext-vector.c315 vec2 = vec4.rg;
329 f = vec4_2.rg.r;
/external/jemalloc/include/jemalloc/internal/
H A Dbitmap.h139 bitmap_t rg = bitmap[rgoff]; local
141 return (rg == 0);
/external/lzma/CPP/7zip/UI/Common/
H A DBench.cpp191 CBaseRandomGenerator rg = *_RG_; local
195 buf[i] = (Byte)rg.GetRnd();
196 *_RG_ = rg;
201 CBaseRandomGenerator rg = *_RG_; local
210 UInt32 r = rg.GetRnd();
237 r = rg.GetRnd();
243 r = rg.GetRnd();
261 *_RG_ = rg;
742 CBenchRandomGenerator rg;
755 CBaseRandomGenerator *rg);
[all...]
/external/devlib/devlib/utils/
H A Dmisc.py528 for rg in ranges_string.split(','):
529 if '-' in rg:
530 first, last = map(int, rg.split('-'))
533 values.append(int(rg))

Completed in 1237 milliseconds

123