/libcore/tzdata/update/src/test/libcore/tzdata/update/ |
FileUtilsTest.java | 158 File one = new File(dir, "one"); local 159 File two = new File(one, "two"); 162 assertDirExistsAndIsAccessible(one, true /* requireWorldReadable */); 244 File file = createTextFile("One\nTwo\nThree\n"); 248 assertEquals(lines, Arrays.asList("One", "Two", "Three"));
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
DialpadFragment.java | 249 // one of the choices, which would be confusing. (But at 380 View oneButton = fragmentView.findViewById(R.id.one); 585 final int[] buttonIds = new int[] {R.id.one, R.id.two, R.id.three, R.id.four, R.id.five, 595 // Long-pressing one button will initiate Voicemail. 596 final DialpadKeyButton one = (DialpadKeyButton) fragmentView.findViewById(R.id.one); local 597 one.setOnLongClickListener(this); 823 case R.id.one: { [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
Ropper.java | 246 * @param retBlock one of the ret blocks (final blocks) of this 415 * stack element, plus one if the method is synchronized to 427 * should be one of the static constants defined by this class. 551 BasicBlock one = result.get(i); local 552 if (one.getLabel() == label) { 847 * (which will either be all of them or all but the last one) 910 ByteCatchList.Item one = catches.get(i); local 911 CstType exceptionClass = one.getExceptionClass(); 912 int targ = one.getHandlerPc(); 946 * already have a catch-all handler, so add one to th 1116 Type one = params.get(i); local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
CStringChecker.cpp | 374 NonLoc One = svalBuilder.makeIntVal(1, sizeTy).castAs<NonLoc>(); 376 .evalBinOpNN(state, BO_Sub, *Length, One, sizeTy).castAs<NonLoc>(); 471 // If we don't know which one comes first, we can't perform this test. 1450 NonLoc one = svalBuilder.makeIntVal(1, sizeTy).castAs<NonLoc>(); local [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheLoadingTest.java | 163 final Object one = new Object(); local 168 return one; 185 assertSame(one, cache.getUnchecked(key)); 209 final Object one = new Object(); local 215 return one; 236 assertSame(one, cache.getUnchecked(key)); 244 assertSame(one, cache.getUnchecked(key)); 269 final Object one = new Object(); local 275 return one; 296 assertSame(one, cache.getUnchecked(key)) 654 final Object one = new Object(); local 699 final Object one = new Object(); local 744 final Object one = new Object(); local 930 final Object one = new Object(); local 976 final Object one = new Object(); local 1022 final Object one = new Object(); local 1252 final Object one = new Object(); local 1298 final Object one = new Object(); local 1344 final Object one = new Object(); local 1524 final Object one = new Object(); local 1570 final Object one = new Object(); local 1616 final Object one = new Object(); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralRules.java | 58 * "one: n is 1; few: n in 2..4" 61 * This defines two rules, for 'one' and 'few'. The condition for 'one' is "n is 1" which means that the number must be 68 * "zero: n is 0; one: n is 1; zero: n mod 100 in 1..19" 72 * keyword whose condition passes is the one returned. Also notes that a modulus is applied to n in the last rule. Thus 77 * "one: n is 1; few: n mod 10 in 2..4 and n mod 100 not in 12..14" 104 * <p>Each <b>not</b> term inverts the meaning; however, there should not be more than one of them.</p> 221 * this locale, the rules for the closest parent in the locale hierarchy that has one will be returned. 299 public static final String KEYWORD_ONE = "one"; 1801 one, enum constant in enum:PluralRules.StandardPluralCategories [all...] |
/external/libvncserver/libvncserver/ |
rfbserver.c | 313 int one=1; local 341 (char *)&one, sizeof(one)) < 0) { 441 * Wait a few ms for the client to send one of: [all...] |
/external/libvncserver/x11vnc/ |
connections.c | 572 * Better set DISPLAY to the one we are polling, if they 1731 int nfds, csock = -1, one = 1; local [all...] |
enc.h | 368 /* work out which cipher and set Cipher to the selected one. */ 1234 unsigned char one = 1, zero = 0, sig = 16; local 1670 int listen_fd = -1, listen_fd6 = -1, conn1 = -1, conn2 = -1, ret, one = 1; local 1739 int one = 1, sock = -1; local [all...] |
/external/lz4/lib/ |
lz4.c | 54 * One of the below scenarios will happen : 182 const union { U32 i; BYTE c[4]; } one = { 1 }; /* don't use static : performance detrimental */ local 183 return one.c[0]; [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_arit.c | 262 if(a == bld->one) 265 return bld->one; 276 return LLVMConstFSub(bld->one, a); 278 return LLVMConstSub(bld->one, a); 281 return LLVMBuildFSub(builder, bld->one, a, ""); 283 return LLVMBuildSub(builder, bld->one, a, ""); 312 if(a == bld->one || b == bld->one) 313 return bld->one; 341 res = lp_build_min_simple(bld, res, bld->one); 1178 LLVMValueRef one; local 2182 LLVMValueRef one = lp_build_const_vec(gallivm, bld->type, 1.0); local 2400 LLVMValueRef one = lp_build_const_vec(gallivm, bld->type, 1.0); local 2726 LLVMValueRef one = LLVMConstBitCast(bld->one, bld->int_vec_type); local 2793 LLVMValueRef one = LLVMConstBitCast(bld->one, int_vec_type); local [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_tgsi_insn.c | 486 * in one slot at least: 1120 struct src_register zero, one; local 1233 struct src_register one = scalar( get_zero_immediate( emit ), local 1377 struct src_register one, zero; local 1724 struct src_register one = local 2821 struct src_register one = scalar( get_zero_immediate( emit ), local [all...] |
/external/messageformat/java/com/ibm/icu/simple/ |
PluralRules.java | 54 * "one: n is 1; few: n in 2..4" 57 * This defines two rules, for 'one' and 'few'. The condition for 'one' is "n is 1" which means that the number must be 64 * "zero: n is 0; one: n is 1; zero: n mod 100 in 1..19" 68 * keyword whose condition passes is the one returned. Also notes that a modulus is applied to n in the last rule. Thus 73 * "one: n is 1; few: n mod 10 in 2..4 and n mod 100 not in 12..14" 100 * <p>Each <b>not</b> term inverts the meaning; however, there should not be more than one of them.</p> 208 * this locale, the rules for the closest parent in the locale hierarchy that has one will be returned. 286 public static final String KEYWORD_ONE = "one"; 1791 one, enum constant in enum:PluralRules.StandardPluralCategories [all...] |
/external/netperf/ |
nettest_bsd.c | 441 For those options taking two parms, at least one must be specified;\n\ 442 specifying one value without a comma will set both parms to that\n\ 595 first being the one for Solaris below. The need for this kludge 635 /* there exists at least one platform - Solaris 10 - that does not 636 seem to completely honor the ai_protocol and/or ai_socktype one 863 int one; 957 IPPROT_UDP, and while HP-UX, and I suspect no-one else on the 991 one = 1; 995 (char *)&one, 996 sizeof(one)) == SOCKET_ERROR) 858 int one; local 1014 int one = 1; local 3588 int one = 1; local 9088 int one = 1; local [all...] |
/external/opencv/cv/src/ |
mycvHaarDetectObjects.cpp | 432 * whether (op - res - one) underflowed. 435 register int op, res, one; local 440 /* "one" starts at the highest power of four <= than the argument. */ 442 one = 1 << 30; /* second-to-top bit set */ 443 while (one > op) one >>= 2; 445 while (one != 0) { 446 if (op >= res + one) { 447 op = op - (res + one); 448 res = res + 2 * one; [all...] |
/external/skia/experimental/PdfViewer/src/ |
SkPdfRenderer.cpp | 520 // TODO(edisonn): assumes RGB for now, since it is the only one implemented 587 SkScalar one = SkIntToScalar(1); local 589 SkPoint from[4] = {SkPoint::Make(z, z), SkPoint::Make(one, z), 590 SkPoint::Make(one, one), SkPoint::Make(z, one)}; 591 SkPoint to[4] = {SkPoint::Make(z, one), SkPoint::Make(one, one), 592 SkPoint::Make(one, z), SkPoint::Make(z, z)} [all...] |
/external/valgrind/VEX/priv/ |
host_arm64_isel.c | 402 encoding, and we need to translate that to an ARM64 FP one: 555 (since there is only one calling convention) and so we always 802 result. The expression may only be a 64-bit one. 1311 ARM64RIL* one = mb_mkARM64RIL_I(1); local 1333 ARM64RIL* one = mb_mkARM64RIL_I(1); local 1859 HReg one = newVRegI(env); local 1925 ARM64RIL* one = mb_mkARM64RIL_I(1); local 1932 HReg one = newVRegI(env); local 3661 HReg one = newVRegI(env); local 3823 ARM64RIL* one = mb_mkARM64RIL_I(1); local [all...] |
host_arm_isel.c | 309 encoding, and we need to translate that to an ARMvfp one: 459 (since there is only one calling convention) and so we always 732 result. The expression may only be a 32-bit one. 801 result. The expression may only be a 32-bit one. 867 result. The expression may only be a 32-bit one. 935 without knowing (before this call) which one. 1065 ARMRI84* one = ARMRI84_I84(1,0); local 1081 ARMRI84* one = ARMRI84_I84(1,0); local 6140 ARMRI84* one = ARMRI84_I84(1,0); local [all...] |
/external/valgrind/cachegrind/ |
cg_main.c | 163 // pointed to by one or more CCs. 238 // Returns a pointer to the line CC, creates a new one if necessary. 438 /* For branches, we consult two different predictors, one which 477 it makes just one memory reference (a modify), rather than two (a 780 /* Merge an IrNoX with one following IrNoX. */ 1254 IRExpr* one = tyW==Ity_I32 ? IRExpr_Const(IRConst_U32(1)) local [all...] |
/external/valgrind/callgrind/ |
main.c | 131 /* For branches, we consult two different predictors, one which 209 it makes just one memory reference (a modify), rather than two (a 502 /* Merge an Ir with one following Ir. */ 1041 // Init the inode, record it as the current one. 1200 IRExpr* one = tyW==Ity_I32 ? IRExpr_Const(IRConst_U32(1)) local [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ArrayBlockingQueueTest.java | 155 q.add(one); 186 assertFalse(q.offer(one)); 545 q.add(one); 547 assertTrue(q.contains(one)); 732 q.add(one); 740 assertSame(it.next(), one); local 750 q.add(one); 768 q.add(one); 794 q.add(one); 810 assertSame(one, q.take()) [all...] |
LinkedTransferQueueTest.java | 385 assertTrue(q.add(one)); 387 assertTrue(q.remove(one)); 413 q.add(one); 416 assertTrue(q.contains(one)); 538 q.add(one); 546 assertSame(it.next(), one); local 558 q.add(one); 574 q.add(one); 606 assertTrue(q.offer(one, LONG_DELAY_MS, MILLISECONDS)); 612 assertSame(one, q.take()) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLTest.java | 1 /* Licensed to the Apache Software Foundation (ASF) under one or more 767 URL one; local 769 one = new URL("http://www.ibm.com"); 775 new URL(one, (String) null, null);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
OneCameraImpl.java | 17 package com.android.camera.one.v2; 54 import com.android.camera.one.AbstractOneCamera; 55 import com.android.camera.one.CameraDirectionProvider; 56 import com.android.camera.one.OneCamera; 57 import com.android.camera.one.Settings3A; 58 import com.android.camera.one.v2.camera2proxy.AndroidCaptureResultProxy; 59 import com.android.camera.one.v2.camera2proxy.AndroidImageProxy; 60 import com.android.camera.one.v2.camera2proxy.CaptureResultProxy; 326 // RAW, which typically only supports one size (sensor size). This also 328 // TODO: If we ever want to support RAW properly, it should be one entr [all...] |
OneCameraZslImpl.java | 15 package com.android.camera.one.v2; 51 import com.android.camera.one.AbstractOneCamera; 52 import com.android.camera.one.CameraDirectionProvider; 53 import com.android.camera.one.OneCamera; 54 import com.android.camera.one.OneCamera.PhotoCaptureParameters.Flash; 55 import com.android.camera.one.Settings3A; 56 import com.android.camera.one.v2.ImageCaptureManager.ImageCaptureListener; 57 import com.android.camera.one.v2.ImageCaptureManager.MetadataChangeListener; 58 import com.android.camera.one.v2.camera2proxy.AndroidCaptureResultProxy; 59 import com.android.camera.one.v2.camera2proxy.AndroidImageProxy [all...] |