| /external/tensorflow/tensorflow/cc/saved_model/ |
| loader.cc | 46 Status ReadSavedModel(const string& export_dir, SavedModel* saved_model_proto) { 47 const string saved_model_pb_path = 53 const string saved_model_pbtxt_path = 65 string GetTagsAsString(const std::unordered_set<string>& tags) { 66 string tags_as_string = "{ "; 67 for (const string& tag : tags) { 75 const std::unordered_set<string>& tags, 79 std::unordered_set<string> graph_tags; 80 for (const string& tag : meta_graph_def.meta_info_def().tags()) [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| resource_mgr_test.cc | 30 explicit Resource(const string& label) : label_(label) {} 33 string DebugString() override { return strings::StrCat("R/", label_); } 36 string label_; 41 explicit Other(const string& label) : label_(label) {} 44 string DebugString() override { return strings::StrCat("O/", label_); } 47 string label_; 51 string Find(const ResourceMgr& rm, const string& container, 52 const string& name) { 55 const string ret = r->DebugString() [all...] |
| /external/tensorflow/tensorflow/compiler/aot/ |
| codegen.cc | 18 #include <string> 46 Status XLATypeToCpp(xla::PrimitiveType type, string* str) { 114 std::vector<std::pair<string, string>>* rewrites) { 115 string type; 117 std::vector<string> dim_vars; 118 string dim_sizes, indices; 146 string RewriteWithName(const string& name, string code [all...] |
| /external/tensorflow/tensorflow/python/platform/ |
| base.i | 23 using tensorflow::string; 39 bool _PyObjAs(PyObject *pystr, ::string* cstr) { 48 bool _PyObjAs(PyObject *pystr, std::string* cstr) { 57 PyObject* _PyObjFrom(const ::string& c) { 62 PyObject* _PyObjFrom(const std::string& c) { 66 PyObject* _SwigBytes_FromString(const string& s) { 70 // The string must be both ASCII and Unicode compatible, so this routine 72 PyObject* _SwigSimpleStr_FromString(const string& s) { 100 %typemap(in) string { 101 if (!_PyObjAs<string>($input, &$1)) return NULL [all...] |
| /prebuilts/go/darwin-x86/test/ |
| string_lit.go | 7 // Test string literal syntax. 15 func assert(a, b, c string) { 100 s = string(r) 103 s = string(r) 106 s = string(r) 109 s = string(r) 112 s = string(r) 117 s = string(0x10ffff) // largest rune value 119 s = string(0x10ffff + 1) 121 s = string(0xD800 [all...] |
| /prebuilts/go/linux-x86/test/ |
| string_lit.go | 7 // Test string literal syntax. 15 func assert(a, b, c string) { 100 s = string(r) 103 s = string(r) 106 s = string(r) 109 s = string(r) 112 s = string(r) 117 s = string(0x10ffff) // largest rune value 119 s = string(0x10ffff + 1) 121 s = string(0xD800 [all...] |
| /system/netd/server/ |
| BandwidthControllerTest.cpp | 19 #include <string> 71 void expectSetupCommands(const std::string& expectedClean, std::string expectedAccounting) { 72 std::string expectedList = 77 std::string expectedFlush = 116 int setCostlyAlert(const std::string a, int64_t b, int64_t *c) { 120 int removeCostlyAlert(const std::string a, int64_t *b) { 130 .WillOnce(Invoke([quota](FILE*, const std::string&, va_list ap) { 150 std::string expectedCleanCmds = 180 std::string expectedClean = "" [all...] |
| /build/soong/cc/config/ |
| x86_darwin_host.go | 26 darwinCflags = []string{ 42 darwinLdflags = []string{ 49 darwinX86Cflags = []string{ 53 darwinX8664Cflags = []string{ 57 darwinX86Ldflags = []string{ 61 darwinX8664Ldflags = []string{ 65 darwinClangCflags = append(ClangFilterUnknownCflags(darwinCflags), []string{ 70 darwinX86ClangCflags = append(ClangFilterUnknownCflags(darwinX86Cflags), []string{ 80 darwinSupportedSdkVersions = []string{ 88 addPrefix([]string{ [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
| NfcTestActivity.java | 39 private static final String NDEF_ID = 42 private static final String MIFARE_ULTRALIGHT_ID = 45 private static final String FEATURE_NFC_MIFARE = "com.nxp.mifare"; 51 setInfoResources(R.string.nfc_test, R.string.nfc_test_info, 0); 56 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee)); 57 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender, 60 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver, 65 adapter.add(TestListItem.newTest(this, R.string.nfc_llcp_version_check, 69 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification)) [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
| ConnectReqTestCase.java | 88 notifyTestMsg(R.string.p2p_searching_target); 96 mReason = mContext.getString(R.string.p2p_discover_peers_error); 102 mReason = mContext.getString(R.string.p2p_target_not_found_error); 108 mReason = mContext.getString(R.string.p2p_target_invalid_role_error); 112 mReason = mContext.getString(R.string.p2p_target_invalid_role_error2); 117 notifyTestMsg(R.string.p2p_connecting_with_pbc); 119 notifyTestMsg(R.string.p2p_connecting_with_pin); 130 mReason = mContext.getString(R.string.p2p_connect_error); 139 mReason = mContext.getString(R.string.p2p_connection_error); 146 notifyTestMsg(R.string.p2p_waiting_for_peer_to_connect) [all...] |
| /development/vndk/tools/vtable-dumper/ |
| elf_handling.h | 22 #include <string> 56 const std::string &, 57 const std::string &, 62 const std::string &getMangledName() const; 63 const std::string &getDemangledName() const; 65 std::string mMangledName; 66 std::string mDemangledName; 74 const std::string &, 75 const std::string &, 85 const std::string &getMangledName() const [all...] |
| /device/linaro/bootloader/edk2/BaseTools/Tests/ |
| CheckUnicodeSourceFiles.py | 35 #string STR_A #language en-US "STR_A for en-US"
38 def EncodeToFile(self, encoding, string=None):
39 if string is None:
40 string = self.SampleData
42 data = codecs.encode(string, encoding)
44 data = string
63 def CheckFile(self, encoding, shouldPass, string=None):
64 path = self.EncodeToFile(encoding, string)
97 #string STR_A #language en-US "CodePoint (\U00010300) > 0xFFFF"
100 self.CheckFile('utf_16', shouldPass=False, string=data) [all...] |
| /external/google-breakpad/src/common/ |
| dwarf_cfi_to_module.cc | 45 vector<string> DwarfCFIToModule::RegisterNames::MakeVector( 48 vector<string> names(strings, strings + size); 52 vector<string> DwarfCFIToModule::RegisterNames::I386() { 68 vector<string> DwarfCFIToModule::RegisterNames::X86_64() { 88 vector<string> DwarfCFIToModule::RegisterNames::ARM() { 109 vector<string> DwarfCFIToModule::RegisterNames::ARM64() { 128 vector<string> DwarfCFIToModule::RegisterNames::MIPS() { 146 uint8 version, const string &augmentation, 172 string DwarfCFIToModule::RegisterName(int i) { 193 const string &rule) [all...] |
| /external/google-breakpad/src/common/mac/ |
| macho_reader.h | 46 #include <string> 55 using std::string; 80 explicit Reporter(const string &filename) : filename_(filename) { } 99 string filename_; 165 string name; 199 string section_name; // section[_64].sectname 201 string segment_name; // section[_64].segname 222 typedef map<string, Section> SectionMap; 238 explicit Reporter(const string &filename) : filename_(filename) { } 280 virtual void SectionsMissing(const string &name) [all...] |
| /external/llvm/lib/Fuzzer/ |
| FuzzerIO.cpp | 26 bool IsFile(const std::string &Path) { 33 static long GetEpoch(const std::string &Path) { 40 static void ListFilesInDirRecursive(const std::string &Dir, long *Epoch, 41 std::vector<std::string> *V, bool TopDir) { 52 std::string Path = DirPlusFile(Dir, E->d_name); 63 Unit FileToVector(const std::string &Path, size_t MaxSize) { 81 std::string FileToString(const std::string &Path) { 83 return std::string((std::istreambuf_iterator<char>(T)), 87 void CopyFileToErr(const std::string &Path) [all...] |
| /external/proguard/src/proguard/classfile/constant/ |
| Utf8Constant.java | 55 // When the corresponding String is requested, we ditch the array and just 56 // store the String. 61 private String string; field in class:Utf8Constant 74 * Creates a Utf8Constant containing the given string. 76 public Utf8Constant(String string) 79 this.string = string; 89 this.string = null [all...] |
| /external/swiftshader/third_party/LLVM/include/llvm/Support/ |
| SourceMgr.h | 21 #include <string> 55 std::vector<std::string> IncludeDirectories; 70 void setIncludeDirs(const std::vector<std::string> &Dirs) { 113 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 114 std::string &IncludedFile); 125 /// specified string. 135 /// specified string. 159 std::string Filename; 161 std::string Message, LineContents; 168 SMDiagnostic(const std::string &filename, const std::string &Msg [all...] |
| /external/swiftshader/third_party/subzero/src/ |
| IceStringPool.h | 1 //===- subzero/src/IceStringPool.h - String pooling -------------*- C++ -*-===// 13 /// of memory allocation compared to directly using std::string. 25 #include <string> 45 IDType getOrAddString(const std::string &Value) { 48 auto *NewStr = new std::string(Value); 58 Str << "String pool (NumStrings=" << StringToId.size() 70 std::unordered_map<std::string, std::unique_ptr<std::string>> StringToId; 81 /// Create a unique StringID without an actual string, by grabbing the next 86 /// Create a unique StringID that holds an actual string, by fetching o [all...] |
| /external/tensorflow/tensorflow/tools/graph_transforms/ |
| remove_attribute_test.cc | 47 SetNodeAttr<string>("bar", "something", mul_node1); 56 SetNodeAttr<string>("bar", "something else", add_node2); 87 std::pair<string, std::vector<string>>({"op_name", {string("*")}})); 88 context.params.insert(std::pair<string, std::vector<string>>( 89 {"attribute_name", {string("foo")}})); 92 std::map<string, const NodeDef*> node_lookup; 105 std::pair<string, std::vector<string>>({"op_name", {string("Mul")}})) [all...] |
| /external/v8/src/extensions/ |
| externalize-string-extension.cc | 5 #include "src/extensions/externalize-string-extension.h" 35 typedef SimpleStringResource<char, v8::String::ExternalOneByteStringResource> 37 typedef SimpleStringResource<uc16, v8::String::ExternalStringResource> 47 v8::Isolate* isolate, v8::Local<v8::String> str) { 48 if (strcmp(*v8::String::Utf8Value(str), "externalizeString") == 0) { 52 DCHECK(strcmp(*v8::String::Utf8Value(str), "isOneByteString") == 0); 63 v8::String::NewFromUtf8( 65 "First parameter to externalizeString() must be a string.", 78 v8::String::NewFromUtf8( 86 Handle<String> string = Utils::OpenHandle(*args[0].As<v8::String>()) local [all...] |
| /external/webrtc/webrtc/modules/video_coding/test/ |
| test_util.cc | 35 void SplitFilename(const std::string& filename, 36 std::string* basename, 37 std::string* extension) { 41 std::string::size_type idx; 44 if (idx != std::string::npos) { 53 std::string AppendWidthHeightCount(const std::string& filename, 57 std::string basename; 58 std::string extension; 69 const std::string& base_out_filename [all...] |
| /frameworks/native/services/vr/performanced/ |
| task.cpp | 30 void ParseUidStatusField(const std::string& value, std::array<int, 4>& ids) { 65 base::unique_fd Task::OpenTaskFile(const std::string& name) const { 66 const std::string relative_path = "./" + name; 71 UniqueFile Task::OpenTaskFilePointer(const std::string& name) const { 72 const std::string relative_path = "./" + name; 88 std::string Task::GetStatusField(const std::string& field) const { 93 for (std::string line; std::getline(file_stream, line);) { 100 if (offset == std::string::npos) 117 for (std::string line; std::getline(file_stream, line);) [all...] |
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| ContactLookupKey.java | 33 public static final String PROFILE_LOOKUP_KEY = "profile"; 38 public String rawContactId; 39 public String key; 57 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { 65 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, 66 String accountName, long rawContactId, String sourceId, 67 String displayName) { 89 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId) 120 String string = lookupKey; local [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/LTO/legacy/ |
| ThinLTOCodeGenerator.h | 28 #include <string> 37 std::string OwnedIdentifier; 55 std::string MCpu; 56 std::string MAttr; 114 std::vector<std::string> &getProducedBinaryFiles() { 143 std::string Path; // Path to the cache, empty to disable. 149 void setCacheDir(std::string Path) { CacheOptions.Path = std::move(Path); } 187 void setSaveTempsDir(std::string Path) { SaveTempsDir = std::move(Path); } 193 void setGeneratedObjectsDirectory(std::string Path) { 198 void setCpu(std::string Cpu) { TMBuilder.MCpu = std::move(Cpu); [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/LTO/legacy/ |
| ThinLTOCodeGenerator.h | 28 #include <string> 37 std::string OwnedIdentifier; 55 std::string MCpu; 56 std::string MAttr; 114 std::vector<std::string> &getProducedBinaryFiles() { 143 std::string Path; // Path to the cache, empty to disable. 149 void setCacheDir(std::string Path) { CacheOptions.Path = std::move(Path); } 187 void setSaveTempsDir(std::string Path) { SaveTempsDir = std::move(Path); } 193 void setGeneratedObjectsDirectory(std::string Path) { 198 void setCpu(std::string Cpu) { TMBuilder.MCpu = std::move(Cpu); [all...] |