/external/tensorflow/tensorflow/python/kernel_tests/ |
D | string_to_hash_bucket_op_test.py | 31 input_string = array_ops.placeholder(dtypes.string) 32 output = string_ops.string_to_hash_bucket_fast(input_string, 1) 33 result = output.eval(feed_dict={input_string: ['a', 'b', 'c']}) 39 input_string = array_ops.placeholder(dtypes.string) 40 output = string_ops.string_to_hash_bucket_fast(input_string, 10) 41 result = output.eval(feed_dict={input_string: ['a', 'b', 'c', 'd']}) 51 input_string = array_ops.placeholder(dtypes.string) 52 output = string_ops.string_to_hash_bucket(input_string, 1) 53 result = output.eval(feed_dict={input_string: ['a', 'b', 'c']}) 59 input_string = array_ops.placeholder(dtypes.string) [all …]
|
D | string_to_number_op_test.py | 34 input_string = array_ops.placeholder(dtypes.string) 36 input_string, out_type=tf_type) 40 result, = output.eval(feed_dict={input_string: [instr]}) 46 output.eval(feed_dict={input_string: [instr]})
|
D | lookup_ops_test.py | 49 input_string = constant_op.constant(["brain", "salad", "tank"]) 50 output = table.lookup(input_string) 67 input_string = constant_op.constant( 69 output = table.lookup(input_string) 86 input_string = constant_op.constant(["brain", "salad", "tank"]) 87 output = table.lookup(input_string) 103 input_string = constant_op.constant(["brain", "salad", "tank"]) 104 output = table.lookup(input_string) 127 input_string = constant_op.constant(["brain", "salad", "tank"]) 128 output1 = table1.lookup(input_string) [all …]
|
/external/libchrome/base/strings/ |
D | string_number_conversions_unittest.cc | 155 std::string input_string(input, arraysize(input) - 1); in TEST() local 157 EXPECT_FALSE(StringToInt(input_string, &output)); in TEST() 160 string16 utf16_input = UTF8ToUTF16(input_string); in TEST() 220 std::string input_string(input, arraysize(input) - 1); in TEST() local 222 EXPECT_FALSE(StringToUint(input_string, &output)); in TEST() 225 string16 utf16_input = UTF8ToUTF16(input_string); in TEST() 290 std::string input_string(input, arraysize(input) - 1); in TEST() local 292 EXPECT_FALSE(StringToInt64(input_string, &output)); in TEST() 295 string16 utf16_input = UTF8ToUTF16(input_string); in TEST() 357 std::string input_string(input, arraysize(input) - 1); in TEST() local [all …]
|
/external/perf_data_converter/src/quipper/ |
D | file_reader_test.cc | 186 string input_string("The quick brown fox jumps over the lazy dog."); in TEST() local 189 ASSERT_TRUE(BufferToFile(input_file.path(), input_string)); in TEST() 194 EXPECT_TRUE(full_reader.ReadString(input_string.size(), &full_reader_output)); in TEST() 195 EXPECT_EQ(input_string.size(), full_reader.Tell()); in TEST() 196 EXPECT_EQ(input_string, full_reader_output); in TEST() 202 half_reader.ReadString(input_string.size() / 2, &half_reader_output)); in TEST() 203 EXPECT_EQ(input_string.size() / 2, half_reader.Tell()); in TEST() 204 EXPECT_EQ(input_string.substr(0, input_string.size() / 2), in TEST() 210 EXPECT_FALSE(past_end_reader.ReadString(input_string.size() + 1, in TEST() 217 string input_string_with_padding(input_string.begin(), input_string.end()); in TEST() [all …]
|
D | sample_info_reader_test.cc | 64 string input_string = input.str(); in TEST() local 65 const event_t& event = *reinterpret_cast<const event_t*>(input_string.data()); in TEST() 124 string input_string = input.str(); in TEST() local 125 const event_t& event = *reinterpret_cast<const event_t*>(input_string.data()); in TEST() 198 string input_string = input.str(); in TEST() local 199 const event_t& event = *reinterpret_cast<const event_t*>(input_string.data()); in TEST() 249 string input_string = input.str(); in TEST() local 250 const event_t& event = *reinterpret_cast<const event_t*>(input_string.data()); in TEST() 291 string input_string = input.str(); in TEST() local 292 const event_t& event = *reinterpret_cast<const event_t*>(input_string.data()); in TEST() [all …]
|
/external/tensorflow/tensorflow/contrib/lookup/ |
D | lookup_ops_test.py | 54 input_string = constant_op.constant(["brain", "salad", "tank"]) 55 output = table.lookup(input_string) 72 input_string = constant_op.constant( 74 output = table.lookup(input_string) 92 input_string = constant_op.constant(["brain", "salad", "tank"]) 93 output = table.lookup(input_string) 109 input_string = constant_op.constant(["brain", "salad", "tank"]) 110 output = table.lookup(input_string) 133 input_string = constant_op.constant(["brain", "salad", "tank"]) 134 output1 = table1.lookup(input_string) [all …]
|
/external/python/cpython2/Lib/json/tests/ |
D | test_encode_basestring_ascii.py | 27 for input_string, expect in CASES: 28 result = self.json.encoder.encode_basestring_ascii(input_string) 31 result, expect, fname, input_string))
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_encode_basestring_ascii.py | 23 for input_string, expect in CASES: 24 result = self.json.encoder.encode_basestring_ascii(input_string) 27 result, expect, fname, input_string))
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/ |
D | sharded_mutable_dense_hashtable_test.py | 49 input_string = constant_op.constant([11, 12, 14], dtypes.int64) 50 output = table.lookup(input_string) 74 input_string = constant_op.constant([[11, 12], [13, 14], [11, 14]], 76 output = table.lookup(input_string)
|
/external/pdfium/fxjs/ |
D | cjs_util_unittest.cpp | 12 const wchar_t* const input_string; in TEST() member 109 std::wstring input(cases[i].input_string); in TEST() 111 << cases[i].input_string; in TEST()
|
/external/skqp/tools/ |
D | misc_utils.py | 46 def search_within_string(input_string, pattern, default=None): argument 57 match = re.search(pattern, input_string)
|
/external/skia/tools/ |
D | misc_utils.py | 46 def search_within_string(input_string, pattern, default=None): argument 57 match = re.search(pattern, input_string)
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | lexer_unittest.py | 172 def _TokensForInput(self, input_string): argument 175 lexer.input(input_string) 183 def _SingleTokenForInput(self, input_string): argument 186 toks = self._TokensForInput(input_string)
|
/external/libmojo/build/ |
D | gn_helpers.py | 66 def FromGNString(input_string): argument 102 parser = GNValueParser(input_string) 106 def FromGNArgs(input_string): argument 123 parser = GNValueParser(input_string)
|
/external/libvpx/libvpx/vpx/src/ |
D | svc_encodeframe.c | 159 char *input_string; in parse_layer_options_from_string() local 171 input_string = strdup(input); in parse_layer_options_from_string() 172 token = strtok_r(input_string, delim, &save_ptr); in parse_layer_options_from_string() 189 free(input_string); in parse_layer_options_from_string() 201 char *input_string; in parse_options() local 210 input_string = strdup(options); in parse_options() 213 option_name = strtok_r(input_string, "=", &input_ptr); in parse_options() 259 free(input_string); in parse_options()
|
/external/pdfium/core/fpdftext/ |
D | cpdf_linkextract_unittest.cpp | 95 const wchar_t* const input_string; in TEST() member 177 const wchar_t* const input = valid_cases[i].input_string; in TEST()
|
/external/tensorflow/tensorflow/core/graph/ |
D | quantize_training_test.cc | 303 string input_string; in TEST_F() local 304 input_graph.SerializeToString(&input_string); in TEST_F() 308 input_string, num_bits, "QuantizeAndDequantizeV2", &result_string)); in TEST_F()
|
/external/v8/src/ |
D | heap-symbols.h | 91 V(input_string, "input") \
|
D | bootstrapper.cc | 2170 SimpleInstallGetterSetter(regexp_fun, factory->input_string(), in InitializeGlobal() 4205 Descriptor d = Descriptor::DataField(factory()->input_string(), in InstallNatives()
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | estimator_test.py | 1367 input_string = constant_op.constant(['brain', 'salad', 'tank']) 1368 output = table.lookup(input_string) 1377 input_string = constant_op.constant(['brain', 'salad', 'tank']) 1378 output = table.lookup(input_string)
|