Searched refs:line1 (Results 1 – 10 of 10) sorted by relevance
/device/google/marlin/dataservices/datatop/src/ |
D | datatop_str.c | 92 int dt_parse_proc_dictionary(char *line1, int len1, char *line2, in dt_parse_proc_dictionary() argument 100 if (line1 == 0 || line2 == 0 || dict == 0) in dt_parse_proc_dictionary() 105 if (line1[i] == ' ') { in dt_parse_proc_dictionary() 106 dict->key[k] = &line1[i+1]; in dt_parse_proc_dictionary() 107 line1[i] = 0; in dt_parse_proc_dictionary() 140 void dt_parse_for_prefix(char *line1, int len1, struct dt_procdict *dict) in dt_parse_for_prefix() argument 147 if (line1 == 0 || dict == 0) in dt_parse_for_prefix() 152 if (line1[i] == ' ') { in dt_parse_for_prefix() 153 dict->key[k] = &line1[i+1]; in dt_parse_for_prefix() 154 line1[i] = 0; in dt_parse_for_prefix() [all …]
|
D | datatop_meminfo_file_poll.c | 72 int dt_meminfo_parse(char *line1, int len1, in dt_meminfo_parse() argument 79 if (line1 == 0 || dict == 0) in dt_meminfo_parse() 83 dict->key[k] = &line1[0]; in dt_meminfo_parse() 85 if (line1[i] == ' ' || line1[i] == ' ') { in dt_meminfo_parse() 86 line1[i] = 0; in dt_meminfo_parse() 88 while (line1[n] == ' ' || line1[n] == ' ') in dt_meminfo_parse() 90 dict->val[k] = &line1[n]; in dt_meminfo_parse() 91 while (line1[n] != ' ') in dt_meminfo_parse() 93 line1[n] = 0; in dt_meminfo_parse()
|
D | datatop_dev_poll.c | 70 static void dt_dev_parse(char *line1, int len1, in dt_dev_parse() argument 76 while (line1[i] == ' ' || line1[i] == ' ') in dt_dev_parse() 78 dict->key[index] = &line1[i]; in dt_dev_parse() 80 if (line1[i] == ':') { in dt_dev_parse() 81 line1[i+1] = 0; in dt_dev_parse() 89 if (line1[j] != ' ' && line1[j] != ' ') { in dt_dev_parse() 90 dict->val[k] = &line1[j]; in dt_dev_parse() 92 while (line1[n] != ' ' && line1[n] != ' ') in dt_dev_parse() 95 line1[n] = 0; in dt_dev_parse()
|
D | datatop_str.h | 59 int dt_parse_proc_dictionary(char *line1, int len1, char *line2, int len2, 64 int dt_parse_proc_same_line_key_and_val(char *line1, int len1, int l, 67 void dt_parse_for_prefix(char *line1, int len1, struct dt_procdict *dict); 69 int dt_single_line_parse(char *line1, int len1, struct dt_procdict *dict);
|
D | datatop_stat_poll.c | 71 static int dt_stat_parse(char *line1, int len1, in dt_stat_parse() argument 78 if (line1 == 0 || dict == 0) in dt_stat_parse() 81 dict->key[n_index] = &line1[0]; in dt_stat_parse() 83 if (line1[i] == ' ') { in dt_stat_parse() 84 line1[i] = 0; in dt_stat_parse() 92 if (line1[i] != ' ') { in dt_stat_parse() 93 dict->val[k] = &line1[i]; in dt_stat_parse() 95 if (line1[j] == ' ') { in dt_stat_parse() 96 line1[j] = 0; in dt_stat_parse()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | findnocoding.py | 57 line1 = infile.readline() 60 if get_declaration(line1) or get_declaration(line2): 69 if has_correct_encoding(line1+line2+rest, "ascii"):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_gzip.py | 149 line1 = f.readline() 150 if not line1: break 153 if len(line1)>10: 156 amount = len(line1) 158 self.assertEqual(line1[:amount], line2)
|
/device/generic/goldfish/ril/ |
D | atchannel.c | 443 char *line1; in readerLoop() local 449 line1 = strdup(line); in readerLoop() 453 free(line1); in readerLoop() 458 s_unsolHandler (line1, line2); in readerLoop() 460 free(line1); in readerLoop()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
D | refactor.py | 654 for type, value, (line0, col0), (line1, col1), line_text in tokens: 656 line1 += lineno - 1 662 yield type, value, (line0, col0), (line1, col1), line_text
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | difflib.py | 1797 line1 = text[:i] 1804 line1 = line1 + '\1' 1808 data_list.append((line_num,line1))
|