/external/v8/test/mjsunit/harmony/ |
block-for.js | 33 function props(x) { function 39 assertEquals(0, props({}).length); 40 assertEquals(1, props({x:1}).length); 41 assertEquals(2, props({x:1, y:2}).length); 43 assertArrayEquals(["x"], props({x:1})); 44 assertArrayEquals(["x", "y"], props({x:1, y:2})); 45 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3})); 47 assertEquals(0, props([]).length); 48 assertEquals(1, props([1]).length); 49 assertEquals(2, props([1,2]).length) [all...] |
collections.js | 174 function props(x) { 179 assertArrayEquals([], props(func)); 180 assertArrayEquals([], props(func.prototype)); 181 assertArrayEquals([], props(new func()));
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/ |
MockExtraPackage.java | 46 Properties props,
52 props, // props,
75 Properties props = new Properties();
local 76 props.setProperty(ToolPackage.PROP_MIN_PLATFORM_TOOLS_REV,
78 return props;
|
MockPlatformPackage.java | 43 this(null /*source*/, new MockPlatformTarget(apiLevel, revision), null /*props*/);
65 private MockPlatformPackage(SdkSource source, IAndroidTarget target, Properties props) {
66 super(source, target, props);
71 Properties props = new Properties();
local 72 props.setProperty(PkgProps.MIN_TOOLS_REV, Integer.toString((min_tools_rev)));
73 return props;
|
MockToolPackage.java | 52 createProps(min_platform_tools_rev), // props,
64 Properties props = new Properties();
local 65 props.setProperty(ToolPackage.PROP_MIN_PLATFORM_TOOLS_REV,
67 return props;
|
PlatformPackageTest.java | 38 protected PlatformPackageWithFakeArchive(IAndroidTarget target, Properties props) { 39 super(target, props); 44 Properties props, 50 return super.initializeArchives(props, Os.ANY, Arch.ANY, LOCAL_ARCHIVE_PATH); 54 private PlatformPackage createPlatformPackage(Properties props) { 57 props); 64 Properties props = super.createProps(); local 67 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); 68 props.setProperty(PkgProps.PLATFORM_VERSION, "android-5"); 69 props.setProperty(PkgProps.PLATFORM_INCLUDED_ABI, "armeabi") 86 Properties props = createProps(); local 94 Properties props = createProps(); local 105 Properties props = createProps(); local [all...] |
MinToolsPackageTest.java | 36 Properties props, 45 props, 83 Properties props = createProps(); local 87 props, 102 Properties props = createProps(); local 106 props, 119 assertEquals(props2, props); 124 Properties props = super.createProps(); local 127 props.setProperty(PkgProps.MIN_TOOLS_REV, "3"); 129 return props; [all...] |
PackageTest.java | 45 Properties props, 54 props, 91 Properties props = createProps(); local 95 props, 109 Properties props = createProps(); local 113 props, 126 assertEquals(props2, props); 136 Properties props = new Properties(); local 139 props.setProperty(PkgProps.PKG_REVISION, "42"); 140 props.setProperty(PkgProps.PKG_LICENSE, "The License") [all...] |
SourcePackageTest.java | 41 Properties props) { 44 props, 50 Properties props, 56 return super.initializeArchives(props, Os.ANY, Arch.ANY, LOCAL_ARCHIVE_PATH); 60 private SourcePackage createSourcePackageTest(Properties props) throws AndroidVersionException { 62 new AndroidVersion(props), 64 props); 70 Properties props = super.createProps(); local 73 props.setProperty(PkgProps.VERSION_API_LEVEL, "5"); 75 return props; 89 Properties props = createProps(); local 97 Properties props = createProps(); local 120 Properties props = createProps(); local [all...] |
/external/bluetooth/bluez/test/ |
test-telephony | 80 props = headset.GetProperties() variable 81 print props['SpeakerGain'] 95 props = headset.GetProperties() variable 96 print props['MicrophoneGain']
|
/external/openfst/src/include/fst/ |
rmfinalepsilon.h | 44 uint64 props = 0; local 45 SccVisitor<A> scc_visitor(0, &access, &coaccess, &props);
|
closure.h | 51 uint64 props = fst->Properties(kFstProperties, false); local 69 fst->SetProperties(ClosureProperties(props, closure_type == CLOSURE_STAR),
|
lexicographic-weight.h | 62 uint64 props = kPath; local 63 if ((W1::Properties() & props) != props) { 68 if ((W2::Properties() & props) != props) {
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
rmfinalepsilon.h | 38 uint64 props = 0; local 39 SccVisitor<A> scc_visitor(0, &access, &coaccess, &props);
|
closure.h | 44 uint64 props = fst->Properties(kFstProperties, false); local 61 fst->SetProperties(ClosureProperties(props, closure_type == CLOSURE_STAR),
|
weight.h | 126 uint64 props = kIdempotent | kLeftSemiring | kRightSemiring; local 127 if (W::Properties() & props != props)
|
/external/v8/test/mjsunit/ |
for-in.js | 28 function props(x) { function 34 assertEquals(0, props({}).length, "olen0"); 35 assertEquals(1, props({x:1}).length, "olen1"); 36 assertEquals(2, props({x:1, y:2}).length, "olen2"); 38 assertArrayEquals(["x"], props({x:1}), "x"); 39 assertArrayEquals(["x", "y"], props({x:1, y:2}), "xy"); 40 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3}), "xyzoom"); 42 assertEquals(0, props([]).length, "alen0"); 43 assertEquals(1, props([1]).length, "alen1"); 44 assertEquals(2, props([1,2]).length, "alen2") [all...] |
simple-constructor.js | 28 function props(x) { function 59 assertArrayEquals(["x"], props(o1_1), "3"); 60 assertArrayEquals(["x"], props(o1_2), "4"); 64 assertArrayEquals(["x"], props(o2_1)); 65 assertArrayEquals(["x"], props(o2_2)); 69 assertArrayEquals(["x", "y", "z"], props(o3_1)); 70 assertArrayEquals(["x", "y", "z"], props(o3_2)); 74 assertArrayEquals(["x", "y", "z"], props(o4_0_1)); 75 assertArrayEquals(["x", "y", "z"], props(o4_0_2)); 79 assertArrayEquals(["x", "y"], props(o4_1_1)) [all...] |
/external/v8/test/mjsunit/regress/ |
regress-crbug-3867.js | 28 function props(x) { function 52 assertArrayEquals(["a1", "a2", "a3"], props(new A())); 53 assertArrayEquals(["b3", "b2", "b1"], props(new B())); 54 assertArrayEquals(["c3", "c1", "c2"], props(new C())); 55 assertArrayEquals(["s1", "s2", "s3"], props({s1: 0, s2: 0, s3: 0})); 56 assertArrayEquals(["s3", "s2", "s1"], props({s3: 0, s2: 0, s1: 0})); 57 assertArrayEquals(["s3", "s1", "s2"], props({s3: 0, s1: 0, s2: 0})); 62 assertArrayEquals(["a1", "a2", "a3", "a0", "a4"], props(a)); 67 assertArrayEquals(["b3", "b2", "b1", "b4", "b0"], props(b)); 72 assertArrayEquals(["s1", "s2", "s3", "s0", "s4"], props(o1)) [all...] |
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldMemoryHandlerTest.java | 36 final static Properties props = new Properties(); field in class:OldMemoryHandlerTest 44 manager.readConfiguration(propertiesToInputStream(props)); 51 props.clear(); 61 props.put("java.util.logging.MemoryHandler.level", "FINE"); 62 props.put("java.util.logging.MemoryHandler.filter", baseClassName + "$MockFilter"); 63 props.put("java.util.logging.MemoryHandler.size", "2"); 64 props.put("java.util.logging.MemoryHandler.push", "WARNING"); 65 props.put("java.util.logging.MemoryHandler.target", baseClassName + "$MockHandler"); 66 props.put("java.util.logging.MemoryHandler.formatter", baseClassName + "$MockFormatter");
|
/hardware/msm7k/dspcrashd/ |
dspcrashd.c | 41 char *props[] = { variable 81 char **p = props;
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldDriverPropertyInfoTest.java | 51 Properties props = new Properties(); local 54 props);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/ |
MinToolsPackage.java | 65 * Properties from props are used first when possible, e.g. if props is non null.
71 Properties props,
79 super(source, props, revision, license, description, descUrl,
83 getProperty(props,
98 public void saveProperties(Properties props) {
99 super.saveProperties(props);
102 props.setProperty(PkgProps.MIN_TOOLS_REV,
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/ |
SdkSources.java | 282 Properties props = new Properties();
local 283 props.load(fis);
285 int count = Integer.parseInt(props.getProperty(KEY_COUNT, "0"));
288 String url = props.getProperty(String.format("%s%02d", KEY_SRC, i)); //$NON-NLS-1$
333 Properties props = new Properties();
local 337 props.setProperty(String.format("%s%02d", KEY_SRC, count), //$NON-NLS-1$
341 props.setProperty(KEY_COUNT, Integer.toString(count));
343 props.store( fos, "## User Sources for Android SDK Manager"); //$NON-NLS-1$
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
DownloadCache.java | 258 Properties props = readInfo(info); local 259 if (props == null) { 274 assert props != null; 277 String code = props.getProperty(KEY_STATUS_CODE, ""); //$NON-NLS-1$ 289 long length = Long.parseLong(props.getProperty(HttpHeaders.CONTENT_LENGTH, 305 String etag = props.getProperty(HttpHeaders.ETAG); 306 String lastMod = props.getProperty(HttpHeaders.LAST_MODIFIED); 583 Properties props = new Properties(); local 587 props.setProperty(KEY_URL, urlString); 588 props.setProperty(KEY_STATUS_CODE 615 Properties props = new Properties(); local [all...] |