/system/extras/perfprofd/tests/ |
H A D | perfprofd_test.cc | 188 void addToConfig(const std::string &line) argument 190 config_text_ += line; 514 W: line 6: specified value 0 for 'collection_interval' outside permitted range [100 4294967295] (ignored) 515 W: line 7: malformed unsigned value (ignored) 516 W: line 8: specified value 2 for 'collection_interval' outside permitted range [100 4294967295] (ignored) 517 W: line 9: unknown option 'nonexistent_key' ignored 518 W: line 10: line malformed (no '=' found)
|
/system/extras/simpleperf/ |
H A D | event_type.cpp | 64 for (auto& line : android::base::Split(s, "\n")) { 65 std::vector<std::string> items = android::base::Split(line, " ");
|
H A D | cmd_report_test.cpp | 57 for (const auto& line : raw_lines) { 58 std::string s = android::base::Trim(line); 295 for (const auto& line : lines) { 296 if (!after_overhead && line.find("Overhead") != std::string::npos) { 301 if (sscanf(line.c_str(), "%*f%%%s%s", from, to) == 2) {
|
/system/netd/tests/ |
H A D | binder_test.cpp | 134 char *line = nullptr; local 137 while ((linelen = getline(&line, &bufsize, f)) >= 0) { 138 lines.push_back(std::string(line, linelen)); 139 free(line); 140 line = nullptr; 293 for (std::string line : rules) { 294 if (android::base::StartsWith(line, prefix.c_str()) 295 && android::base::EndsWith(line, suffix.c_str())) {
|
/system/extras/perfprofd/ |
H A D | perfprofdcore.cc | 119 // Parse command line args. Currently supported flags: 132 W_ALOGE("malformed command line: -c option requires argument)"); 139 W_ALOGE("malformed command line: -x option requires argument)"); 145 W_ALOGE("malformed command line: unknown option or arg %s)", argv[ac]); 340 std::string line; local 341 while (std::getline(ss,line,'\n')) { 342 if (line.find("Camera module API version:") != 346 if (line.find("No camera module available") != 348 line.find("No active camera clients yet") != 601 // record the final command line i [all...] |
/system/core/libnativeloader/ |
H A D | native_loader.cpp | 380 for (auto& line : lines) { 381 auto trimmed_line = base::Trim(line); 389 if (error_msg) *error_msg = "Malformed line: " + line;
|
/system/bt/osi/src/ |
H A D | config.cc | 437 char line[1024]; local 441 while (fgets(line, sizeof(line), fp)) { 442 char* line_ptr = trim(line); 451 LOG_DEBUG(LOG_TAG, "%s unterminated section name on line %d.", __func__, 460 LOG_DEBUG(LOG_TAG, "%s no key/value separator found on line %d.",
|
/system/core/toolbox/ |
H A D | getevent.c | 286 char line[2048]; local 300 while (fgets(line, sizeof(line), file)) { 302 fputs(line, stdout);
|
/system/media/camera/docs/ |
H A D | metadata_helpers.py | 303 # pad with spaces to make string len == size. add new line if too big 307 the string length == size. Adds a new line if the string was too big. 348 # If string is too long, insert a new line with 'col' spaces instead 352 If the string overflows the column, put the string on a new line and pad it. 364 This keeps track of the line written by Mako so far, so it will always 859 def line_filter(line): 860 # Indent each line 863 return (comment_prefix + line).rstrip() 865 # Process each line with above filter 935 def line_filter(line) [all...] |
H A D | html.mako | 38 .toc_deprecated { text-decoration:line-through; } 57 .entry_name_deprecated { text-decoration:line-through; } 111 # insert line breaks after every two \n\n
|
/system/core/logcat/tests/ |
H A D | logcat_test.cpp | 370 // Hard to predict 100% if first (overlap) or second line will match. 371 // -v nsec will in a substantial majority be the second line. 937 char* line = NULL; local 939 NULL; // this line is allowed to stutter, one-line overlap 943 while (getline(&line, &len, fp) != -1) { 945 first_line = line; 946 line = NULL; 951 last_line = line; 952 line [all...] |
/system/core/init/ |
H A D | service.h | 236 bool ParseSection(std::vector<std::string>&& args, const std::string& filename, int line, 238 bool ParseLineSection(std::vector<std::string>&& args, int line, std::string* err) override;
|
H A D | init.cpp | 671 // Log captured output, line by line, because LOG expects to be invoked for each line 673 std::string line; local 674 while (std::getline(in, line)) { 675 LOG(ERROR) << filename << ": " << line; local 705 static bool read_first_line(const char* file, std::string* line) { argument 706 line->clear(); 713 std::getline(in, *line); 1085 // If arguments are passed both on the command line an [all...] |
H A D | service.cpp | 475 int line = onrestart_.NumCommands() + 1; local 476 onrestart_.AddCommand(str_args, line, err); 1231 int line, std::string* err) { 1254 bool ServiceParser::ParseLineSection(std::vector<std::string>&& args, int line, std::string* err) { argument 1230 ParseSection(std::vector<std::string>&& args, const std::string& filename, int line, std::string* err) argument
|
/system/vold/ |
H A D | CommandListener.cpp | 128 char line[1024]; local 129 while (fgets(line, sizeof(line), fp)) { 130 line[strlen(line)-1] = '\0'; 131 cli->sendMsg(0, line, false);;
|
H A D | Disk.cpp | 316 for (const auto& line : output) { 317 char* cline = (char*) line.c_str();
|
/system/core/liblog/ |
H A D | logprint.c | 198 * returns 1 if this log line should be printed based on its priority 1106 /* We overflowed :-(, let's repaint the line w/o format dressings */ 1334 char* line = NULL; local 1336 while (getline(&line, &len, p) > 0) { 1344 char *cp, *e = line; 1368 } else if ((e = strstr(line, resume))) { 1370 } else if (((e = strstr(line, healthd))) && 1375 } else if ((e = strstr(line, suspended))) { 1761 * The line-end finding here must match the line [all...] |
/system/update_engine/common/ |
H A D | http_fetcher_unittest.cc | 137 string line; local 138 while (line.find('\n') == string::npos) { 144 line.append(buf.data(), read); 148 // Parse the port from the output line. 150 if (line.size() < listening_msg_prefix_len) { 156 line.substr(0, listening_msg_prefix_len)); 157 string port_str = line.substr(listening_msg_prefix_len);
|
H A D | utils.cc | 454 string line = header; local 460 line += buf; 462 LOG(INFO) << line;
|
/system/extras/simpleperf/scripts/ |
H A D | app_profiler.py | 192 for line in output: 193 strs = line.split()
|
/system/tools/aidl/ |
H A D | type_cpp.cpp | 401 int line) 402 : ValidatableType(kind, package, aidl_type, src_file_name, line), 583 "In file %s line %d parameter %s (%d):\n ", 391 Type(int kind, const std::string& package, const std::string& aidl_type, const vector<string>& headers, const string& cpp_type, const string& read_method, const string& write_method, Type* array_type, Type* nullable_type, const string& src_file_name, int line) argument
|
/system/core/libunwindstack/ |
H A D | DwarfCfa.cpp | 231 // Only show 10 raw bytes per line. 246 for (const auto line : expression_lines) { 247 log(indent + 1, "%s", line.c_str());
|
/system/core/libziparchive/ |
H A D | zip_archive_test.cc | 433 const uint8_t* line = &file_contents[0] + (3 * i); local 434 ASSERT_EQ('a', line[0]); 435 ASSERT_EQ('b', line[1]); 436 ASSERT_EQ('\n', line[2]);
|
/system/tools/hidl/ |
H A D | hidl-gen_y.yy | 55 ::android::Position(*(loc.begin.filename), loc.begin.line, loc.begin.column), 56 ::android::Position(*(loc.end.filename), loc.end.line, loc.end.column)
|
/system/tools/hidl/test/ |
H A D | hidl_test_client.cpp | 132 for (std::string line; std::getline(ifs, line);) { 133 if (line.size() >= lib.size() && line.substr(line.size() - lib.size()) == lib) {
|