HomeSort by relevance Sort by last modified time
    Searched refs:string (Results 3951 - 3975 of 46739) sorted by null

<<151152153154155156157158159160>>

  /system/core/lmkd/tests/
lmkd_test.cpp 19 #include <string.h>
20 #include <string>
59 std::string readCommand(const std::string& command) {
61 std::string content;
67 std::string readLogcat(const std::string& marker) {
68 std::string content = readCommand("logcat -d -b all");
70 if (pos == std::string::npos) return "";
75 bool writeFile(const std::string& file, const std::string& string)
    [all...]
  /art/runtime/
oat_file_assistant.h 23 #include <string>
163 bool Lock(std::string* error_msg);
211 // to a string describing why there was a failure or the update was not
215 std::string* error_msg);
227 std::string GetStatusDump();
238 static void GetOptimizationStatus(const std::string& filename,
240 std::string* out_compilation_filter,
241 std::string* out_compilation_reason);
261 const std::string& dex_location,
292 // If there is a failure, the value of error_msg will be set to a string
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/
DeskClockTestsActivity.java 27 private static final String SHOW_ALARMS_TEST = "SHOW_ALARMS";
28 public static final String SET_ALARM_WITH_UI_TEST = "SET_ALARM_WITH_UI";
29 public static final String START_ALARM_TEST = "START_ALARM";
30 public static final String CREATE_ALARM_TEST = "CREATE_ALARM";
31 public static final String SET_TIMER_WITH_UI_TEST = "SET_TIMER_WITH_UI";
32 public static final String START_TIMER = "START_TIMER";
33 public static final String START_TIMER_WITH_UI = "START_TIMER_WITH_UI";
72 R.string.dc_show_alarms_test,
73 R.string.dc_show_alarms_test_info,
75 R.string.dc_show_alarms_button
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
TestListActivity.java 41 private static final String TAG = "TestListActivity";
60 setInfoResources(R.string.aware_test, R.string.aware_test_info, 0);
68 R.string.aware_dp_ib_open_unsolicited));
70 R.string.aware_publish,
74 R.string.aware_subscribe,
78 R.string.aware_dp_ib_passphrase_unsolicited));
80 R.string.aware_publish,
84 R.string.aware_subscribe,
88 R.string.aware_dp_ib_open_solicited))
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/
T_return_object_6.d 27 .method private static test()Ljava/lang/String;
30 const-string v0, "aaa"
31 const-string v1, "bbb"
32 const-string v2, "ccc"
33 const-string v3, "ddd"
37 .method public run()Ljava/lang/String;
39 const-string v1, "a"
40 const-string v2, "b"
41 const-string v3, "c"
42 invoke-static {}, dot/junit/opcodes/return_object/d/T_return_object_6/test()Ljava/lang/String;
    [all...]
  /external/flatbuffers/include/flatbuffers/
