HomeSort by relevance Sort by last modified time
    Searched refs:test_data (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/autotest/client/common_lib/
mail_unittest.py 6 class test_data: class in inherits:
18 test_data.mail_host = host
19 test_data.mail_port = port
21 if test_data.mail_host:
22 self.connect(test_data.mail_host, test_data.mail_port)
26 test_data.mail_connect = True
30 test_data.mail_connect = False
34 test_data.mail_from_address = from_address
35 test_data.mail_to_address = to_addres
    [all...]
  /external/libweave/src/
streams_unittest.cc 19 std::vector<uint8_t> test_data(1024 * 1024);
20 for (size_t i = 0; i < test_data.size(); ++i)
21 test_data[i] = static_cast<uint8_t>(std::hash<size_t>()(i));
22 MemoryStream source{test_data, &task_runner};
28 [&test_data, &done, &destination](size_t size, ErrorPtr error) {
31 EXPECT_EQ(test_data, destination.GetData());
36 task_runner.Run(test_data.size());
device_registration_info_unittest.cc 45 namespace test_data { namespace in namespace:weave::__anon18189
79 } // namespace test_data
112 std::string("Bearer ") + test_data::kAccessToken};
136 settings->client_id = test_data::kClientId;
137 settings->client_secret = test_data::kClientSecret;
138 settings->api_key = test_data::kApiKey;
146 settings->oauth_url = test_data::kOAuthURL;
147 settings->service_url = test_data::kServiceURL;
148 settings->xmpp_endpoint = test_data::kXmppEndpoint;
162 dict.SetString("refresh_token", test_data::kRefreshToken)
    [all...]
  /toolchain/binutils/binutils-2.25/libiberty/testsuite/
test-strtol.c 81 const struct test_data_t test_data[] = { variable in typeref:struct:test_data_t
120 run_tests (const struct test_data_t *test_data, size_t ntests)
132 switch (test_data[i].fun)
135 res = (unsigned long) strtol (test_data[i].nptr,
136 0, test_data[i].base);
139 res = strtoul (test_data[i].nptr, 0, test_data[i].base);
143 res = strtoll (test_data[i].nptr, 0, test_data[i].base);
146 res = strtoull (test_data[i].nptr, 0, test_data[i].base)
    [all...]
test-expandargv.c 64 The \n is an important part of test_data since expandargv
75 const char *test_data[] = { variable
191 writeout_test (int test, const char * test_data)
205 len = strlen (test_data);
210 memcpy (parse, test_data, sizeof (char) * (len + 1));
241 run_tests (const char **test_data)
249 while (test_data[j])
252 writeout_test (i, test_data[j++]);
254 argv_before = dupargv ((char **) &test_data[j]);
259 while (test_data[j + argc_before]
    [all...]
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
tokenizertotree.py 36 for test_data in tests_data['tests']:
37 if 'initialStates' not in test_data:
38 test_data["initialStates"] = ["Data state"]
40 for initial_state in test_data["initialStates"]:
44 test = make_test(test_data)
50 def make_test(test_data):
51 if 'doubleEscaped' in test_data:
52 test_data = test_tokenizer.unescape_test(test_data)
56 rv.append(test_data["input"].encode("utf8")
    [all...]
  /external/vboot_reference/tests/
vb21_host_misc_tests.c 33 const uint8_t test_data[] = "Some test data"; local
44 TEST_EQ(vb2_write_file("no/such/dir", test_data, sizeof(test_data)),
47 TEST_SUCC(vb2_write_file(testfile, test_data, sizeof(test_data)),
51 TEST_EQ(read_size, sizeof(test_data), " data size");
52 TEST_EQ(memcmp(read_data, test_data, read_size), 0, " data");
vboot_common2_tests.c 46 const uint8_t test_data[] = "This is some test data to sign."; local
47 const uint64_t test_size = sizeof(test_data);
51 sig = CalculateSignature(test_data, test_size, private_key);
60 TEST_EQ(VerifyData(test_data, test_size, sig, rsa), 0,
64 TEST_EQ(VerifyData(test_data, test_size, sig, rsa), 1,
68 TEST_EQ(VerifyData(test_data, test_size - 1, sig, rsa), 1,
72 TEST_EQ(VerifyData(test_data, test_size, sig, rsa), 1,
82 const uint8_t test_data[] = "This is some other test data to sign."; local
87 sig = CalculateSignature(test_data, sizeof(test_data), private_key)
    [all...]
vb20_common2_tests.c 21 static const uint8_t test_data[] = "This is some test data to sign."; variable
22 static const uint32_t test_size = sizeof(test_data);
100 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb),
106 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb),
112 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb),
117 TEST_EQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb),
122 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb),
126 TEST_NEQ(vb2_verify_data(test_data, test_size - 1, sig2, &pubk, &wb),
131 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb),
166 CalculateSignature(test_data, sizeof(test_data), private_key)
    [all...]
  /system/tools/aidl/tests/
test_data_example_interface.cpp 17 #include "tests/test_data.h"
21 namespace test_data { namespace in namespace:android::aidl
454 } // namespace test_data
test_data.h 22 namespace test_data { namespace in namespace:android::aidl
61 } // namespace test_data
test_data_ping_responder.cpp 17 #include "tests/test_data.h"
21 namespace test_data { namespace in namespace:android::aidl
456 } // namespace test_data
  /external/autotest/cli/
compose_query 29 test_data = frontend.get_matrix_data(db, options.x_axis, options.y_axis, where) variable
32 widest_row_header = max([len(y) for y in test_data.y_values])
33 data_column_width = max([max(13,len(x)) for x in test_data.x_values])
34 column_widths = [widest_row_header] + [data_column_width] * len(test_data.x_values)
37 print format % tuple([''] + test_data.x_values)
40 for y in test_data.y_values:
42 for x in test_data.x_values:
44 data_point = test_data.data[x][y]
  /external/sfntly/cpp/src/test/
endian_test.cc 28 byte_t test_data[] = { local
39 for (size_t i = 0; i < sizeof(test_data); ++i) {
40 ba1->Put(i, test_data[i]);
68 EXPECT_EQ(memcmp(os.Get(), test_data, sizeof(test_data)), 0);
  /external/chromium-trace/catapult/telemetry/build/
generate_telemetry_harness.sh 14 --exclude=*/third_party/catapult/test_data/* \
  /external/libchrome/crypto/
symmetric_key_unittest.cc 82 PBKDF2TestVector test_data(GetParam());
86 if (strlen(test_data.salt) < 8 || test_data.rounds < 1000) {
87 VLOG(1) << "Skipped test vector for " << test_data.expected;
94 test_data.algorithm,
95 test_data.password, test_data.salt,
96 test_data.rounds, test_data.key_size_in_bits));
101 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size())
    [all...]
  /external/gemmlowp/test/
test_data.cc 1 #include "test_data.h"
3 namespace test_data { namespace
    [all...]
test_data.h 4 namespace test_data { namespace
27 } // namespace test_data
  /external/google-breakpad/src/common/linux/
linux_libc_support_unittest.cc 38 static const char* test_data[] = { "", "a", "aa", "aaa", "aabc", NULL }; local
40 if (!test_data[i])
42 ASSERT_EQ(strlen(test_data[i]), my_strlen(test_data[i]));
47 static const char* test_data[] = { local
60 if (!test_data[i*2])
62 int libc_result = strcmp(test_data[i*2], test_data[i*2 + 1]);
67 ASSERT_EQ(my_strcmp(test_data[i*2], test_data[i*2 + 1]), libc_result)
    [all...]
  /external/e2fsprogs/tests/defaults/
e_script 18 EXPECT=$SRCDIR/progs/test_data/expect.$class
31 cat $SRCDIR/progs/test_data/$instance.setup $SRCDIR/progs/test_data/test.$class \
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_netrc.py 11 def make_nrc(self, test_data):
12 test_data = textwrap.dedent(test_data)
17 fp.write(test_data)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_netrc.py 11 def make_nrc(self, test_data):
12 test_data = textwrap.dedent(test_data)
17 fp.write(test_data)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_netrc.py 11 def make_nrc(self, test_data):
12 test_data = textwrap.dedent(test_data)
17 fp.write(test_data)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_netrc.py 11 def make_nrc(self, test_data):
12 test_data = textwrap.dedent(test_data)
17 fp.write(test_data)
  /external/autotest/client/site_tests/network_DestinationVerification/
network_DestinationVerification.py 211 def _test_verify(self, test_data, expect_failure=False):
215 succeeds unless |expect_failure|. |test_data| looks like the decoded
218 @param test_data: dictionary of test data to use with the call.
219 @param expect_failure: bool true if test_data should fail to verify.
226 sign_bundle = test_data['sign']
227 unsigned_data = '%s,%s,%s,%s,%s' % (test_data['name'],
228 test_data['ssdp_udn'],
229 test_data['hotspot_bssid'],
230 test_data['public_key'],
236 message.mac_address = test_data['hotspot_bssid'
    [all...]

Completed in 8809 milliseconds

1 2 3