/external/valgrind/main/coregrind/m_gdbserver/ |
valgrind-low-ppc64.c | 106 { "cr", 4224, 32 }, 256 UInt cr = LibVEX_GuestPPC64_get_CR (ppc64); local 258 VG_(transfer) (&cr, buf, dir, size, mod); 262 *mod = newcr != cr;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestSyncAdapter.java | 54 ContentResolver cr = mContext.getContentResolver(); local 58 final int count = cr.update(RawContacts.CONTENT_URI, values,
|
/frameworks/base/core/java/android/provider/ |
SearchRecentSuggestions.java | 189 ContentResolver cr = mContext.getContentResolver(); local 201 cr.insert(mSuggestionsUri, values); 207 truncateHistory(cr, MAX_HISTORY_COUNT); 219 ContentResolver cr = mContext.getContentResolver(); local 220 truncateHistory(cr, 0); 226 * @param cr Convenience copy of the content resolver. 229 protected void truncateHistory(ContentResolver cr, int maxEntries) { 243 cr.delete(mSuggestionsUri, selection, null);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
CharArrayWriterTest.java | 31 CharArrayReader cr; field in class:CharArrayWriterTest 70 cr = new CharArrayReader(cw.toCharArray()); 72 cr.read(c, 0, 5); 91 cr = new CharArrayReader(cw.toCharArray()); 93 cr.read(c, 0, 10); 103 cr = new CharArrayReader(cw.toCharArray()); 112 cr = new CharArrayReader(cw.toCharArray()); 114 cr.read(c, 0, 5); 137 cr = new CharArrayReader(cw.toCharArray()); 138 assertEquals("Writer failed to write char", 'T', cr.read()) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
UninstallShortcutReceiver.java | 102 final ContentResolver cr = context.getContentResolver(); local 103 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, 118 cr.delete(uri, null, null); 133 cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null);
|
/packages/apps/Mms/src/com/android/mms/data/ |
RecipientIdCache.java | 193 final ContentResolver cr = mContext.getContentResolver(); local 199 cr.update(uri, values, buf.toString(), null); 270 final ContentResolver cr = context.getContentResolver(); local 276 cr.insert(sAllCanonical, values);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySaverSettings.java | 214 final ContentResolver cr = getContentResolver(); local 216 cr.registerContentObserver(LOW_POWER_MODE_TRIGGER_LEVEL_URI, false, this); 218 cr.unregisterContentObserver(this);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
BrightnessController.java | 112 final ContentResolver cr = mContext.getContentResolver(); local 113 cr.unregisterContentObserver(this); 114 cr.registerContentObserver( 117 cr.registerContentObserver( 120 cr.registerContentObserver( 126 final ContentResolver cr = mContext.getContentResolver(); local 127 cr.unregisterContentObserver(this);
|
/packages/apps/Browser/src/com/android/browser/ |
DataController.java | 183 ContentResolver cr = mContext.getContentResolver(); local 185 cr.delete(ContentUris.withAppendedId( 216 ContentResolver cr = mContext.getContentResolver(); local 220 cr.insert(Thumbnails.CONTENT_URI, values); 224 ContentResolver cr = mContext.getContentResolver(); local 228 c = cr.query(uri, new String[] {Thumbnails._ID, 244 ContentResolver cr = mContext.getContentResolver(); local 247 c = cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, 253 cr.update(ContentUris.withAppendedId(History.CONTENT_URI, c.getLong(0)), 256 android.provider.Browser.truncateHistory(cr); 295 ContentResolver cr = mContext.getContentResolver(); local [all...] |
/bionic/libc/tzcode/ |
strptime.c | 104 struct century_relyear cr; local 105 cr.century = TM_YEAR_BASE; 106 cr.relyear = -1; 107 return (char*)(_strptime((const unsigned char*)buf, fmt, tm, &cr)); 111 _strptime(const unsigned char *buf, const char *fmt, struct tm *tm, struct century_relyear *cr) 163 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, cr))) 169 if (!(bp = _strptime(bp, "%m/%d/%y", tm, cr))) 175 if (!(bp = _strptime(bp, "%H:%M", tm, cr))) 181 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, cr))) 187 if (!(bp = _strptime(bp, "%H:%M:%S", tm, cr))) [all...] |
/external/chromium_org/third_party/libjpeg_turbo/ |
jdmrgext.c | 30 int cb, cr; local 50 cr = GETJSAMPLE(*inptr2++); 51 cred = Crrtab[cr]; 52 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); 75 cr = GETJSAMPLE(*inptr2); 76 cred = Crrtab[cr]; 77 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); 103 int cb, cr; local 125 cr = GETJSAMPLE(*inptr2++); 126 cred = Crrtab[cr]; [all...] |
/external/chromium_org/third_party/skia/gm/ |
lighting.cpp | 95 const SkImageFilter::CropRect* cr = (i == 0) ? NULL : &cropRect; local 96 paint.setImageFilter(SkLightingImageFilter::CreatePointLitDiffuse(pointLocation, white, surfaceScale, kd, NULL, cr))->unref(); 99 paint.setImageFilter(SkLightingImageFilter::CreateDistantLitDiffuse(distantDirection, white, surfaceScale, kd, NULL, cr))->unref(); 102 paint.setImageFilter(SkLightingImageFilter::CreateSpotLitDiffuse(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, kd, NULL, cr))->unref(); 107 paint.setImageFilter(SkLightingImageFilter::CreatePointLitSpecular(pointLocation, white, surfaceScale, ks, shininess, NULL, cr))->unref(); 110 paint.setImageFilter(SkLightingImageFilter::CreateDistantLitSpecular(distantDirection, white, surfaceScale, ks, shininess, NULL, cr))->unref(); 113 paint.setImageFilter(SkLightingImageFilter::CreateSpotLitSpecular(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, ks, shininess, NULL, cr))->unref();
|
morphology.cpp | 76 const SkImageFilter::CropRect* cr = j & 0x02 ? &cropRect : NULL; local 82 cr))->unref(); 88 cr))->unref();
|
/external/chromium_org/tools/cr/cr/actions/ |
ninja.py | 5 """A module to add ninja support to cr.""" 10 import cr namespace 16 DEFAULT = cr.Config.From( 20 class NinjaBuilder(cr.Builder): 25 ENABLED = cr.Config.From( 34 GOMA = cr.Config.From( 43 DETECTED = cr.Config('DETECTED') 53 with open(cr.context.Get('NINJA_BUILD_FILE'), 'r') as f: 54 if f.readline().rstrip('\n') == cr.context.Get('NINJA_GOMA_LINE'): 56 cr.Host.ExecuteSilently [all...] |
/external/chromium_org/tools/cr/cr/base/ |
android.py | 10 import cr namespace 23 class AndroidPlatform(cr.Platform): 26 ACTIVE = cr.Config.From( 46 self._env = cr.Config('android-env', literal=True, export=True) 56 """Override Prepare from cr.Platform.""" 62 before = cr.context.exported 65 output = cr.Host.CaptureShell(envsetup + ' > /dev/null && env') 66 env_setup = cr.Config('envsetup', literal=True, export=True) 95 class AndroidInitHook(cr.InitHook): 104 return cr.AndroidPlatform.GetInstance().is_activ [all...] |
/external/chromium_org/tools/cr/cr/targets/ |
target.py | 9 import cr namespace 10 import cr.base.context namespace 12 DEFAULT = cr.Config.From( 17 class Target(cr.base.context.Context, cr.AutoExport): 18 """Base class for implementing cr targets. 40 config = cr.Config('DEFAULTS').From( 43 CR_BUILD_TARGET=cr.Config.Optional( 48 self._data = cr.context.data 49 self.AddChildren(config, cr.context [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ui/ |
file_manager_dialog_base.js | 11 * @extends {cr.ui.dialogs.BaseDialog} 15 cr.ui.dialogs.BaseDialog.call(this, parentNode); 19 __proto__: cr.ui.dialogs.BaseDialog.prototype 76 cr.ui.dialogs.BaseDialog.prototype.showWithTitle.call( 114 cr.ui.dialogs.BaseDialog.prototype.hide.call(
|
/external/chromium_org/v8/test/webkit/ |
ToNumber.js | 35 var cr = String.fromCharCode(0xD); variable 103 shouldBe("+cr", "0"); 127 shouldBe("+(cr + '1')", "1"); 151 shouldBe("+('1' + cr)", "1"); 175 shouldBe("+('1' + cr + '1')", "NaN");
|
parseFloat.js | 33 var cr = String.fromCharCode(0xD); variable 79 shouldBe("parseFloat(cr + '1')", "1");
|
/external/fio/ |
printing.c | 33 cairo_t *cr; local 37 cr = gtk_print_context_get_cairo_context(context); 39 cairo_set_source_rgb(cr, 0, 0, 0); 40 cairo_set_line_width(cr, 5.0); 41 cairo_move_to(cr, 0.0, 0.0); 42 cairo_line_to(cr, print_params.width, print_params.height); 43 cairo_move_to(cr, 0.0, print_params.height); 44 cairo_line_to(cr, print_params.width, 0.0); 45 cairo_stroke(cr); 50 draw_right_justified_text(cr, "Sans", x, y, 12.0, str) [all...] |
/external/skia/gm/ |
lighting.cpp | 94 const SkImageFilter::CropRect* cr = (i == 0) ? NULL : &cropRect; local 95 paint.setImageFilter(SkLightingImageFilter::CreatePointLitDiffuse(pointLocation, white, surfaceScale, kd, NULL, cr))->unref(); 98 paint.setImageFilter(SkLightingImageFilter::CreateDistantLitDiffuse(distantDirection, white, surfaceScale, kd, NULL, cr))->unref(); 101 paint.setImageFilter(SkLightingImageFilter::CreateSpotLitDiffuse(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, kd, NULL, cr))->unref(); 106 paint.setImageFilter(SkLightingImageFilter::CreatePointLitSpecular(pointLocation, white, surfaceScale, ks, shininess, NULL, cr))->unref(); 109 paint.setImageFilter(SkLightingImageFilter::CreateDistantLitSpecular(distantDirection, white, surfaceScale, ks, shininess, NULL, cr))->unref(); 112 paint.setImageFilter(SkLightingImageFilter::CreateSpotLitSpecular(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, ks, shininess, NULL, cr))->unref();
|
morphology.cpp | 75 const SkImageFilter::CropRect* cr = j & 0x02 ? &cropRect : NULL; local 81 cr))->unref(); 87 cr))->unref();
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_image.c | 87 u32 *lum, *cb, *cr; local 99 /*lint -save -e826 lum, cb and cr used to copy 4 bytes at the time, disable 103 cr = (u32*)image->cr; 106 ASSERT(!((u32)cr&0x3)); 138 *cr++ = tmp1; 139 *cr++ = tmp2; 140 cr += width-2; 179 u8 *lum, *cb, *cr; local 205 cr = (cb + picSize * 64) [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
DisplayAdjustmentUtils.java | 61 final ContentResolver cr = context.getContentResolver(); local 63 if (Settings.Secure.getIntForUser(cr, 68 if (Settings.Secure.getIntForUser(cr, 80 final ContentResolver cr = context.getContentResolver(); local 83 if (Settings.Secure.getIntForUser(cr, 88 if (Settings.Secure.getIntForUser(cr, 90 final int daltonizerMode = Settings.Secure.getIntForUser(cr,
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_transport.cpp | 72 struct ucred cr; local 73 socklen_t cr_len = sizeof(cr); 74 if (getsockopt(clientSocket, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) != 0) { 81 if (cr.uid != AID_SHELL && cr.uid != AID_ROOT) { 82 ALOGE("Unknown peer type (%d), expected shell to be the peer", cr.uid);
|