/frameworks/base/libs/hwui/tests/unit/ |
RenderPropertiesTests.cpp | 31 RenderProperties props; local 34 props.setLeftTopRightBottom(0, 0, 100, 100); 35 ASSERT_TRUE(props.fitsOnLayer()); 36 props.setLeftTopRightBottom(100, 2000, 300, 4000); 37 ASSERT_TRUE(props.fitsOnLayer()); 38 props.setLeftTopRightBottom(-10, -10, 510, 512); 39 ASSERT_TRUE(props.fitsOnLayer()); 42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1); 43 ASSERT_FALSE(props.fitsOnLayer()); 46 props.setLeftTopRightBottom(0, 0, 100, 0) [all...] |
/external/lzma/C/ |
LzmaLib.c | 26 CLzmaEncProps props;
local 27 LzmaEncProps_Init(&props);
28 props.level = level;
29 props.dictSize = dictSize;
30 props.lc = lc;
31 props.lp = lp;
32 props.pb = pb;
33 props.fb = fb;
34 props.numThreads = numThreads;
36 return LzmaEncode(dest, destLen, src, srcLen, &props, outProps, outPropsSize, 0, [all...] |
/external/v8/test/mjsunit/harmony/ |
reflect-enumerate.js | 33 function props(x) { function 39 assertEquals(0, props({}).length, "olen0"); 40 assertEquals(1, props({x:1}).length, "olen1"); 41 assertEquals(2, props({x:1, y:2}).length, "olen2"); 43 assertArrayEquals(["x"], props({x:1}), "x"); 44 assertArrayEquals(["x", "y"], props({x:1, y:2}), "xy"); 45 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3}), "xyzoom"); 47 assertEquals(0, props([]).length, "alen0"); 48 assertEquals(1, props([1]).length, "alen1"); 49 assertEquals(2, props([1,2]).length, "alen2") [all...] |
block-for-sloppy.js | 31 function props(x) { function 37 assertEquals(0, props({}).length); 38 assertEquals(1, props({x:1}).length); 39 assertEquals(2, props({x:1, y:2}).length); 41 assertArrayEquals(["x"], props({x:1})); 42 assertArrayEquals(["x", "y"], props({x:1, y:2})); 43 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3})); 45 assertEquals(0, props([]).length); 46 assertEquals(1, props([1]).length); 47 assertEquals(2, props([1,2]).length) [all...] |
/system/connectivity/shill/ |
ppp_device_unittest.cc | 60 IPConfig::Properties props = device->ParseIPConfiguration("in-test", config); local 61 EXPECT_EQ(IPAddress::kFamilyIPv4, props.address_family); 63 props.subnet_prefix); 64 EXPECT_EQ("4.5.6.7", props.address); 65 EXPECT_EQ("33.44.55.66", props.peer_address); 66 EXPECT_EQ("192.168.1.1", props.gateway); 67 ASSERT_EQ(2, props.dns_servers.size()); 68 EXPECT_EQ("1.1.1.1", props.dns_servers[0]); 69 EXPECT_EQ("2.2.2.2", props.dns_servers[1]); 70 EXPECT_EQ("99.88.77.66/32", props.exclusion_list[0]) [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
DeltaEncoder.java | 14 private final byte[] props = new byte[1]; field in class:DeltaEncoder 17 props[0] = (byte)(options.getDistance() - 1); 26 return props;
|
BCJEncoder.java | 15 private final byte[] props; field in class:BCJEncoder 22 props = new byte[0]; 24 props = new byte[4]; 26 props[i] = (byte)(startOffset >>> (i * 8)); 38 return props;
|
LZMA2Encoder.java | 16 private final byte[] props = new byte[1]; field in class:LZMA2Encoder 24 props[0] = (byte)0; 28 props[0] = (byte)(LZMAEncoder.getDistSlot(d - 1) - 23); 40 return props;
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
context.hpp | 35 _cl_context(const std::vector<cl_context_properties> &props, 41 const std::vector<cl_context_properties> &props() const { function in struct:_cl_context
|
queue.hpp | 40 cl_command_queue_properties props); 46 cl_command_queue_properties props() const { function in struct:_cl_command_queue
|
/external/v8/test/mjsunit/es6/ |
block-for.js | 32 function props(x) { function 38 assertEquals(0, props({}).length); 39 assertEquals(1, props({x:1}).length); 40 assertEquals(2, props({x:1, y:2}).length); 42 assertArrayEquals(["x"], props({x:1})); 43 assertArrayEquals(["x", "y"], props({x:1, y:2})); 44 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3})); 46 assertEquals(0, props([]).length); 47 assertEquals(1, props([1]).length); 48 assertEquals(2, props([1,2]).length) [all...] |
/external/jetty/src/java/org/eclipse/jetty/webapp/ |
JettyWebXmlConfiguration.java | 136 Map<String,String> props = jetty_config.getProperties(); local 137 if (props == null) 139 props = new HashMap<String, String>(); 140 jetty_config.setProperties(props); 144 props.put(PROPERTY_THIS_WEB_INF_URL, String.valueOf(web_inf.getURL()));
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/ |
MessageParserTest.java | 143 Properties props = new Properties(); local 145 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, TEST_PACKAGE_NAME); 146 props.setProperty( 149 props.store(stream, "NFC provisioning intent" /* data description */);
|
/cts/tests/tests/calendarcommon/src/com/android/calendarcommon2/ |
ICalendar.java | 58 ArrayList<Property> props = mPropsMap.get(name); local 59 if (props == null) { 60 props = new ArrayList<Property>(); 61 mPropsMap.put(name, props); 63 props.add(prop);
|
/cts/tests/tests/graphics/jni/ |
android_graphics_cts_VulkanFeaturesTest.cpp | 77 auto props = VkJsonGetAllProperties(gpus[i]); local 78 vkjson.append(VkJsonAllPropertiesToJson(props));
|
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
CustomPropsEntityManagerFactoryProvisionTest.java | 40 Properties props = new Properties(); local 41 props.put("blah", "blah"); 43 injector = Guice.createInjector(new JpaPersistModule("testUnit").properties(props));
|
/external/harfbuzz_ng/src/ |
hb-shape-plan-private.hh | 42 hb_segment_properties_t props; member in struct:hb_shape_plan_t
|
/external/libdrm/tests/kms/ |
libkms-test-plane.c | 36 drmModeObjectPropertiesPtr props; local 72 props = drmModeObjectGetProperties(device->fd, plane->id, 74 if (!props) 77 for (i = 0; i < props->count_props; i++) { 80 prop = drmModeGetProperty(device->fd, props->props[i]); 83 plane->type = props->prop_values[i]; 89 drmModeFreeObjectProperties(props);
|
/external/skia/src/core/ |
SkSpecialSurface.h | 30 const SkSurfaceProps& props() const { return fProps; } function in class:SkSpecialSurface
|
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/ |
Activator.java | 60 Properties props = new Properties(); local 61 props.put("description", "An SLF4J LogService implementation."); 63 bundleContext.registerService(LogService.class.getName(), factory, props); local
|
/external/v8/src/parsing/ |
parameter-initializer-rewriter.cc | 49 ZoneList<ObjectLiteralProperty*>* props = class_literal->properties(); local 50 for (int i = 0; i < props->length(); ++i) { 51 ObjectLiteralProperty* prop = props->at(i);
|
/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...] |
/external/v8/test/webkit/ |
delete-then-put.js | 28 function props(o) function 41 shouldBe("props(a)", "'a,b,c,d,e'"); 44 shouldBe("props(a)", "'a,b,d,e'"); 47 shouldBe("props(a)", "'a,b,d,e,c'");
|