idl.h 40 // Additionally, Parser::ParseType assumes bool..string is a contiguous range
57 TD(STRING, "string", Offset<void>, int, int, StringOffset, int) \
157 std::string constant;
171 bool Add(const std::string &name, T *e) {
179 void Move(const std::string &oldname, const std::string &newname) {
190 T *Lookup(const std::string &name) const {
196 std::map<std::string, T *> dict; // quick lookup
209 std::string GetFullyQualifiedName(const std::string &name
    [all...]
  /external/google-breakpad/src/processor/
microdump.cc 37 #include <string.h>
41 #include <string>
64 T HexStrToL(const string& str) {
71 std::vector<uint8_t> ParseHexBuf(const string& str) {
172 Microdump::Microdump(const string& contents)
180 string line;
183 string arch;
187 if (line.find(kGoogleBreakpadKey) == string::npos) {
190 if (line.find(kMicrodumpBegin) != string::npos) {
194 if (line.find(kMicrodumpEnd) != string::npos)
    [all...]
  /external/libchrome/base/json/
string_escape_unittest.cc 33 std::string in_str = in_ptr;
35 std::string out;
37 EXPECT_EQ(std::string(cases[i].escaped), out);
42 EXPECT_EQ(std::string(cases[i].escaped), out);
46 std::string fooout = GetQuotedJSONString(in_str);
47 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", fooout);
52 std::string in = cases[0].to_escape;
53 std::string out;
58 std::string out_quoted;
64 // now try with a NULL in the string
    [all...]
  /external/protobuf/src/google/protobuf/
any.pb.h 7 #include <string>
64 const ::std::string& type_url_prefix);
111 // optional string type_url = 1;
114 const ::std::string& type_url() const;
115 void set_type_url(const ::std::string& value);
118 ::std::string* mutable_type_url();
119 ::std::string* release_type_url();
120 void set_allocated_type_url(::std::string* type_url);
125 const ::std::string& value() const;
126 void set_value(const ::std::string& value)
    [all...]
  /external/python/cpython3/Lib/email/
charset.py 154 built-in, or to the encode() method of a Unicode string.
163 def _encode(string, codec):
165 return string.encode('ascii', 'surrogateescape')
167 return string.encode(codec)
260 This is either the string `quoted-printable' or `base64' depending on
286 def header_encode(self, string):
287 """Header-encode a string by converting it first to bytes.
292 :param string: A unicode string for the header. It must be possible
293 to encode this string to bytes using the character set'
    [all...]
  /external/tensorflow/tensorflow/cc/tools/
freeze_saved_model.cc 36 std::unordered_set<string>* tensor_names) {
52 std::unordered_set<string>* inputs, std::unordered_set<string>* outputs) {
64 // Gets a map from string node name to NodeDef.
67 std::unordered_map<string, NodeDef*>* name_to_node_map) {
77 GraphDef* graph_def, const std::unordered_set<string>& outputs,
78 std::unordered_set<string>* reachable_node_names,
79 std::unordered_set<string>* variable_node_names) {
81 static const std::unordered_set<string>* kVariableTypes =
82 new std::unordered_set<string>({"Variable", "VariableV2"})
    [all...]
  /external/tensorflow/tensorflow/core/profiler/internal/
tfprof_timeline.h 29 typedef std::map<string, string> Event;
37 Json::Value CreateEvent(const string& ph, const string& category,
38 const string& name, int64 pid, int64 tid, int64 ts);
40 void EmitPID(const string& name, int64 pid);
43 const string& category, const string& name, Json::Value args);
45 void EmitFlowStart(const string& name, int64 ts, int64 pid, int64 tid,
48 void EmitFlowEnd(const string& name, int64 ts, int64 pid, int64 tid
    [all...]
  /external/webrtc/webrtc/base/
messagedigest.cc 13 #include <string.h>
38 MessageDigest* MessageDigestFactory::Create(const std::string& alg) {
57 bool IsFips180DigestAlgorithm(const std::string& alg) {
76 size_t ComputeDigest(const std::string& alg, const void* input, size_t in_len,
84 std::string ComputeDigest(MessageDigest* digest, const std::string& input) {
91 bool ComputeDigest(const std::string& alg, const std::string& input,
92 std::string* output) {
101 std::string ComputeDigest(const std::string& alg, const std::string& input)
    [all...]
  /prebuilts/go/darwin-x86/src/path/filepath/
path_unix.go 12 func IsAbs(path string) bool {
18 func volumeNameLen(path string) int {
26 func HasPrefix(p, prefix string) bool {
30 func splitList(path string) []string {
32 return []string{}
34 return strings.Split(path, string(ListSeparator))
37 func abs(path string) (string, error) {
41 func join(elem []string) string
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue4215.go 24 func foo4(name string) (string, int) {
27 return "moo" // ERROR "not enough arguments to return\n\thave \(string\)\n\twant \(string, int\)"
29 return "dog", 10, true // ERROR "too many arguments to return\n\thave \(string, number, bool\)\n\twant \(string, int\)"
31 return "" // ERROR "not enough arguments to return\n\thave \(string\)\n\twant \(string, int\)"
38 type T string
43 return "" // ERROR "not enough arguments to return\n\thave \(string\)\n\twant \(S, T, U\)
    [all...]
  /prebuilts/go/linux-x86/src/path/filepath/
path_unix.go 12 func IsAbs(path string) bool {
18 func volumeNameLen(path string) int {
26 func HasPrefix(p, prefix string) bool {
30 func splitList(path string) []string {
32 return []string{}
34 return strings.Split(path, string(ListSeparator))
37 func abs(path string) (string, error) {
41 func join(elem []string) string
    [all...]
  /prebuilts/go/linux-x86/test/fixedbugs/
issue4215.go 24 func foo4(name string) (string, int) {
27 return "moo" // ERROR "not enough arguments to return\n\thave \(string\)\n\twant \(string, int\)"
29 return "dog", 10, true // ERROR "too many arguments to return\n\thave \(string, number, bool\)\n\twant \(string, int\)"
31 return "" // ERROR "not enough arguments to return\n\thave \(string\)\n\twant \(string, int\)"
38 type T string
43 return "" // ERROR "not enough arguments to return\n\thave \(string\)\n\twant \(S, T, U\)
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
any.pb.h 7 #include <string>
64 const ::std::string& type_url_prefix);
111 // optional string type_url = 1;
114 const ::std::string& type_url() const;
115 void set_type_url(const ::std::string& value);
118 ::std::string* mutable_type_url();
119 ::std::string* release_type_url();
120 void set_allocated_type_url(::std::string* type_url);
125 const ::std::string& value() const;
126 void set_value(const ::std::string& value)
    [all...]
  /external/tensorflow/tensorflow/contrib/ffmpeg/default/
ffmpeg_lib.cc 43 std::vector<string> FfmpegAudioCommandLine(const string& input_filename,
44 const string& output_filename,
45 const string& input_format_id,
48 const string& stream) {
49 std::vector<string> command({
73 std::vector<string> FfmpegVideoCommandLine(const string& input_filename,
74 const string& output_filename) {
90 bool IsBinaryInstalled(const string& binary_name)
    [all...]
  /build/kati/
ninja.cc 26 #include <string>
51 if (found == string::npos || found == 0)
52 return string::npos;
59 if (index == string::npos)
64 while (index != string::npos) {
82 if (index == string::npos)
83 return string::npos;
88 return pos == string::npos ? string::npos : pos + index;
91 return string::npos
    [all...]
  /build/soong/android/
util.go 23 func JoinWithPrefix(strs []string, prefix string) string {
45 return string(ret)
48 func sortedKeys(m map[string][]string) []string {
49 s := make([]string, 0, len(m))
57 func IndexList(s string, list []string) int
    [all...]
  /build/soong/cc/config/
mips_device.go 24 mipsCflags = []string{
29 mipsClangCflags = append(mipsCflags, []string{
34 mipsCppflags = []string{}
36 mipsLdflags = []string{
40 mipsToolchainLdflags = []string{
44 mipsArchVariantCflags = map[string][]string{
45 "mips32-fp": []string{
51 "mips32r2-fp": []string{
57 "mips32r2-fp-xburst": []string{
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_helpers.cc 59 string DotsToUnderscores(const string& name) {
63 string DotsToColons(const string& name) {
82 hash_set<string> MakeKeywordsMap() {
83 hash_set<string> result;
90 hash_set<string> kKeywords = MakeKeywordsMap();
108 string UnderscoresToCamelCase(const string& input, bool cap_next_letter) {
109 string result
    [all...]
  /packages/apps/ExactCalculator/src/com/android/calculator2/
KeyMaps.java 39 * Map key id to corresponding (internationalized) display string.
42 public static String toString(Context context, int id) {
45 return context.getString(R.string.const_pi);
47 return context.getString(R.string.const_e);
49 return context.getString(R.string.op_sqrt);
51 return context.getString(R.string.op_fact);
53 return context.getString(R.string.op_pct);
55 return context.getString(R.string.fun_sin) + context.getString(R.string.lparen);
57 return context.getString(R.string.fun_cos) + context.getString(R.string.lparen)
    [all...]
  /system/tools/hidl/utils/
FQName.cpp 40 FQName::FQName(const std::string &s)
46 bool FQName::parse(const std::string& s, FQName* into) {
51 const std::string &package,
52 const std::string &version,
53 const std::string &name,
54 const std::string &valueName)
64 CHECK(parse(this->string(), &other)) << this->string();
65 CHECK((*this) == other) << this->string() << " " << other.string();
280 std::string FQName::string() const { function in class:android::FQName
    [all...]

Completed in 1531 milliseconds

<<151152153154155156157158159160>>