/external/skia/tests/ |
FlateTest.cpp | 80 SkAutoDataUnref data2(uncompressed.copyToData()); 83 data2->data(),
|
WArrayTest.cpp | 23 static const int16_t data2[] = {0, 0, 0, 100, 100, 100, 100, 100, 100, 100, 0, 0}; variable 179 TestWData(reporter, data2, SK_ARRAY_COUNT(data2), NULL, 0, expected2);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidStreamTokenizerTest.java | 81 byte[] data2 = new byte[]{(byte) '"', 88 StreamTokenizer tokenizer2 = new StreamTokenizer(new ByteArrayInputStream(data2));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_macos.py | 84 data2 = rfp.read(100) 87 self.assertEqual(data2, '')
|
test_audioop.py | 307 data2 = bytearray(2 * len(data1)) 309 data2[k::2*w] = data1[k::w] 310 self.assertEqual(audioop.tomono(str(data2), w, 1, 0), data1) 311 self.assertEqual(audioop.tomono(str(data2), w, 0, 1), b'\0' * len(data1)) 313 data2[k+w::2*w] = data1[k::w] 314 self.assertEqual(audioop.tomono(str(data2), w, 0.5, 0.5), data1) 319 data2 = bytearray(2 * len(data1)) 321 data2[k::2*w] = data1[k::w] 322 self.assertEqual(audioop.tostereo(data1, w, 1, 0), data2) 323 self.assertEqual(audioop.tostereo(data1, w, 0, 0), b'\0' * len(data2)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_macos.py | 84 data2 = rfp.read(100) 87 self.assertEqual(data2, '')
|
test_audioop.py | 307 data2 = bytearray(2 * len(data1)) 309 data2[k::2*w] = data1[k::w] 310 self.assertEqual(audioop.tomono(str(data2), w, 1, 0), data1) 311 self.assertEqual(audioop.tomono(str(data2), w, 0, 1), b'\0' * len(data1)) 313 data2[k+w::2*w] = data1[k::w] 314 self.assertEqual(audioop.tomono(str(data2), w, 0.5, 0.5), data1) 319 data2 = bytearray(2 * len(data1)) 321 data2[k::2*w] = data1[k::w] 322 self.assertEqual(audioop.tostereo(data1, w, 1, 0), data2) 323 self.assertEqual(audioop.tostereo(data1, w, 0, 0), b'\0' * len(data2)) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
EventLogTest.java | 138 Long data2 = data1 + 1; local 139 EventLog.writeEvent(E_TAG, data2); 145 assertEvent(events.get(2), E_TAG, data2); 150 assertEvent(events.get(1), E_TAG, data2);
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.h | 85 const u8 *data2, size_t data2_len,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SimUtilsTest.java | 30 byte[] data, data2;
|
/frameworks/wilhelm/src/android/ |
android_defs.h | 99 typedef void (*notif_cbf_t)(int event, int data1, int data2, void* notifUser);
|
/external/chromium_org/chrome/common/extensions/permissions/ |
socket_permission_unittest.cc | 30 SocketPermissionData data1, data2; local 33 CHECK(data2.ParseForTest("tcp-connect")); 35 EXPECT_TRUE(data1 == data2); 36 EXPECT_FALSE(data1 < data2); 39 CHECK(data2.ParseForTest("tcp-connect:www.example.com")); 41 EXPECT_FALSE(data1 == data2); 42 EXPECT_TRUE(data1 < data2);
|
/external/chromium_org/chrome/browser/autofill/ |
autofill_browsertest.cc | 581 FormMap data2; local 582 data2["NAME_FIRST"] = "John"; 583 data2["NAME_LAST"] = "Doe"; 584 data2["ADDRESS_HOME_LINE1"] = "987 H St"; 585 data2["ADDRESS_HOME_CITY"] = "San Jose"; 586 data2["ADDRESS_HOME_STATE"] = "CA"; 587 data2["ADDRESS_HOME_ZIP"] = "95510"; 588 data2["ADDRESS_HOME_COUNTRY"] = "United States"; 589 data2["PHONE_HOME_WHOLE_NUMBER"] = "408-123-456"; 590 profiles.push_back(data2); [all...] |
/external/elfutils/src/ |
elfcmp.c | 278 Elf_Data *data2 = elf_getdata (scn2, NULL); local 279 if (data2 == NULL) 300 GElf_Sym *sym2 = gelf_getsym (data2, ndx, &sym2_mem); 359 || (data2->d_buf != NULL || data1->d_size == 0)); 361 if (unlikely (data1->d_size != data2->d_size 363 && memcmp (data1->d_buf, data2->d_buf, 368 && data1->d_size == data2->d_size 369 && hash_content_equivalent (shdr1->sh_entsize, data1, data2)) 677 hash_content_equivalent (size_t entsize, Elf_Data *data1, Elf_Data *data2) 682 const Hash_Word *const hash2 = data2->d_buf; [all...] |
/external/chromium/net/socket/ |
socks_client_socket_pool_unittest.cc | 207 SOCKS5MockData data2(false); 208 transport_client_socket_factory_.AddSocketDataProvider(data2.data_provider()); 240 SOCKS5MockData data2(true); 241 data2.data_provider()->set_connect_data(MockConnect(false, 0)); 242 transport_client_socket_factory_.AddSocketDataProvider(data2.data_provider());
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGenerator.java | 173 ColorBandData data2 = cbDataMap.get(currentCursor); local 177 if (data2.pos != data1.pos) { 178 f = (i - data2.pos) / (float)(data1.pos - data2.pos); 186 result[i][0] = ipoFactors[3] * data0.r + ipoFactors[2] * data1.r + ipoFactors[1] * data2.r + ipoFactors[0] * data3.r; 187 result[i][1] = ipoFactors[3] * data0.g + ipoFactors[2] * data1.g + ipoFactors[1] * data2.g + ipoFactors[0] * data3.g; 188 result[i][2] = ipoFactors[3] * data0.b + ipoFactors[2] * data1.b + ipoFactors[1] * data2.b + ipoFactors[0] * data3.b; 189 result[i][3] = ipoFactors[3] * data0.a + ipoFactors[2] * data1.a + ipoFactors[1] * data2.a + ipoFactors[0] * data3.a; 199 data2 = cbDataMap.get(currentCursor);
|
/external/tcpdump/ |
print-smb.c | 1350 const u_char *data2; local [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactsUtils.java | 399 CharSequence data1, CharSequence mimetype2, CharSequence data2) { 402 if (data1 == data2) { 405 if (data1 == null || data2 == null) { 408 return PhoneNumberUtils.compare(context, data1.toString(), data2.toString()); 410 if (mimetype1 == mimetype2 && data1 == data2) { 413 return TextUtils.equals(mimetype1, mimetype2) && TextUtils.equals(data1, data2);
|
/external/chromium/webkit/glue/ |
multipart_response_delegate_unittest.cc | 426 const TestChunk data2[] = { local 432 VariousChunkSizesTest(data2, arraysize(data2), 658 string data2( 660 "response data2\n" 662 delegate.OnReceivedData(data2.c_str(), 663 static_cast<int>(data2.length()), 664 static_cast<int>(data2.length())); 666 EXPECT_EQ(string("response data2"), client.data_); 667 EXPECT_EQ(static_cast<int>(data.length()) + static_cast<int>(data2.length()) [all...] |
/external/chromium_org/net/http/ |
http_network_layer_unittest.cc | 171 StaticSocketDataProvider data2(data_reads2, data_reads2_index, 173 mock_socket_factory_.AddSocketDataProvider(&data2); 220 StaticSocketDataProvider data2(data_reads2, arraysize(data_reads2), 222 mock_socket_factory_.AddSocketDataProvider(&data2); 254 StaticSocketDataProvider data2(data_reads, arraysize(data_reads), 259 mock_socket_factory_.AddSocketDataProvider(&data2); 531 StaticSocketDataProvider data2(data_reads2, arraysize(data_reads2), 533 mock_socket_factory_.AddSocketDataProvider(&data2);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
maccocoasocketserver.mm | 130 data2:1];
|
/external/chromium_org/tools/grit/grit/format/ |
data_pack.py | 165 data2 = { 1000: "test", 5: "five" } 166 WriteDataPack(data2, "datapack2.pak", UTF8)
|
/external/chromium_org/webkit/child/ |
multipart_response_delegate_unittest.cc | 426 const TestChunk data2[] = { local 432 VariousChunkSizesTest(data2, arraysize(data2), 661 string data2( 663 "response data2\n" 665 delegate.OnReceivedData(data2.c_str(), 666 static_cast<int>(data2.length()), 667 static_cast<int>(data2.length())); 669 EXPECT_EQ(string("response data2"), client.data_); 670 EXPECT_EQ(static_cast<int>(data.length()) + static_cast<int>(data2.length()) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
SkyFactory.java | 133 ByteBuffer data2 = image.getData(0); local 134 if (data2 != null){ 135 if (data2.capacity() != size) {
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/ |
AWTLoader.java | 122 ByteBuffer data2 = BufferUtils.createByteBuffer(img.getWidth()*img.getHeight()*3); local 123 data2.put(dataBuf2); 124 return new Image(Format.BGR8, width, height, data2);
|