| /external/dtc/tests/ |
| test01.asm | 47 .string "" 79 .string "cpus" 97 .string "PowerPC,970@0" 142 .string "PowerPC,970@1" 184 .string "randomnode" 219 .string "memory@0" 245 .string "chosen" 270 .string "model" 271 .string "compatible" 272 .string "#address-cells [all...] |
| /external/tensorflow/tensorflow/core/lib/strings/ |
| str_util.h | 20 #include <string> 27 // Basic string utility routines 33 string CEscape(StringPiece src); 42 bool CUnescape(StringPiece source, string* dest, string* error); 45 void StripTrailingWhitespace(string* s); 79 string Lowercase(StringPiece s); 82 string Uppercase(StringPiece s); 91 // as required by OpDef.ArgDef.name. The resulting string is either empty or 93 string ArgDefCase(StringPiece s) [all...] |
| /external/tensorflow/tensorflow/core/util/ |
| tensor_slice_reader.h | 60 virtual bool Get(const string& key, string* value) = 0; 62 typedef std::function<Status(const string&, Table**)> OpenTableFunction; 65 TensorSliceReader(const string& filepattern); 66 TensorSliceReader(const string& filepattern, OpenTableFunction open_function); 67 TensorSliceReader(const string& filepattern, OpenTableFunction open_function, 72 const string& filepattern() const { return filepattern_; } 84 bool HasTensor(const string& name, TensorShape* shape, DataType* type) const; 91 bool CopySliceData(const string& name, const TensorSlice& slice, 95 const std::unordered_map<string, TensorSliceSet*>& Tensors() const [all...] |
| /prebuilts/go/darwin-x86/src/path/filepath/ |
| path_plan9.go | 10 func IsAbs(path string) bool { 16 func volumeNameLen(path string) int { 24 func HasPrefix(p, prefix string) bool { 28 func splitList(path string) []string { 30 return []string{} 32 return strings.Split(path, string(ListSeparator)) 35 func abs(path string) (string, error) { 39 func join(elem []string) string [all...] |
| /prebuilts/go/linux-x86/src/path/filepath/ |
| path_plan9.go | 10 func IsAbs(path string) bool { 16 func volumeNameLen(path string) int { 24 func HasPrefix(p, prefix string) bool { 28 func splitList(path string) []string { 30 return []string{} 32 return strings.Split(path, string(ListSeparator)) 35 func abs(path string) (string, error) { 39 func join(elem []string) string [all...] |
| /system/extras/simpleperf/ |
| dso.h | 21 #include <string> 36 Symbol(const std::string& name, uint64_t addr, uint64_t len); 89 static std::string Demangle(const std::string& name); 90 static bool SetSymFsDir(const std::string& symfs_dir); 91 static void SetVmlinux(const std::string& vmlinux); 92 static void SetKallsyms(std::string kallsyms) { 101 const std::vector<std::pair<std::string, BuildId>>& build_ids); 102 static BuildId FindExpectedBuildIdForPath(const std::string& path); 103 static void SetVdsoFile(const std::string& vdso_file, bool is_64bit) [all...] |
| environment.h | 30 #include <string> 39 std::vector<int> GetCpusFromString(const std::string& s); 42 std::string name; 45 std::string filepath; 54 std::string name; 63 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id); 69 bool GetThreadName(pid_t tid, std::string* name); 71 bool GetValidThreadsFromThreadString(const std::string& tid_str, std::set<pid_t>* tid_set); 96 std::set<pid_t> WaitForAppProcesses(const std::string& package_name); 97 bool RunInAppContext(const std::string& app_package_name, const std::string& cmd [all...] |
| /system/keymaster/tests/ |
| android_keymaster_test_utils.h | 29 #include <string> 46 std::string hex2str(std::string); 96 bool contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) { 99 std::string(reinterpret_cast<const char*>(set[pos].blob.data), 104 bool contains(const AuthorizationSet& set, TypedTag<KM_BIGNUM, Tag> tag, const std::string& val) { 107 std::string(reinterpret_cast<const char*>(set[pos].blob.data), 145 inline std::string make_string(const uint8_t* data, size_t length) { 146 return std::string(reinterpret_cast<const char*>(data), length); 149 template <size_t N> std::string make_string(const uint8_t (&a)[N]) [all...] |
| /frameworks/compile/slang/ |
| slang_rs_reflection.h | 24 #include <string> 54 std::string mPackageName; 58 std::string mRSPackageName; 62 std::string mOutputBaseDirectory; 66 std::string mOutputDirectory; 69 std::string mRSSourceFileName; 71 std::string mBitCodeFileName; 75 std::string mResourceId; 78 std::string mScriptClassName; 81 std::string mClassName [all...] |
| /external/libbrillo/brillo/dbus/ |
| utils.cc | 19 const std::string& error_name, 20 const std::string& error_message) { 28 std::string error_name = DBUS_ERROR_FAILED; // Default error code. 29 std::string error_message; 42 // Format error string as "domain/code:message". 53 const std::string& dbus_error_name, 54 const std::string& dbus_error_message) { 55 std::vector<std::string> parts = string_utils::Split(dbus_error_message, ";"); 56 std::vector<std::tuple<std::string, std::string, std::string>> errors [all...] |
| /external/protobuf/src/google/protobuf/ |
| arenastring_unittest.cc | 35 #include <string> 53 static string WrapString(const char* value) { 60 ::std::string default_value = "default"; 62 EXPECT_EQ(string("default"), field.Get(&default_value)); 64 EXPECT_EQ(string("Test short"), field.Get(&default_value)); 66 EXPECT_EQ(string("Test long long long long value"), field.Get(&default_value)); 67 field.Set(&default_value, string(""), NULL); 72 ::std::string* mut = field2.Mutable(&default_value, NULL); 76 EXPECT_EQ(string("default"), *mut); 77 *mut = "Test long long long long value"; // ensure string allocates storag [all...] |
| /external/tensorflow/tensorflow/cc/framework/ |
| scope_internal.h | 39 typedef std::unordered_map<string, int> NameMap; 46 const string& name() const { return name_; } 66 Impl(const Scope& other, Tags::ScopeName, const string& name, 68 Impl(const Scope& other, Tags::OpName, const string& name, 69 const string& op_name); 72 Impl(const Scope& other, Tags::Device, const string& device); 73 Impl(const Scope& other, Tags::SingleUseScope, const string& op_name); 75 Impl(const Scope& other, Tags::KernelLabel, const string& kernel_label); 79 std::unordered_set<string> GetColocationConstraints( 83 string GetUniqueName(const string& prefix, bool check_single_use) const [all...] |
| /prebuilts/go/darwin-x86/test/ |
| alg.go | 16 func f(m map[[8]string]int) int { 17 var k [8]string 28 func h(m map[[2]string]int) int { 29 var k [2]string 33 type T map[string]interface{} 35 func v(x ...string) string { 41 f(map[[8]string]int{}), 43 h(map[[2]string]int{}),
|
| /prebuilts/go/darwin-x86/test/fixedbugs/ |
| bug343.go | 11 func getArgs(data map[string]interface{}, keys ...string) map[string]string { 12 ret := map[string]string{} 15 ret[k], ok = data[k].(string) 22 x := getArgs(map[string]interface{}{"x":"y"}, "x") 31 . INDREG a(1) l(15) x(24) tc(2) runtime.ret G0 string
|
| /prebuilts/go/linux-x86/test/ |
| alg.go | 16 func f(m map[[8]string]int) int { 17 var k [8]string 28 func h(m map[[2]string]int) int { 29 var k [2]string 33 type T map[string]interface{} 35 func v(x ...string) string { 41 f(map[[8]string]int{}), 43 h(map[[2]string]int{}),
|
| /prebuilts/go/linux-x86/test/fixedbugs/ |
| bug343.go | 11 func getArgs(data map[string]interface{}, keys ...string) map[string]string { 12 ret := map[string]string{} 15 ret[k], ok = data[k].(string) 22 x := getArgs(map[string]interface{}{"x":"y"}, "x") 31 . INDREG a(1) l(15) x(24) tc(2) runtime.ret G0 string
|
| /art/runtime/ |
| elf_file.h | 21 #include <string> 45 std::string* error_msg, 52 std::string* error_msg); 56 bool Load(File* file, bool executable, bool low_4gb, std::string* error_msg); 58 const uint8_t* FindDynamicSymbolAddress(const std::string& symbol_name) const; 68 const std::string& GetFilePath() const; 72 bool HasSection(const std::string& name) const; 75 const std::string& symbol_name, 78 bool GetLoadedSize(size_t* size, std::string* error_msg) const; 82 static bool Strip(File* file, std::string* error_msg) [all...] |
| zip_archive.h | 22 #include <string> 43 bool ExtractToFile(File& file, std::string* error_msg); 47 std::string* error_msg); 55 MemMap* MapDirectlyFromFile(const char* zip_filename, /*out*/std::string* error_msg); 60 std::string* error_msg); 72 const std::string& entry_name) 77 std::string const entry_name_; 86 static ZipArchive* Open(const char* filename, std::string* error_msg); 87 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg); 89 ZipEntry* Find(const char* name, std::string* error_msg) const [all...] |
| /bionic/benchmarks/ |
| util.h | 21 #include <string> 29 extern std::map<std::string, std::pair<benchmark_func_t, std::string>> g_str_to_func; 31 static int __attribute__((unused)) EmplaceBenchmark(const std::string& fn_name, benchmark_func_t fn_ptr, const std::string& arg = "") { 33 g_str_to_func.emplace(std::string(fn_name), std::make_pair(fn_ptr, arg)); 39 int _bionic_benchmark_##n __attribute__((unused)) = EmplaceBenchmark(std::string(#n), reinterpret_cast<benchmark_func_t>(n)) 42 int _bionic_benchmark_##n __attribute__((unused)) = EmplaceBenchmark(std::string(#n), reinterpret_cast<benchmark_func_t>(n), arg) 50 std::string xmlpath; 51 std::vector<std::string> extra_benchmarks [all...] |
| /bionic/tests/ |
| dlfcn_symlink_support.cpp | 29 #include <string> 39 const std::string suffix = std::string("/") + source_file_name; 48 std::string* path = reinterpret_cast<std::string*>(data); 56 void create_dlfcn_test_symlink(const char* suffix, std::string* result) { 58 std::string source_file_path; 69 std::string path_dir = dirname(&buf[0]); 70 std::string link_path = path_dir + "/" + symlink_name_prefix + suffix + ".so"; 76 void remove_dlfcn_test_symlink(const std::string& path) [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
| HceReaderTestActivity.java | 36 setInfoResources(R.string.nfc_test, R.string.nfc_hce_reader_test_info, 0); 42 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_reader_tests)); 44 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_reader, 48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_reader, 49 getString(R.string.nfc_hce_single_payment_reader), 52 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader, 53 getString(R.string.nfc_hce_dual_payment_reader), 56 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader, 57 getString(R.string.nfc_hce_change_default_reader) [all...] |
| /external/google-breakpad/src/client/windows/unittests/ |
| exception_handler_nesting_test.cc | 32 #include <string> 177 std::string(kStartOfLine) + 178 std::string(kFoo) + 179 std::string(kEndOfLine)); 182 std::string(kStartOfLine) + 183 std::string(kBar) + 184 std::string(kEndOfLine)); 193 std::string(kStartOfLine) + 194 std::string(kFilterReturnsTrue) + 195 std::string(kEndOfLine)) [all...] |
| /external/google-breakpad/src/processor/ |
| postfix_evaluator.h | 54 // The dictionary is provided as a map with string keys. Keys beginning 74 #include <string> 89 typedef map<string, ValueType> DictionaryType; 90 typedef map<string, bool> DictionaryValidityType; 108 bool Evaluate(const string &expression, DictionaryValidityType *assigned); 114 bool EvaluateForValue(const string &expression, ValueType *result); 135 PopResult PopValueOrIdentifier(ValueType *value, string *identifier); 154 bool EvaluateInternal(const string &expression, 157 bool EvaluateToken(const string &token, 158 const string &expression [all...] |
| /external/libchrome/crypto/ |
| nss_util_internal.h | 10 #include <string> 31 const std::string& description); 69 const std::string& username_hash, 77 const std::string& username_hash) WARN_UNUSED_RESULT; 83 const std::string& username_hash); 88 const std::string& username_hash, 94 const std::string& username_hash); 98 const std::string& username_hash) WARN_UNUSED_RESULT; 104 const std::string& username_hash, 110 const std::string& username_hash) [all...] |
| /external/libxkbcommon/xkbcommon/src/ |
| utils.c | 39 char *string; local 46 string = mmap(NULL, stat_buf.st_size, PROT_READ, MAP_SHARED, fd, 0); 47 if (string == MAP_FAILED) 50 *string_out = string; 68 char *string; local 86 string = malloc(size); 87 if (!string) 90 ret_s = fread(string, 1, size, file); 92 free(string); 96 *string_out = string; [all...] |