Searched refs:line (Results 1 - 25 of 125) sorted by relevance

12345

/hardware/ril/reference-ril/
H A Dmisc.c18 /** returns 1 if line starts with prefix, 0 if it does not */
19 int strStartsWith(const char *line, const char *prefix) argument
21 for ( ; *line != '\0' && *prefix != '\0' ; line++, prefix++) {
22 if (*line != *prefix) {
H A Dmisc.h18 /** returns 1 if line starts with prefix, 0 if it does not */
19 int strStartsWith(const char *line, const char *prefix);
H A Datchannel.c119 static void addIntermediate(const char *line) argument
125 p_new->line = strdup(line);
136 * returns 1 if line is a final response indicating error
148 static int isFinalResponseError(const char *line) argument
153 if (strStartsWith(line, s_finalResponsesError[i])) {
162 * returns 1 if line is a final response indicating success
170 static int isFinalResponseSuccess(const char *line) argument
175 if (strStartsWith(line, s_finalResponsesSuccess[i])) {
184 * returns 1 if line i
188 isFinalResponse(const char *line) argument
203 isSMSUnsolicited(const char *line) argument
218 handleFinalResponse(const char *line) argument
225 handleUnsolicited(const char *line) argument
232 processLine(const char *line) argument
431 const char * line; local
[all...]
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
H A Dperf_config.c32 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);
103 * Arg2 configuration line (trimmed of trailing white
116 void read_line(PERF_Config *cfg, char const *line, char const *tag) argument
121 while (*line && isspace(*line)) line++;
124 if (!*line || *lin
179 char line[PERF_CONFIG_LINELENGTH]; local
236 get_value_if_matches(char const *line, char const *argument) argument
342 assign_string_if_matches(char const *line, char const *argument, char **target) argument
372 assign_long_if_matches(char const *line, char const *argument, unsigned long *target) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
H A Ddiff.py27 def Append(self, line):
29 if line[0] != " ":
31 self.lines.append(line[1:])
50 def Append(self, line):
51 """Adds a line to the DiffHunk and its DiffLines children."""
52 if line[0] == "-":
53 self.left.Append(line)
54 elif line[0] == "+":
55 self.right.Append(line)
56 elif line[
[all...]
H A Dwrap-commit-msg.py23 indicator = has_leading_whitespace(line);
25 preserve_formatting(line);
46 line = fileobj.readline()
47 if not line:
50 if line.lstrip() == line:
51 text += line
55 output += line
H A Dcpplint.py41 same line, but it is far from perfect (in either direction).
70 'NOLINT(category)' comment to the line. NOLINT or NOLINT(*)
71 suppresses errors of all categories on that line.
125 This is the allowed line length for the project. The default value is
408 # False positives include C-style multi-line comments and multi-line strings
425 _END_ASM = 2 # Last line of inline assembly block
447 # The allowed line length of files.
458 Parses any NOLINT comments on the current line, updating the global
464 raw_line: str, the line o
[all...]
/hardware/intel/common/libmix/videodecoder/
H A DVideoDecoderTrace.cpp23 void TraceVideoDecoder(const char* cat, const char* fun, int line, const char* format, ...) argument
28 printf("%s %s(#%d): ", cat, fun, line);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/
H A Dhmm_dflt_abort.c30 /* Print abort message, file and line. Terminate execution.
32 void hmm_dflt_abort(const char *file, const char *line) { argument
47 fputs(line, stderr);
/hardware/samsung_slsi/exynos5/libmemtrack/
H A Dmali.c49 char line[1024]; local
67 if (fgets(line, sizeof(line), fp) == NULL) {
77 if (line[0] == ' ' && line[1] == ' ') {
82 int ret = sscanf(line, " %*s %u %*u %u %u\n",
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
H A DOMX_DebugMem.h16 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/
H A DOMX_DebugMem.h40 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/omap4xxx/domx/omx_core/inc/
H A DOMX_DebugMem.h40 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/invensense/60xx/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.c103 char line[4096], d; local
118 memset(line, 0, 100);
122 line[0] = 0;
125 sprintf(&line[i], "%c", d);
128 if(line[0] == 'N'){
130 while(line[i] != '"'){
138 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){
145 if(!memcmp(&line[i], name, strlen(name))){
152 if(line[0] == 'S'){
155 while(line[
[all...]
/hardware/qcom/display/msm8084/libmemtrack/
H A Dkgsl.c50 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/
H A Dkgsl.c50 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/msm8960/libmemtrack/
H A Dkgsl.c50 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/msm8974/libmemtrack/
H A Dkgsl.c50 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/ti/omap4-aah/
H A Dmapinfo.c24 static mapinfo *parse_maps_line(char *line) argument
27 int len = strlen(line);
30 line[--len] = 0;
33 if(line[20] != 'x') return 0;
38 mi->start = strtoul(line, 0, 16);
39 mi->end = strtoul(line + 9, 0, 16);
44 strcpy(mi->name, line + 49);
/hardware/ti/omap4xxx/
H A Dmapinfo.c24 static mapinfo *parse_maps_line(char *line) argument
27 int len = strlen(line);
30 line[--len] = 0;
33 if(line[20] != 'x') return 0;
38 mi->start = strtoul(line, 0, 16);
39 mi->end = strtoul(line + 9, 0, 16);
44 strcpy(mi->name, line + 49);
/hardware/intel/img/libdrm/libdrm/radeon/
H A Dradeon_track.h38 unsigned line; member in struct:radeon_track_event
56 unsigned line);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.c121 char line[4096], d; local
136 memset(line, 0, 100);
140 line[0] = 0;
143 sprintf(&line[i], "%c", d);
146 if(line[0] == 'N'){
148 while(line[i] != '"'){
156 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){
163 if(!memcmp(&line[i], name, strlen(name))){
170 if(line[0] == 'S'){
173 while(line[
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.c114 char line[4096], d; local
129 memset(line, 0, 100);
133 line[0] = 0;
136 sprintf(&line[i], "%c", d);
139 if(line[0] == 'N'){
141 while(line[i] != '"'){
149 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){
156 if(!memcmp(&line[i], name, strlen(name))){
163 if(line[0] == 'S'){
166 while(line[
[all...]
/hardware/broadcom/libbt/src/
H A Dconf.c99 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/gps/msm8960/utils/
H A Dloc_target.cpp62 static int read_a_line(const char * file_path, char * line, int line_size) argument
67 * line = '\0';
74 fgets(line, line_size, fp);
75 len = strlen(line);
77 line[len] = '\0';
78 LOC_LOGD("cat %s: %s", file_path, line);

Completed in 1553 milliseconds

12345