Home
last modified time | relevance | path

Searched refs:str (Results 1 – 13 of 13) sorted by relevance

/bootable/recovery/edify/
Dexpr.h64 Value(ValueType type, const std::string& str) : in Value()
66 data(str) {} in Value()
153 Value* StringValue(const char* str);
155 Value* StringValue(const std::string& str);
157 int parse_string(const char* str, std::unique_ptr<Expr>* root, int* error_count);
Dexpr.cpp65 Value* StringValue(const char* str) { in StringValue() argument
66 if (str == nullptr) { in StringValue()
69 return new Value(VAL_STRING, str); in StringValue()
72 Value* StringValue(const std::string& str) { in StringValue() argument
73 return StringValue(str.c_str()); in StringValue()
82 std::string str; in ConcatFn() local
83 if (!Evaluate(state, argv[i], &str)) { in ConcatFn()
86 result += str; in ConcatFn()
Dparser.yy60 char* str;
66 %token <str> STRING BAD
141 int parse_string(const char* str, std::unique_ptr<Expr>* root, int* error_count) {
142 yy_switch_to_buffer(yy_scan_string(str));
Dlexer.ll56 yylval.str = strdup(string_buffer.c_str());
95 yylval.str = strdup(yytext);
/bootable/recovery/
Dinstall.cpp69 static std::string parse_build_number(const std::string& str) { in parse_build_number() argument
70 size_t pos = str.find('='); in parse_build_number()
72 return android::base::Trim(str.substr(pos+1)); in parse_build_number()
75 LOG(ERROR) << "Failed to parse build number in " << str; in parse_build_number()
111 std::string str = android::base::Trim(line); in read_source_target_build() local
112 if (android::base::StartsWith(str, "pre-build-incremental")) { in read_source_target_build()
113 std::string source_build = parse_build_number(str); in read_source_target_build()
117 } else if (android::base::StartsWith(str, "post-build-incremental")) { in read_source_target_build()
118 std::string target_build = parse_build_number(str); in read_source_target_build()
Dwear_ui.cpp379 std::string str; in PrintV() local
380 android::base::StringAppendV(&str, fmt, ap); in PrintV()
383 fputs(str.c_str(), stdout); in PrintV()
388 for (const char* ptr = str.c_str(); *ptr != '\0'; ++ptr) { in PrintV()
Dinterlace-frames.py60 meta.add_text("Frames", str(N))
Dscreen_ui.cpp632 std::string str; in PrintV() local
633 android::base::StringAppendV(&str, fmt, ap); in PrintV()
636 fputs(str.c_str(), stdout); in PrintV()
641 for (const char* ptr = str.c_str(); *ptr != '\0'; ++ptr) { in PrintV()
Drecovery.cpp1327 for (const auto& str : bootreason_blacklist) { in bootreason_in_blacklist() local
1328 if (strcasecmp(str.c_str(), bootreason.c_str()) == 0) { in bootreason_in_blacklist()
/bootable/recovery/applypatch/include/applypatch/
Dapplypatch.h51 int ParseSha1(const char* str, uint8_t* digest);
/bootable/recovery/tests/manual/
Drecovery_test.cpp114 for (const std::string& str : image_dir) { in add_files() local
115 std::string dir_path = kResourceTestDir + str; in add_files()
/bootable/recovery/applypatch/
Dapplypatch.cpp361 int ParseSha1(const char* str, uint8_t* digest) { in ParseSha1() argument
362 const char* ps = str; in ParseSha1()
/bootable/recovery/updater/
Dinstall.cpp572 std::string str = android::base::Trim(line.substr(0, equal_pos)); in FileGetPropFn() local
575 if (key != str) continue; in FileGetPropFn()