/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
D | perf_config.c | 32 static int assign_string_if_matches(char const *line, char const *argument, 35 static int assign_long_if_matches(char const *line, char const *argument, 37 static void read_line(PERF_Config *sConfig, char const *line, char const *tag); 38 static char const *get_value_if_matches(char const *line, char const *argument); 116 void read_line(PERF_Config *cfg, char const *line, char const *tag) in read_line() argument 121 while (*line && isspace(*line)) line++; in read_line() 124 if (!*line || *line == '#') return; in read_line() 129 for (ptr = line; *ptr && !isspace(*ptr) && *ptr != '.' && *ptr != '='; ptr++); in read_line() 134 if (!tag || strncmp(line, tag, ptr - line)) return; in read_line() 137 line = ptr + 1; in read_line() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/ |
D | cpplint.py | 1034 def IsCppString(line): argument 1047 line = line.replace(r'\\', 'XX') # after this, \\" does not match to \" 1048 return ((line.count('"') - line.count(r'\"') - line.count("'\"'")) & 1) == 1 1073 for line in raw_lines: 1076 end = line.find(delimiter) 1081 leading_space = Match(r'^(\s*)\S', line) 1082 line = leading_space.group(1) + '""' + line[end + len(delimiter):] 1086 line = '' 1091 matched = Match(r'^(.*)\b(?:R|u8R|uR|UR|LR)"([^\s\\()]*)\((.*)$', line) 1098 line = (matched.group(1) + '""' + [all …]
|
D | diff.py | 27 def Append(self, line): argument 29 if line[0] != " ": 31 self.lines.append(line[1:]) 50 def Append(self, line): argument 52 if line[0] == "-": 53 self.left.Append(line) 54 elif line[0] == "+": 55 self.right.Append(line) 56 elif line[0] == " ": 57 self.left.Append(line) [all …]
|
D | wrap-commit-msg.py | 46 line = fileobj.readline() 47 if not line: 50 if line.lstrip() == line: 51 text += line 55 output += line
|
/hardware/ril/reference-ril/ |
D | atchannel.c | 119 static void addIntermediate(const char *line) in addIntermediate() argument 125 p_new->line = strdup(line); in addIntermediate() 148 static int isFinalResponseError(const char *line) in isFinalResponseError() argument 153 if (strStartsWith(line, s_finalResponsesError[i])) { in isFinalResponseError() 170 static int isFinalResponseSuccess(const char *line) in isFinalResponseSuccess() argument 175 if (strStartsWith(line, s_finalResponsesSuccess[i])) { in isFinalResponseSuccess() 188 static int isFinalResponse(const char *line) in isFinalResponse() argument 190 return isFinalResponseSuccess(line) || isFinalResponseError(line); in isFinalResponse() 203 static int isSMSUnsolicited(const char *line) in isSMSUnsolicited() argument 208 if (strStartsWith(line, s_smsUnsoliciteds[i])) { in isSMSUnsolicited() [all …]
|
D | reference-ril.c | 273 static int callFromCLCCLine(char *line, RIL_Call *p_call) in callFromCLCCLine() argument 282 err = at_tok_start(&line); in callFromCLCCLine() 285 err = at_tok_nextint(&line, &(p_call->index)); in callFromCLCCLine() 288 err = at_tok_nextbool(&line, &(p_call->isMT)); in callFromCLCCLine() 291 err = at_tok_nextint(&line, &state); in callFromCLCCLine() 297 err = at_tok_nextint(&line, &mode); in callFromCLCCLine() 302 err = at_tok_nextbool(&line, &(p_call->isMpty)); in callFromCLCCLine() 305 if (at_tok_hasmore(&line)) { in callFromCLCCLine() 306 err = at_tok_nextstr(&line, &(p_call->number)); in callFromCLCCLine() 319 err = at_tok_nextint(&line, &p_call->toa); in callFromCLCCLine() [all …]
|
D | misc.c | 19 int strStartsWith(const char *line, const char *prefix) in strStartsWith() argument 21 for ( ; *line != '\0' && *prefix != '\0' ; line++, prefix++) { in strStartsWith() 22 if (*line != *prefix) { in strStartsWith()
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 103 char line[4096], d; in parsing_proc_input() local 118 memset(line, 0, 100); in parsing_proc_input() 122 line[0] = 0; in parsing_proc_input() 125 sprintf(&line[i], "%c", d); in parsing_proc_input() 128 if(line[0] == 'N'){ in parsing_proc_input() 130 while(line[i] != '"'){ in parsing_proc_input() 138 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input() 145 if(!memcmp(&line[i], name, strlen(name))){ in parsing_proc_input() 152 if(line[0] == 'S'){ in parsing_proc_input() 155 while(line[i] != '=') i++; in parsing_proc_input() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 114 char line[4096], d; in parsing_proc_input() local 129 memset(line, 0, 100); in parsing_proc_input() 133 line[0] = 0; in parsing_proc_input() 136 sprintf(&line[i], "%c", d); in parsing_proc_input() 139 if(line[0] == 'N'){ in parsing_proc_input() 141 while(line[i] != '"'){ in parsing_proc_input() 149 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input() 156 if(!memcmp(&line[i], name, strlen(name))){ in parsing_proc_input() 163 if(line[0] == 'S'){ in parsing_proc_input() 166 while(line[i] != '=') i++; in parsing_proc_input() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 121 char line[4096], d; in parsing_proc_input() local 136 memset(line, 0, 100); in parsing_proc_input() 140 line[0] = 0; in parsing_proc_input() 143 sprintf(&line[i], "%c", d); in parsing_proc_input() 146 if(line[0] == 'N'){ in parsing_proc_input() 148 while(line[i] != '"'){ in parsing_proc_input() 156 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input() 163 if(!memcmp(&line[i], name, strlen(name))){ in parsing_proc_input() 170 if(line[0] == 'S'){ in parsing_proc_input() 173 while(line[i] != '=') i++; in parsing_proc_input() [all …]
|
/hardware/intel/img/libdrm/libdrm/radeon/ |
D | radeon_bo.h | 89 int line) in _radeon_bo_debug() argument 92 op, bo, bo->handle, bo->size, bo->cref, file, func, line); in _radeon_bo_debug() 103 int line) in _radeon_bo_open() argument 111 radeon_track_add_event(bo->track, file, func, "open", line); in _radeon_bo_open() 120 int line) in _radeon_bo_ref() argument 124 radeon_track_add_event(bo->track, file, func, "ref", line); in _radeon_bo_ref() 132 int line) in _radeon_bo_unref() argument 136 radeon_track_add_event(bo->track, file, func, "unref", line); in _radeon_bo_unref() 149 int line) in _radeon_bo_map() argument 157 int line) in _radeon_bo_unmap() argument [all …]
|
/hardware/samsung_slsi/exynos5/libmemtrack/ |
D | mali.c | 49 char line[1024]; in mali_memtrack_get_memory() local 67 if (fgets(line, sizeof(line), fp) == NULL) { in mali_memtrack_get_memory() 77 if (line[0] == ' ' && line[1] == ' ') { in mali_memtrack_get_memory() 82 int ret = sscanf(line, " %*s %u %*u %u %u\n", in mali_memtrack_get_memory()
|
/hardware/qcom/display/msm8084/libmemtrack/ |
D | kgsl.c | 50 char line[1024]; in kgsl_memtrack_get_memory() local 67 if (fgets(line, sizeof(line), fp)) { in kgsl_memtrack_get_memory() 68 if (strcmp(line, "/system/bin/surfaceflinger") == 0) in kgsl_memtrack_get_memory() 94 if (fgets(line, sizeof(line), fp) == NULL) { in kgsl_memtrack_get_memory() 102 ret = sscanf(line, "%*x %*lx %lu %*d %6s %6s %18s %*d\n", in kgsl_memtrack_get_memory()
|
/hardware/qcom/display/msm8974/libmemtrack/ |
D | kgsl.c | 50 char line[1024]; in kgsl_memtrack_get_memory() local 66 if (fgets(line, sizeof(line), fp)) { in kgsl_memtrack_get_memory() 67 if (strcmp(line, "/system/bin/surfaceflinger") == 0) in kgsl_memtrack_get_memory() 93 if (fgets(line, sizeof(line), fp) == NULL) { in kgsl_memtrack_get_memory() 101 ret = sscanf(line, "%*x %*lx %lu %*d %6s %6s %18s %*d\n", in kgsl_memtrack_get_memory()
|
/hardware/qcom/display/msm8960/libmemtrack/ |
D | kgsl.c | 50 char line[1024]; in kgsl_memtrack_get_memory() local 66 if (fgets(line, sizeof(line), fp)) { in kgsl_memtrack_get_memory() 67 if (strcmp(line, "/system/bin/surfaceflinger") == 0) in kgsl_memtrack_get_memory() 93 if (fgets(line, sizeof(line), fp) == NULL) { in kgsl_memtrack_get_memory() 101 ret = sscanf(line, "%*x %*lx %lu %*d %6s %6s %18s %*d\n", in kgsl_memtrack_get_memory()
|
/hardware/qcom/display/msm8226/libmemtrack/ |
D | kgsl.c | 50 char line[1024]; in kgsl_memtrack_get_memory() local 67 if (fgets(line, sizeof(line), fp)) { in kgsl_memtrack_get_memory() 68 if (strcmp(line, "/system/bin/surfaceflinger") == 0) in kgsl_memtrack_get_memory() 94 if (fgets(line, sizeof(line), fp) == NULL) { in kgsl_memtrack_get_memory() 102 ret = sscanf(line, "%*x %*x %lu %*d %6s %6s %*s %*d\n", in kgsl_memtrack_get_memory()
|
/hardware/ti/omap4xxx/domx/omx_core/inc/ |
D | OMX_DebugMem.h | 40 const char* file, const char* func, int line); 42 const char* file, const char* func, int line); 44 const char* file, const char* func, int line); 46 const char* file, const char* func, int line); 48 const char* file, const char* func, int line); 50 void OMX_DebugMem_dump(const char *file, const char *func, int line);
|
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
D | OMX_DebugMem.h | 16 const char* file, const char* func, int line); 18 const char* file, const char* func, int line); 20 const char* file, const char* func, int line); 22 const char* file, const char* func, int line); 24 const char* file, const char* func, int line); 26 void OMX_DebugMem_dump(const char *file, const char *func, int line);
|
/hardware/ti/omap4-aah/domx/omx_core/inc/ |
D | OMX_DebugMem.h | 40 const char* file, const char* func, int line); 42 const char* file, const char* func, int line); 44 const char* file, const char* func, int line); 46 const char* file, const char* func, int line); 48 const char* file, const char* func, int line); 50 void OMX_DebugMem_dump(const char *file, const char *func, int line);
|
/hardware/ti/omap4-aah/ |
D | mapinfo.c | 24 static mapinfo *parse_maps_line(char *line) in parse_maps_line() argument 27 int len = strlen(line); in parse_maps_line() 30 line[--len] = 0; in parse_maps_line() 33 if(line[20] != 'x') return 0; in parse_maps_line() 38 mi->start = strtoul(line, 0, 16); in parse_maps_line() 39 mi->end = strtoul(line + 9, 0, 16); in parse_maps_line() 44 strcpy(mi->name, line + 49); in parse_maps_line()
|
/hardware/ti/omap4xxx/ |
D | mapinfo.c | 24 static mapinfo *parse_maps_line(char *line) in parse_maps_line() argument 27 int len = strlen(line); in parse_maps_line() 30 line[--len] = 0; in parse_maps_line() 33 if(line[20] != 'x') return 0; in parse_maps_line() 38 mi->start = strtoul(line, 0, 16); in parse_maps_line() 39 mi->end = strtoul(line + 9, 0, 16); in parse_maps_line() 44 strcpy(mi->name, line + 49); in parse_maps_line()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/ |
D | vpx_mem.h | 123 extern void vpx_memory_tracker_check_integrity(char *file, unsigned int line); 139 void *xvpx_memalign(size_t align, size_t size, char *file, int line); 140 void *xvpx_malloc(size_t size, char *file, int line); 141 void *xvpx_calloc(size_t num, size_t size, char *file, int line); 142 void *xvpx_realloc(void *memblk, size_t size, char *file, int line); 143 void xvpx_free(void *memblk, char *file, int line); 144 void *xvpx_mem_alloc(int id, size_t size, size_t align, char *file, int line); 145 void xvpx_mem_free(int id, void *mem, size_t size, char *file, int line);
|
D | vpx_mem_tracker.c | 81 static void memory_tracker_check_integrity(char *file, unsigned int line); 83 char *file, unsigned int line, 255 char *file, unsigned int line, in vpx_memory_tracker_add() argument 257 memory_tracker_add(addr, size, file, line, padded); in vpx_memory_tracker_add() 311 void vpx_memory_tracker_check_integrity(char *file, unsigned int line) { in vpx_memory_tracker_check_integrity() argument 313 memory_tracker_check_integrity(file, line); in vpx_memory_tracker_check_integrity() 456 p->file, p->line); in memory_tracker_dump() 461 p->file, p->line); in memory_tracker_dump() 478 static void memory_tracker_check_integrity(char *file, unsigned int line) { in memory_tracker_check_integrity() argument 511 index, i, file, line, p->addr, p->size, p->file, in memory_tracker_check_integrity() [all …]
|
D | vpx_mem.c | 204 void *xvpx_memalign(size_t align, size_t size, char *file, int line) { in xvpx_memalign() argument 255 vpx_memory_tracker_add((size_t)x, (unsigned int)size, file, line, 1); in xvpx_memalign() 260 void *xvpx_malloc(size_t size, char *file, int line) { in xvpx_malloc() argument 261 return xvpx_memalign(DEFAULT_ALIGNMENT, size, file, line); in xvpx_malloc() 264 void *xvpx_calloc(size_t num, size_t size, char *file, int line) { in xvpx_calloc() argument 265 void *x = xvpx_memalign(DEFAULT_ALIGNMENT, num * size, file, line); in xvpx_calloc() 273 void *xvpx_realloc(void *memblk, size_t size, char *file, int line) { in xvpx_realloc() argument 302 orig_line = p->line; in xvpx_realloc() 306 vpx_memory_tracker_check_integrity(file, line); in xvpx_realloc() 344 vpx_memory_tracker_add((size_t)x, (unsigned int)size, file, line, 1); in xvpx_realloc() [all …]
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_target.cpp | 62 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument 67 * line = '\0'; in read_a_line() 74 fgets(line, line_size, fp); in read_a_line() 75 len = strlen(line); in read_a_line() 77 line[len] = '\0'; in read_a_line() 78 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
|