Searched refs:str (Results 1 – 13 of 13) sorted by relevance
/bootable/recovery/edify/ |
D | expr.h | 64 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);
|
D | expr.cpp | 65 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()
|
D | parser.yy | 60 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));
|
D | lexer.ll | 56 yylval.str = strdup(string_buffer.c_str()); 95 yylval.str = strdup(yytext);
|
/bootable/recovery/ |
D | install.cpp | 69 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()
|
D | wear_ui.cpp | 379 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()
|
D | interlace-frames.py | 60 meta.add_text("Frames", str(N))
|
D | screen_ui.cpp | 632 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()
|
D | recovery.cpp | 1327 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/ |
D | applypatch.h | 51 int ParseSha1(const char* str, uint8_t* digest);
|
/bootable/recovery/tests/manual/ |
D | recovery_test.cpp | 114 for (const std::string& str : image_dir) { in add_files() local 115 std::string dir_path = kResourceTestDir + str; in add_files()
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 361 int ParseSha1(const char* str, uint8_t* digest) { in ParseSha1() argument 362 const char* ps = str; in ParseSha1()
|
/bootable/recovery/updater/ |
D | install.cpp | 572 std::string str = android::base::Trim(line.substr(0, equal_pos)); in FileGetPropFn() local 575 if (key != str) continue; in FileGetPropFn()
|