Home
last modified time | relevance | path

Searched refs:CEscape (Results 1 – 25 of 43) sorted by relevance

12

/external/protobuf/python/google/protobuf/internal/
Dtext_encoding_test.py61 text_encoding.CEscape(unescaped, as_utf8=False))
63 text_encoding.CEscape(unescaped, as_utf8=True))
/external/tensorflow/tensorflow/core/lib/strings/
Dstr_util_test.cc23 TEST(CEscape, Basic) { in TEST() argument
24 EXPECT_EQ(str_util::CEscape("hello"), "hello"); in TEST()
25 EXPECT_EQ(str_util::CEscape("hello\n"), "hello\\n"); in TEST()
26 EXPECT_EQ(str_util::CEscape("hello\r"), "hello\\r"); in TEST()
27 EXPECT_EQ(str_util::CEscape("\t\r\"'"), "\\t\\r\\\"\\'"); in TEST()
28 EXPECT_EQ(str_util::CEscape("\320hi\200"), "\\320hi\\200"); in TEST()
Dproto_text_util.h88 field_name, StrCat("\"", ::tensorflow::str_util::CEscape(value), "\"")); in AppendString()
Dstr_util.h32 string CEscape(StringPiece src);
Dstr_util.cc31 string CEscape(StringPiece src) { in CEscape() function
/external/protobuf/src/google/protobuf/stubs/
Dsubstitute.cc88 << CEscape(format) << "\"."; in SubstituteAndAppend()
99 << CEscape(format) << "\"."; in SubstituteAndAppend()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.cc321 CEscape(field->default_value_string())); in DefaultValue()
328 return "\"" + CEscape(field->default_value_string()) + "\""; in DefaultValue()
334 CEscape(field->default_value_string())); in DefaultValue()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.cc158 "data", EscapeTrigraphs(CEscape(text_blob.substr(i, kBytesPerLine)))); in GenerateSource()
188 "extraTextFormatInfo", CEscape(text_format_decode_data.Data())); in GenerateSource()
Dobjectivec_helpers.cc737 return "(NSData*)\"" + EscapeTrigraphs(CEscape(bytes)) + "\""; in DefaultValue()
739 return "@\"" + EscapeTrigraphs(CEscape(default_string)) + "\""; in DefaultValue()
1254 << " input: \"" << CEscape(input_for_decode) << "\", desired: \"" in DecodeDataForString()
1255 << CEscape(desired_output) << "\"." << endl; in DecodeDataForString()
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc204 return out << CEscape(test_case.input); in operator <<()
338 return out << CEscape(test_case.input); in operator <<()
525 return out << CEscape(test_case.input); in operator <<()
865 return out << CEscape(test_case.input); in operator <<()
Dtokenizer.cc921 " tokenized as a float: " << CEscape(text); in ParseFloat()
1046 " have been tokenized as a string: " << CEscape(text); in ParseStringAppend()
/external/tensorflow/tensorflow/core/kernels/
Didentity_reader_op.cc56 str_util::CEscape(state)); in RestoreStateLocked()
Dwhole_file_read_ops.cc73 str_util::CEscape(state)); in RestoreStateLocked()
Ddecode_image_op.cc61 str_util::CEscape(data.substr(0, 16)), "'"); in FileFormatString()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc434 CEscape(field->default_value_string())); in DefaultValue()
441 return "\"" + CEscape(field->default_value_string()) + "\""; in DefaultValue()
446 CEscape(field->default_value_string())); in DefaultValue()
Djava_shared_code_generator.cc142 "data", CEscape(file_data.substr(i, kBytesPerLine))); in GenerateDescriptors()
/external/protobuf/python/google/protobuf/
Dtext_encoding.py59 def CEscape(text, as_utf8): function
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc253 *error = "Plugin output is unparseable: " + CEscape(output_data); in Communicate()
454 *error = "Plugin output is unparseable: " + CEscape(output_data);
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc194 CEscape(descriptor->default_value_string())); in SetPrimitiveVariables()
201 "\"" + CEscape(descriptor->default_value_string()) + "\""; in SetPrimitiveVariables()
210 CEscape(descriptor->default_value_string())); in SetPrimitiveVariables()
/external/tensorflow/tensorflow/core/framework/
Dcollective.cc103 ", communicator_key=", str_util::CEscape(communicator_key), in ToString()
Dfunction.cc900 strings::StrCat("_target", "=", str_util::CEscape(options.target))); in Canonicalize()
904 "_input_dev", i, "=", str_util::CEscape(options.input_devices[i]))); in Canonicalize()
908 "_output_dev", i, "=", str_util::CEscape(options.output_devices[i]))); in Canonicalize()
926 "_config_proto", "=", str_util::CEscape(config_proto_serialized))); in Canonicalize()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc231 return CEscape(descriptor->default_value_string()); in DefaultValueAsString()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc265 return "_b(\"" + CEscape(field.default_value_string()) + //##PY25 in StringifyDefaultValue()
576 m["serialized_options"] = CEscape(options_string); in PrintServiceDescriptor()
1041 + CEscape(serialized_options)+ "'))"; //##PY25 in OptionsValue()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instructions.cc38 using absl::CEscape;
1793 return {StrCat("infeed_config=\"", CEscape(infeed_config_), "\"")}; in ExtraAttributesToStringImpl()
1835 return {StrCat("outfeed_config=\"", CEscape(outfeed_config_), "\"")}; in ExtraAttributesToStringImpl()
2118 StrCat("custom_call_target=\"", CEscape(custom_call_target_), "\"")); in ExtraAttributesToStringImpl()
2122 extra.push_back(StrCat("opaque=\"", CEscape(opaque_), "\"")); in ExtraAttributesToStringImpl()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc415 CEscape(field->default_value_string())) + in DefaultValue()

12