/system/iot/attestation/at-factory-tool/ |
H A D | fastbootsubp.py | 227 for line in lines: 228 if line.startswith(var + ': '): 229 value = line.replace(var + ': ', '').replace('\r', '')
|
/system/core/cpio/ |
H A D | mkbootfs.c | 46 /* Each line in the canned file should be a path plus three ints (uid, 294 char line[CANNED_LINE_LENGTH]; local 298 while (fgets(line, CANNED_LINE_LENGTH, f) != NULL) { 299 if (!line[0]) break; 309 if (isspace(line[0])) { 311 cc->uid = atoi(strtok(line, " \n")); 313 cc->name = strdup(strtok(line, " \n"));
|
/system/core/init/ |
H A D | selinux.cpp | 155 // Log captured output, line by line, because LOG expects to be invoked for each line 157 std::string line; local 158 while (std::getline(in, line)) { 159 LOG(ERROR) << filename << ": " << line; local 189 bool ReadFirstLine(const char* file, std::string* line) { argument 190 line->clear(); 197 std::getline(in, *line);
|
H A D | parser.h | 31 // with the filename and line number of where the error occurred. 37 // This function is called on each subsequent line until the next section is encountered. 55 const std::string& filename, int line) = 0; 63 // LineCallback is the type for callbacks that can parse a line starting with a given prefix.
|
H A D | tokenizer.cpp | 99 /* \ <cr> <lf> -> line continuation */ 105 /* \ <lf> -> line continuation */ 106 state->line++;
|
/system/extras/latencytop/ |
H A D | latencytop.c | 317 char line[MAX_LINE]; local 323 if (!fgets(line, MAX_LINE, f)) { 328 if (strcmp(line, EXPECTED_VERSION) != 0) { 330 fprintf(stderr, "But got version: %s", line); 334 while (fgets(line, MAX_LINE, f)) { 335 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason);
|
/system/extras/power_profile/camera_avg/ |
H A D | gradlew.bat | 49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
|
/system/extras/power_profile/camera_flashlight/ |
H A D | gradlew.bat | 49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
|
/system/extras/power_profile/gps_on/ |
H A D | gradlew.bat | 49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/ |
H A D | gradlew.bat | 49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/ |
H A D | gradlew.bat | 49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/ |
H A D | gradlew.bat | 49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
|
/system/core/debuggerd/client/ |
H A D | debuggerd_client_test.cpp | 98 for (const std::string& line : lines) { 99 if (line == expected_end) {
|
/system/sepolicy/tools/ |
H A D | post_process_mac_perms | 51 # turn multiline base64 to single line base16 88 for line in fileinput.input(args.policy, inplace=True): 89 sys.stdout.write(line.replace('</policy>', mac_perms_string))
|
/system/extras/ioshark/ |
H A D | ioshark_bench_subr.c | 429 char line[BUFSIZE], dev_name[BUFSIZE]; local 442 if (fgets(line, sizeof(line), fp) == NULL) { 448 sscanf(line, "%lu.%lu", &up_sec, &up_cent); 455 while (fgets(line, sizeof(line), fp)) { 456 sscanf(line, 487 char line[BUFSIZE], cpu[BUFSIZE]; local 491 if (fgets(line, sizeof(line), f [all...] |
/system/extras/simpleperf/scripts/ |
H A D | debug_unwind_reporter.py | 167 for line in self.sample_record: 168 print(' %s' % line) 303 log_fatal('unexpected dump output near line %d' % i) 312 log_fatal('unexpected dump output near line %d' % i) 324 line = lines[i].strip() 325 items = line.split() 335 log_fatal('unexpected dump output near line %d' % i) 337 m = re.search(r'ip\s+0x(\w+),\s+sp\s+0x(\w+)$', line) 345 if re.search(r'\)\[\+\w+\]\)$', line): 346 break_pos = line [all...] |
/system/tools/hidl/docs/src/lexer/ |
H A D | ILexer.kt | 37 str.lineSequence().forEach { line -> 38 var newLine = line 85 newStr = newStr.replace(Regex("\\s+\\.\\s*$"), ".") //end-of-line sentence periods
|
/system/update_engine/payload_consumer/ |
H A D | postinstall_runner_action.h | 74 // Updates the action progress according to the |line| passed from the 79 bool ProcessProgressLine(const std::string& line); 145 // A buffer of a partial read line from the progress file descriptor.
|
/system/chre/host/msm/daemon/ |
H A D | chre_daemon.cc | 128 char line[32]; local 141 offset += snprintf(&line[offset], sizeof(line) - offset, "%02x ", 147 LOGV(" %s\t%s", line, line_chars); 151 offset += snprintf(&line[offset], sizeof(line) - offset, " "); 163 LOGV(" %s%s%s", line, tabs, line_chars); 717 // TODO: take 2nd argument as command-line parameter
|
/system/extras/perfprofd/scripts/ |
H A D | perf_proto_stack.py | 165 # Use "-W" to have single-line format. 171 # Using counting loop for access to next line. 173 line = lines[i].strip() 175 if line == "": 178 if line.startswith("LOAD"): 179 # Look at the current line to distinguish 32-bit from 64-bit 180 line_split = line.split() 182 if " R E " in line: 189 logging.warn('Could not parse readelf line %s', line) [all...] |
/system/tools/aidl/ |
H A D | aidl_language.h | 81 AidlType(const std::string& name, unsigned line, 116 std::string name, unsigned line); 117 AidlArgument(AidlType* type, std::string name, unsigned line); 201 unsigned line, const std::string& comments); 204 unsigned line, const std::string& comments, int id); 294 AidlParcelable(AidlQualifiedName* name, unsigned line, 319 AidlInterface(const std::string& name, unsigned line, 375 unsigned line); 402 void ReportError(const std::string& err, unsigned line); 410 void AddImport(AidlQualifiedName* name, unsigned line); [all...] |
/system/update_engine/payload_generator/ |
H A D | extent_ranges_unittest.cc | 37 int line) { 42 EXPECT_EQ(blocks, ranges.blocks()) << "line: " << line; 47 EXPECT_FALSE(it == result.end()) << "line: " << line; 48 EXPECT_EQ(expected[i], it->start_block()) << "line: " << line; 49 EXPECT_EQ(expected[i + 1], it->num_blocks()) << "line: " << line; 34 ExpectRangeEq(const ExtentRanges& ranges, const uint64_t* expected, size_t sz, int line) argument
|
/system/vold/bench/ |
H A D | benchgen.py | 115 for line in f: 116 line = re_event.match(line) variable 117 if not line: continue 119 time, call, args, ret = line.groups()
|
/system/extras/simpleperf/ |
H A D | environment.cpp | 85 char* line; local 86 if ((line = reader.ReadLine()) != nullptr) { 87 result = GetCpusFromString(line); 100 // Parse line like: 0,1-3, 5, 7-8 130 char* line; local 131 while ((line = reader.ReadLine()) != nullptr) { 132 // Parse line like: nf_defrag_ipv6 34768 1 nf_conntrack_ipv6, Live 0xffffffffa0fe5000 136 if (sscanf(line, "%s%" PRIu64 "%*u%*s%*s 0x%" PRIx64, name, &len, &addr) == 3) { 269 char* line; local 270 while ((line [all...] |
/system/bt/tools/mcap_tool/ |
H A D | mcap_tool.cc | 588 char line[128]; local 592 pos = snprintf(line, sizeof(line), "%s", (char*)console_cmd_list[i].name); 593 printf("%s %s\n", (char*)line, (char*)console_cmd_list[i].help); 941 char line[2048]; local 943 memset(line, '\0', sizeof(line)); 947 fgets(line, sizeof(line), stdin); 948 if (line[ [all...] |