/external/webp/src/utils/ |
random.h | 34 void VP8InitRandom(VP8Random* const rg, float dithering); 39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, 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->index1_ = 0 [all...] |
random.c | 33 void VP8InitRandom(VP8Random* const rg, float dithering) { 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/ |
p1.cpp | 10 int (&rg)(int) = g; 11 rg(i);
|
/external/libxml2/ |
genChRanges.py | 364 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 equa [all...] |
/packages/apps/Gallery2/jni/filters/ |
hsv.c | 92 int rg=0; local 105 rb = ( rg = ( rr =( cv >> ABITS) )); 123 rg = X; 128 rg = cv; 133 rg = cv; 138 rg = X; 143 rg = m; 148 rg = m ; 154 rgb[rgbOff+1] = rg;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
shadows.rs | 108 int rg=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 139 rg = X; 144 rg = cv; 149 rg = cv; 154 rg = X; 159 rg = m; 164 rg = m ; 173 rgb.g = rg;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
shadows.rs | 108 int rg=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 139 rg = X; 144 rg = cv; 149 rg = cv; 154 rg = X; 159 rg = m; 164 rg = m ; 173 rgb.g = rg;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
shadows.rs | 108 int rg=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 139 rg = X; 144 rg = cv; 149 rg = cv; 154 rg = X; 159 rg = m; 164 rg = m ; 173 rgb.g = rg;
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
shadows_f.rs | 108 int rg=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 139 rg = X; 144 rg = cv; 149 rg = cv; 154 rg = X; 159 rg = m; 164 rg = m ; 173 rgb.g = rg;
|
/external/webp/src/dsp/ |
yuv.h | 125 const int rg = (r & 0xf8) | (g >> 5); local 129 rgb[1] = rg; 131 rgb[0] = rg; 141 const int rg = (r & 0xf0) | (g >> 4); local 145 argb[1] = rg; 147 argb[0] = rg; 187 const int rg = ((VP8kClip[y + r_off - YUV_RANGE_MIN] & 0xf8) | local 193 rgb[1] = rg; 195 rgb[0] = rg; 205 const int rg = ((VP8kClip4Bits[y + r_off - YUV_RANGE_MIN] << 4) local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetTypeChooser.java | 47 RadioGroup rg = (RadioGroup) findViewById(R.id.widget_type); local 48 rg.setOnCheckedChangeListener(mListener);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/ |
Test_return_object.java | 167 RunnerGenerator rg = (RunnerGenerator) Class.forName( local 169 Runner r = rg.run();
|
/external/clang/test/SemaCXX/ |
references.cpp | 10 int (&rg)(int) = g; 11 rg(i);
|
/external/webp/src/enc/ |
picture_csp.c | 144 static int RGBToY(int r, int g, int b, VP8Random* const rg) { 145 return (rg == NULL) ? VP8RGBToY(r, g, b, YUV_HALF) 146 : VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); 149 static int RGBToU(int r, int g, int b, VP8Random* const rg) { 150 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2) 151 : VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); 154 static int RGBToV(int r, int g, int b, VP8Random* const rg) { 155 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2) 156 : VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); 763 VP8Random* const rg) { 888 VP8Random* rg = NULL; local [all...] |
/external/lzma/Java/SevenZip/ |
LzmaBench.java | 28 CRandomGenerator RG = new CRandomGenerator();
48 Value = RG.GetRnd();
58 CBitRandomGenerator RG = new CBitRandomGenerator();
72 int GetRndBit() { return RG.GetRnd(1); }
75 int len = RG.GetRnd(numBits);
76 return RG.GetRnd((int)len);
82 return (GetLogRandBits(4) << 10) | RG.GetRnd(10);
84 int GetLen1() { return RG.GetRnd(1 + (int)RG.GetRnd(2)); }
85 int GetLen2() { return RG.GetRnd(2 + (int)RG.GetRnd(2)); } 317 CBenchRandomGenerator rg = new CBenchRandomGenerator(); local [all...] |
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
TabLayoutUsage.java | 108 RadioGroup rg = (RadioGroup) findViewById(R.id.radiogroup_tab_mode); local 109 rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { 133 rg = (RadioGroup) findViewById(R.id.radiogroup_tab_gravity); 134 rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
/external/lzma/CPP/7zip/UI/Common/ |
Bench.cpp | 99 CBaseRandomGenerator *RG;
101 void Set(CBaseRandomGenerator *rg) { RG = rg; }
119 UInt32 res = RG->GetRnd();
133 res = RG->GetRnd();
137 res = RG->GetRnd();
496 CBenchRandomGenerator rg;
member in struct:CEncoderInfo 499 HRESULT Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rg);
555 rg.Set(rgLoc); 709 CBaseRandomGenerator rg; local [all...] |
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 33 CRandomGenerator RG = new CRandomGenerator();
53 Value = RG.GetRnd();
63 CBitRandomGenerator RG = new CBitRandomGenerator();
78 UInt32 GetRndBit() { return RG.GetRnd(1); }
81 UInt32 len = RG.GetRnd(numBits);
82 return RG.GetRnd((int)len);
88 return (GetLogRandBits(4) << 10) | RG.GetRnd(10);
90 UInt32 GetLen1() { return RG.GetRnd(1 + (int)RG.GetRnd(2)); }
91 UInt32 GetLen2() { return RG.GetRnd(2 + (int)RG.GetRnd(2)); } [all...] |
/external/v8/test/webkit/fast/js/kde/ |
RegExp.js | 40 var rg = /a/g; variable 44 shouldBeTrue("rg.global"); 49 shouldBe("rg.toString()", "'/a/g'"); 54 rg.global = false; 55 shouldBeTrue("rg.global");
|
/external/clang/test/Index/ |
print-type-size.cpp | 360 // 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
|
/frameworks/rs/api/ |
rs_value_types.spec | 72 v4.yz = v3.rg; // Valid<br/> 73 v4.yzx = v3.rg; // Invalid: mismatched sizes<br/>
|
/external/jemalloc/include/jemalloc/internal/ |
bitmap.h | 117 bitmap_t rg = bitmap[rgoff]; local 119 return (rg == 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorRectView.java | 151 LinearGradient rg = new LinearGradient( local 153 mWheelPaint2.setShader(rg);
|
/frameworks/native/include/ui/ |
vec3.h | 48 Impersonator< tvec2<T> > rg; member in union:android::tvec3::__anon23031
|
vec4.h | 48 Impersonator< tvec2<T> > rg; member in union:android::tvec4::__anon23036
|