Home
last modified time | relevance | path

Searched refs:CEscape (Results 1 – 25 of 44) 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/platform/
Dstr_util_test.cc24 TEST(CEscape, Basic) { in TEST() argument
25 EXPECT_EQ(str_util::CEscape("hello"), "hello"); in TEST()
26 EXPECT_EQ(str_util::CEscape("hello\n"), "hello\\n"); in TEST()
27 EXPECT_EQ(str_util::CEscape("hello\r"), "hello\\r"); in TEST()
28 EXPECT_EQ(str_util::CEscape("\t\r\"'"), "\\t\\r\\\"\\'"); in TEST()
29 EXPECT_EQ(str_util::CEscape("\320hi\200"), "\\320hi\\200"); in TEST()
Dstr_util.cc32 string CEscape(StringPiece src) { return absl::CEscape(src); } in CEscape() function
Dstr_util.h34 string CEscape(StringPiece src);
/external/protobuf/src/google/protobuf/stubs/
Dsubstitute.cc90 << CEscape(format) << "\"."; in SubstituteAndAppend()
101 << 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.cc199 "data", EscapeTrigraphs(CEscape(text_blob.substr(i, kBytesPerLine)))); in GenerateSource()
229 "extraTextFormatInfo", CEscape(text_format_decode_data.Data())); in GenerateSource()
Dobjectivec_helpers.cc848 return "(NSData*)\"" + EscapeTrigraphs(CEscape(bytes)) + "\""; in DefaultValue()
850 return "@\"" + EscapeTrigraphs(CEscape(default_string)) + "\""; in DefaultValue()
1409 << " input: \"" << CEscape(input_for_decode) << "\", desired: \"" in DecodeDataForString()
1410 << CEscape(desired_output) << "\"." << std::endl; in DecodeDataForString()
Dobjectivec_message.cc538 CEscape(text_format_data_str.substr(i, kBytesPerLine)))); in GenerateSource()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcollective_param_resolver_distributed.cc247 << absl::CEscape(gr->group.runtime_details.communicator_key); in UpdateGroupCache()
255 << absl::CEscape(gr->group.runtime_details.communicator_key); in UpdateGroupCache()
264 absl::CEscape(gr->group.runtime_details.communicator_key), in UpdateGroupCache()
266 absl::CEscape(previous_gr->group.runtime_details.communicator_key)); in UpdateGroupCache()
/external/tensorflow/tensorflow/core/kernels/
Didentity_reader_op.cc58 absl::CEscape(state)); in RestoreStateLocked()
Dwhole_file_read_ops.cc75 absl::CEscape(state)); in RestoreStateLocked()
Ddecode_image_op.cc63 absl::CEscape(data.substr(0, 16)), "'"); in FileFormatString()
/external/protobuf/python/google/protobuf/
Dtext_encoding.py58 def CEscape(text, as_utf8): function
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc203 return out << CEscape(test_case.input); in operator <<()
336 return out << CEscape(test_case.input); in operator <<()
532 return out << CEscape(test_case.input); in operator <<()
845 return out << CEscape(test_case.input); in operator <<()
Dtokenizer.cc923 << CEscape(text); in ParseFloat()
1042 << CEscape(text); in ParseStringAppend()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc264 *error = "Plugin output is unparseable: " + CEscape(output_data); in Communicate()
465 *error = "Plugin output is unparseable: " + CEscape(output_data); in Communicate()
/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/lib/strings/
Dproto_text_util.h89 field_name, StrCat("\"", ::tensorflow::str_util::CEscape(value), "\"")); in AppendString()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc548 CEscape(field->default_value_string())); in DefaultValue()
555 return "\"" + CEscape(field->default_value_string()) + "\""; in DefaultValue()
560 CEscape(field->default_value_string())); in DefaultValue()
Djava_shared_code_generator.cc154 CEscape(file_data.substr(i, kBytesPerLine))); in GenerateDescriptors()
/external/tensorflow/tensorflow/core/framework/
Dcollective.cc53 absl::CEscape(communicator_key), "}"); in ToString()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc282 return "_b(\"" + CEscape(field.default_value_string()) + //##PY25 in StringifyDefaultValue()
628 m["serialized_options"] = CEscape(options_string); in PrintServiceDescriptor()
1124 return "_b('" + CEscape(serialized_options) + "')"; //##PY25 in OptionsValue()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc345 return CEscape(descriptor->default_value_string()); in DefaultValueAsString()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.cc832 format("'$1$', ", CEscape(file_data.substr(i, 1))); in GenerateReflectionInitializationCode()
843 EscapeTrigraphs(CEscape(file_data.substr(i, kBytesPerLine)))); in GenerateReflectionInitializationCode()

12