/external/vogar/src/vogar/ |
SshTarget.java | 73 String line = new Command(log, "ssh", "-p", Integer.toString(port), host, "-C", "id") local 76 Matcher m = Pattern.compile("^uid=\\d+\\((\\S+)\\) gid=\\d+\\(\\S+\\).*").matcher(line);
|
/hardware/broadcom/libbt/src/ |
conf.c | 99 char line[CONF_MAX_LINE_LEN+1]; /* add 1 for \0 char */ local 105 /* read line by line */ 106 while (fgets(line, CONF_MAX_LINE_LEN+1, p_file) != NULL) 108 if (line[0] == CONF_COMMENT) 111 p_name = strtok(line, CONF_DELIMITERS);
|
/hardware/qcom/display/msm8084/libmemtrack/ |
kgsl.c | 50 char line[1024]; local 67 if (fgets(line, sizeof(line), fp)) { 68 if (strcmp(line, "/system/bin/surfaceflinger") == 0) 83 /* Go through each line of <pid>/mem file and for every entry of type "gpumem" 94 if (fgets(line, sizeof(line), fp) == NULL) { 102 ret = sscanf(line, "%*x %*lx %lu %*d %6s %6s %18s %*d\n",
|
/hardware/qcom/display/msm8226/libmemtrack/ |
kgsl.c | 50 char line[1024]; local 67 if (fgets(line, sizeof(line), fp)) { 68 if (strcmp(line, "/system/bin/surfaceflinger") == 0) 83 /* Go through each line of <pid>/mem file and for every entry of type "gpumem" 94 if (fgets(line, sizeof(line), fp) == NULL) { 102 ret = sscanf(line, "%*x %*x %lu %*d %6s %6s %*s %*d\n",
|
/hardware/qcom/display/msm8974/libmemtrack/ |
kgsl.c | 50 char line[1024]; local 66 if (fgets(line, sizeof(line), fp)) { 67 if (strcmp(line, "/system/bin/surfaceflinger") == 0) 82 /* Go through each line of <pid>/mem file and for every entry of type "gpumem" 93 if (fgets(line, sizeof(line), fp) == NULL) { 101 ret = sscanf(line, "%*x %*lx %lu %*d %6s %6s %18s %*d\n",
|
/hardware/qcom/display/msm8994/libmemtrack/ |
kgsl.c | 50 char line[1024]; local 67 if (fgets(line, sizeof(line), fp)) { 68 if (strcmp(line, "/system/bin/surfaceflinger") == 0) 83 /* Go through each line of <pid>/mem file and for every entry of type "gpumem" 94 if (fgets(line, sizeof(line), fp) == NULL) { 102 ret = sscanf(line, "%*x %*x %lu %*d %6s %6s %18s %*d\n",
|
/libcore/luni/src/test/java/libcore/java/math/ |
CSVTest.java | 43 String line = ""; local 49 while ((line = br.readLine()) != null) { 50 if (line.charAt(0) != '#') { 51 String[] testCase = line.split(",");
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/share/gdb/python/gdb/ |
FrameDecorator.py | 179 def line(self): member in class:FrameDecorator 180 """ Return line number information associated with the frame's 181 pc. If symbol table/line information does not exist, or if 184 if hasattr(self._base, "line"): 185 return self._base.line() 193 return sal.line
|
/system/core/libbacktrace/ |
GetPss.cpp | 65 char line[4096]; local 68 while (fgets(line, sizeof(line), maps)) { 70 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " ", &start, &end) != 2) {
|
map_info.c | 35 static backtrace_map_info_t* parse_vmmap_line(const char* line) { 40 if (sscanf(line, "%*21c %lx-%lx [%*13c] %3c/%*3c SM=%*3c %n", 45 const char* name = line + name_pos; 76 char line[1024]; local 78 while (fgets(line, sizeof(line), fp) != NULL) { 79 backtrace_map_info_t* mi = parse_vmmap_line(line); 95 static backtrace_map_info_t* parse_maps_line(const char* line) 101 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end, 106 while (isspace(line[name_pos])) 134 char line[1024]; local [all...] |
/system/core/logd/ |
LogCommand.cpp | 31 // /proc/PID/status and look for the "Group:" line. 85 char line[1024]; local 86 while (fgets(line, sizeof(line), file)) { 91 if (strncmp(groups_string, line, strlen(groups_string)) == 0) { 92 ret = groupIsLog(line + strlen(groups_string)); 96 } else if (strncmp(uid_string, line, strlen(uid_string)) == 0) { 99 sscanf(line + strlen(uid_string), "%u\t%u\t%u\t%u", 108 } else if (strncmp(gid_string, line, strlen(gid_string)) == 0) { 111 sscanf(line + strlen(gid_string), "%u\t%u\t%u\t%u" [all...] |
/system/extras/ext4_utils/ |
canned_fs_config.c | 50 char line[PATH_MAX + 200]; local 51 while (fgets(line, sizeof(line), f)) { 57 p->path = strdup(strtok(line, " "));
|
/art/compiler/ |
cfi_test.h | 66 for (const std::string& line : lines) { 67 fprintf(f, "// %s\n", line.c_str()); 83 std::string line; local 84 while (std::getline(*stream, line)) { 85 line = line.substr(0, FindEndOf(line, ": ")) + 86 line.substr(FindEndOf(line, "\t")); 88 while ((pos = line.find(" ")) != std::string::npos) [all...] |
/art/runtime/arch/arm64/ |
instruction_set_features_arm64.cc | 79 std::string line; local 80 std::getline(in, line); 82 LOG(INFO) << "cpuinfo line: " << line; 83 if (line.find("processor") != std::string::npos && line.find(": 1") != std::string::npos) {
|
/art/runtime/arch/mips/ |
instruction_set_features_mips.cc | 136 std::string line; local 137 std::getline(in, line); 139 LOG(INFO) << "cpuinfo line: " << line; 140 if (line.find("processor") != std::string::npos && line.find(": 1") != std::string::npos) {
|
/art/runtime/arch/x86/ |
instruction_set_features_x86.cc | 148 std::string line; local 149 std::getline(in, line); 151 LOG(INFO) << "cpuinfo line: " << line; 152 if (line.find("flags") != std::string::npos) { 154 if (line.find("ssse3") != std::string::npos) { 157 if (line.find("sse4_1") != std::string::npos) { 160 if (line.find("sse4_2") != std::string::npos) { 163 if (line.find("avx") != std::string::npos) { 166 if (line.find("avx2") != std::string::npos) [all...] |
/bionic/libc/bionic/ |
pthread_attr.cpp | 139 char line[BUFSIZ]; local 140 while (fgets(line, sizeof(line), fp) != NULL) { 141 if (ends_with(line, " [stack]\n")) { 143 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) { 151 __libc_fatal("No [stack] line found in \"%s\"!", path);
|
/bootable/recovery/tools/ota/ |
add-property-tag.c | 30 // Return nonzero if the tag should be added to this line. 31 int should_tag(const char *line, const char *propname) { 32 const char *prop = strstr(line, propname); 37 for (ptr = line; ptr < prop && isspace(*ptr); ++ptr) ; 38 if (ptr != prop) return 0; // Must be at the beginning of the line 44 // Remove existing tags from the line, return the following number (if any) 45 int remove_tag(char *line, const char *tag) { 46 char *pos = strstr(line, tag); 55 // Write line to output with the tag added, adding a number (if >0) 56 void write_tagged(FILE *out, const char *line, const char *tag, int number) 109 char line[4096]; local [all...] |