| /test/vts-testcase/security/poc/target/ |
| poc_test.cpp | 31 using std::string; 58 static map<string, string> ExtractParams(const char *test_params) { 59 map<string, string> params; 60 string input(test_params); 63 string key_value; 66 if (delim == string::npos) { 71 string key = key_value.substr(0, delim); 72 string value = key_value.substr(delim + 1) [all...] |
| /external/brotli/csharp/org/brotli/dec/ |
| Transform.cs | 17 internal Transform(string prefix, int type, string suffix)
24 internal static byte[] ReadUniBytes(string uniBytes)
34 internal static readonly Org.Brotli.Dec.Transform[] Transforms = new Org.Brotli.Dec.Transform[] { new Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identity, string.Empty), new Org.Brotli.Dec.Transform(string.Empty,
35 Org.Brotli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Transform(" ", Org.Brotli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.OmitFirst1, string.Empty), new Org.Brotli.Dec.Transform
36 (string.Empty, Org.Brotli.Dec.WordTransformType.UppercaseFirst, " "), new Org.Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identity, " the "), new Org.Brotli.Dec.Transform(" ", Org. (…) [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
| vktSpvAsmGraphicsShaderTestUtil.hpp | 39 #include <string> 51 typedef std::pair<std::string, vk::VkShaderStageFlagBits> EntryToStage; 52 typedef std::map<std::string, std::vector<EntryToStage> > ModuleMap; 129 std::string str (void) const; 257 std::map<std::string, std::string> testCodeFragments; 261 std::vector<std::string> requiredDeviceExtensions; 262 std::vector<std::string> requiredDeviceFeatures; 280 std::string failMessageTemplate; //!< ${reason} in the template will be replaced with a detailed failure message 284 const std::map<std::string, std::string>& testCodeFragments_ [all...] |
| /frameworks/native/libs/input/ |
| KeyLayoutMap.cpp | 58 ALOGE("Error %d opening key layout map file %s.", status, filename.string()); 73 tokenizer->getFilename().string(), tokenizer->getLineNumber(), 201 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), 202 mTokenizer->peekRemainderOfLine().string()); 222 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), 223 keywordToken.string()); 230 mTokenizer->getLocation().string(), 231 mTokenizer->peekRemainderOfLine().string()); 251 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); 253 ALOGE("%s: Expected key %s number, got '%s'.", mTokenizer->getLocation().string(), [all...] |
| /system/core/init/ |
| devices.cpp | 54 static bool FindPciDevicePrefix(const std::string& path, std::string* result) { 60 std::string::size_type start = 9; 65 if (end == std::string::npos) return false; 68 if (end == std::string::npos) return false; 72 // The minimum string that will get to this check is 'pci/', which is malformed, 85 static bool FindVbdDevicePrefix(const std::string& path, std::string* result) { 91 std::string::size_type start = 13; 96 if (end == std::string::npos) return false [all...] |
| /external/deqp/modules/gles3/functional/ |
| es3fShaderLoopTests.cpp | 331 string iterMaxStr; 340 iterMaxStr = string(getIntUniformName(numLoopIters)) + "*one"; 357 string initValue = isIntCounter ? "0" : "0.05"; 358 string loopCountDeclStr = "${COUNTER_PRECISION} ${LOOP_VAR_TYPE} ndx = " + initValue; 359 string loopCmpStr = ("ndx < " + iterMaxStr); 360 string incrementStr; 366 incrementStr = string("ndx += ") + de::toString(1.0f / (float)numLoopIters); 368 incrementStr = string("ndx += ") + getFloatFractionUniformName(numLoopIters); 370 incrementStr = string("ndx += ") + getFloatFractionUniformName(numLoopIters) + "*one"; 376 string loopBody [all...] |
| /external/googletest/googletest/test/ |
| gtest-filepath_test.cc | 69 LPCWSTR wpath = String::AnsiToUtf16(path); 77 LPCWSTR wpath = String::AnsiToUtf16( 103 EXPECT_EQ(GTEST_PATH_SEP_, cwd.string()); 123 EXPECT_EQ("", FilePath("").RemoveDirectoryName().string()); 129 FilePath("afile").RemoveDirectoryName().string()); 135 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 141 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().string()); 147 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 154 .RemoveDirectoryName().string()); 164 EXPECT_EQ("afile", FilePath("/afile").RemoveDirectoryName().string()); [all...] |
| /external/v8/testing/gtest/test/ |
| gtest-filepath_test.cc | 69 LPCWSTR wpath = String::AnsiToUtf16(path); 77 LPCWSTR wpath = String::AnsiToUtf16( 103 EXPECT_EQ(GTEST_PATH_SEP_, cwd.string()); 123 EXPECT_EQ("", FilePath("").RemoveDirectoryName().string()); 129 FilePath("afile").RemoveDirectoryName().string()); 135 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 141 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().string()); 147 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 154 .RemoveDirectoryName().string()); 164 EXPECT_EQ("afile", FilePath("/afile").RemoveDirectoryName().string()); [all...] |
| /build/blueprint/ |
| unpack_test.go | 29 input string 43 Name *string 44 Blank *string 45 Unset *string 62 Name string 114 Stuff []string 115 Empty []string 116 Nil []string 118 Stuff: []string{"asdf", "jkl;", "qwert", "uiop", "bnm,"}, 119 Empty: []string{}, [all...] |
| /external/protobuf/src/google/protobuf/ |
| text_format.h | 46 #include <string> 77 // Like Print(), but outputs directly to a string. 78 static bool PrintToString(const Message& message, string* output); 80 // Like PrintUnknownFields(), but outputs directly to a string. 82 string* output); 91 string* output); 94 // their string representation. 102 virtual string PrintBool(bool val) const; 103 virtual string PrintInt32(int32 val) const; 104 virtual string PrintUInt32(uint32 val) const [all...] |
| /external/webrtc/webrtc/libjingle/xmpp/ |
| pubsubstateclient.h | 15 #include <string> 33 std::string published_nick; 34 std::string publisher_nick; 43 std::string publisher_nick; 45 std::string published_nick; 66 virtual std::string GetKey(const std::string& publisher_nick, 67 const std::string& published_nick) = 0; 72 virtual std::string GetKey(const std::string& publisher_nick [all...] |
| /frameworks/base/tools/bit/ |
| util.cpp | 22 #include <string.h> 36 FileInfo::FileInfo(const string& filename) 84 TrackedFile::TrackedFile(const string& file) 102 get_directory_contents(const string& name, map<string,FileInfo>* results) 115 string subdir = name + "/" + entry->d_name; 118 string filename(name + "/" + entry->d_name); 127 directory_contents_differ(const map<string,FileInfo>& before, const map<string,FileInfo>& after) 132 map<string,FileInfo>::const_iterator b = before.begin() [all...] |
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
| lex_test.go | 12 func eq(a, b []string) bool { 27 in string 28 want []string 30 {"", []string{}}, 31 {" \t ", []string{}}, 32 {`""""`, []string{`""`, `""`}}, 33 {" a'b'c ", []string{"a'b'c"}}, 34 {"1 2 3 4", []string{"1", "2", "3", "4"}}, 35 {"\n?\t?\n", []string{"?", "?"}}, 36 {`"1 2 " 3 " 4 5"`, []string{`"1 2 "`, `3`, `" 4 5"`}} [all...] |
| /prebuilts/go/darwin-x86/src/debug/pe/ |
| string.go | 13 // cstring converts ASCII byte sequence b to string. 15 func cstring(b []byte) string { 19 return string(b[:i]) 22 // StringTable is a COFF string table. 26 // COFF string table is located right after COFF symbol table. 33 return nil, fmt.Errorf("fail to seek to string table: %v", err) 38 return nil, fmt.Errorf("fail to read string table length: %v", err) 40 // string table length includes itself 48 return nil, fmt.Errorf("fail to read string table: %v", err) 55 // String extracts string from COFF string table st at offset start [all...] |
| /prebuilts/go/darwin-x86/src/net/ |
| lookup_nacl.go | 14 func lookupProtocol(ctx context.Context, name string) (proto int, err error) { 18 func (*Resolver) lookupHost(ctx context.Context, host string) (addrs []string, err error) { 22 func (*Resolver) lookupIP(ctx context.Context, host string) (addrs []IPAddr, err error) { 26 func (*Resolver) lookupPort(ctx context.Context, network, service string) (port int, err error) { 30 func (*Resolver) lookupCNAME(ctx context.Context, name string) (cname string, err error) { 34 func (*Resolver) lookupSRV(ctx context.Context, service, proto, name string) (cname string, srvs []*SRV, err error) { 38 func (*Resolver) lookupMX(ctx context.Context, name string) (mxs []*MX, err error) [all...] |
| /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
| lex_test.go | 12 func eq(a, b []string) bool { 27 in string 28 want []string 30 {"", []string{}}, 31 {" \t ", []string{}}, 32 {`""""`, []string{`""`, `""`}}, 33 {" a'b'c ", []string{"a'b'c"}}, 34 {"1 2 3 4", []string{"1", "2", "3", "4"}}, 35 {"\n?\t?\n", []string{"?", "?"}}, 36 {`"1 2 " 3 " 4 5"`, []string{`"1 2 "`, `3`, `" 4 5"`}} [all...] |
| /prebuilts/go/linux-x86/src/debug/pe/ |
| string.go | 13 // cstring converts ASCII byte sequence b to string. 15 func cstring(b []byte) string { 19 return string(b[:i]) 22 // StringTable is a COFF string table. 26 // COFF string table is located right after COFF symbol table. 33 return nil, fmt.Errorf("fail to seek to string table: %v", err) 38 return nil, fmt.Errorf("fail to read string table length: %v", err) 40 // string table length includes itself 48 return nil, fmt.Errorf("fail to read string table: %v", err) 55 // String extracts string from COFF string table st at offset start [all...] |
| /prebuilts/go/linux-x86/src/net/ |
| lookup_nacl.go | 14 func lookupProtocol(ctx context.Context, name string) (proto int, err error) { 18 func (*Resolver) lookupHost(ctx context.Context, host string) (addrs []string, err error) { 22 func (*Resolver) lookupIP(ctx context.Context, host string) (addrs []IPAddr, err error) { 26 func (*Resolver) lookupPort(ctx context.Context, network, service string) (port int, err error) { 30 func (*Resolver) lookupCNAME(ctx context.Context, name string) (cname string, err error) { 34 func (*Resolver) lookupSRV(ctx context.Context, service, proto, name string) (cname string, srvs []*SRV, err error) { 38 func (*Resolver) lookupMX(ctx context.Context, name string) (mxs []*MX, err error) [all...] |
| /prebuilts/misc/common/swig/include/2.0.11/allegrocl/ |
| std_string.i | 4 * SWIG typemaps for std::string 8 // std::string is typemapped by value 9 // This can prevent exporting methods which return a string 15 %warnfilter(404) std::string; 19 #include <string> 24 // %naturalvar std::string; 80 %template(string) basic_string<char>; 83 %apply char * { string }; 86 typedef basic_string<char> string; 90 %typemap(ctype) string "char *" [all...] |
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
| text_format.h | 46 #include <string> 77 // Like Print(), but outputs directly to a string. 78 static bool PrintToString(const Message& message, string* output); 80 // Like PrintUnknownFields(), but outputs directly to a string. 82 string* output); 91 string* output); 94 // their string representation. 102 virtual string PrintBool(bool val) const; 103 virtual string PrintInt32(int32 val) const; 104 virtual string PrintUInt32(uint32 val) const [all...] |
| /test/vts/utils/native/testability_checker/ |
| VtsTestabilityChecker.cpp | 41 using std::string; 48 const string& hal_package_name, const Version& hal_version, 49 const string& hal_interface_name, const Arch& arch, 50 set<string>* instances) { 52 set<string> famework_hal_instances; 53 set<string> vendor_hal_instances; 67 const string& hal_package_name, const Version& hal_version, 68 const string& hal_interface_name, const Arch& arch, 69 set<string>* instances) { 71 set<string> vendor_hal_instances [all...] |
| /external/gflags/src/ |
| gflags_reporting.cc | 52 #include <string.h> 55 #include <string> 78 using std::string; 92 static void AddString(const string& s, 93 string* final_string, int* chars_in_line) { 106 static string PrintStringFlagsWithQuotes(const CommandLineFlagInfo& flag, 107 const string& text, bool current) { 110 if (strcmp(flag.type.c_str(), "string") == 0) { // add quotes for strings 117 // Create a descriptive string for a flag. 119 string DescribeOneFlag(const CommandLineFlagInfo& flag) [all...] |
| /external/tensorflow/tensorflow/compiler/jit/ |
| graph_to_functiondef.cc | 48 string Normalize(const string& name); 51 string Uniquify(const string& name); 55 string Renormalize(const string& name) const; 58 string NormalizeHelper(string name) const; 59 string UniquifyHelper(string name) [all...] |
| /external/tensorflow/tensorflow/core/profiler/ |
| profiler.cc | 20 #include <string> 45 string buf_str = buf; 48 if (string(opt).find(buf_str) == 0) { 55 string prefix; 57 if (last_dash != string::npos) { 62 if (string(opt).find(buf_str) == 0) { 69 string FLAGS_profile_path = ""; 70 string FLAGS_graph_path = ""; 71 string FLAGS_run_meta_path = ""; 72 string FLAGS_op_log_path = "" [all...] |
| /system/libvintf/ |
| check_vintf.cpp | 34 using Properties = std::map<std::string, std::string>; 44 using Args = std::multimap<Option, std::string>; 48 void setRootDir(const std::string& rootdir) { 54 virtual status_t fetch(const std::string& path, std::string& fetched, std::string* error) { 57 virtual status_t fetch(const std::string& path, std::string& fetched) { 60 virtual status_t listFiles(const std::string& path, std::vector<std::string>* out [all...] |