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

12

/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.c128 static void addIntermediate(const char *line) argument
134 p_new->line = strdup(line);
145 * returns 1 if line is a final response indicating error
157 static int isFinalResponseError(const char *line) argument
162 if (strStartsWith(line, s_finalResponsesError[i])) {
171 * returns 1 if line is a final response indicating success
179 static int isFinalResponseSuccess(const char *line) argument
184 if (strStartsWith(line, s_finalResponsesSuccess[i])) {
193 * returns 1 if line i
197 isFinalResponse(const char *line) argument
212 isSMSUnsolicited(const char *line) argument
227 handleFinalResponse(const char *line) argument
234 handleUnsolicited(const char *line) argument
241 processLine(const char *line) argument
441 const char * line; local
[all...]
H A Dreference-ril.c54 // Expected: call should disappear from CLCC line
248 * Note: directly modified line and has *p_call point directly into
249 * modified line
251 static int callFromCLCCLine(char *line, RIL_Call *p_call) argument
260 err = at_tok_start(&line);
263 err = at_tok_nextint(&line, &(p_call->index));
266 err = at_tok_nextbool(&line, &(p_call->isMT));
269 err = at_tok_nextint(&line, &state);
275 err = at_tok_nextint(&line, &mode);
280 err = at_tok_nextbool(&line,
435 char *line = p_cur->line; local
466 char *line = p_cur->line; local
588 char *line; local
828 char *line; local
951 char *line; local
976 char *line, *p; local
996 char *line, *p; local
1031 char *line = NULL; local
1098 char *line, *p; local
1122 char *line; local
1148 char *line; local
1170 char *line = str, *p; local
1287 char *line; local
1420 char *line = p_cur->line; local
1687 char *line; local
2582 char *line; local
2622 char *line, *p; local
2663 char *line; local
2719 char *line; local
2873 char *line = NULL, *p; local
[all...]
H A Datchannel.h50 MULTILINE /* multiple line intermediate response
57 char *line; member in struct:ATLine
71 * "s" is the line, and "sms_pdu" is either NULL or the PDU response
72 * for multi-line TS 27.005 SMS PDU responses (eg +CMT:)
/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/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/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/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.c97 char line[100], d; local
112 memset(line, 0, 100);
116 line[0] = 0;
119 sprintf(&line[i], "%c", d);
122 if(line[0] == 'N'){
124 while(line[i] != '"'){
132 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){
139 if(!memcmp(&line[i], name, strlen(name))){
146 if(line[0] == 'S'){
149 while(line[
[all...]
/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/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_trace.c69 * 2 - function name, line number
112 ALOGD("%s:%d\t%s()\t", simplify_path(loc->file), loc->line,
122 printf("%s:%d\t%s()\t", simplify_path(loc->file), loc->line,
/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/
H A DOMX_TI_Debug.h74 - line number information can be added (via a compile time option)
82 __OMX_DBG_LINE__ - print line number
91 file:function():line domain<level> message
184 variable is defined, the file given by this variable is opened and each line
198 char line[80], *ptr, *end, out[75], err[75]; \
200 while (fgets(line, sizeof(line), config)) { \
201 for (ptr = line; isspace(*ptr); ptr++); \
558 void * mymalloc(int line, char *s, int size);
559 int myfree(void *dp, int line, cha
561 mymalloc(int line, char *s, int size) argument
584 myfree(void *dp, int line, char *s) argument
[all...]
/hardware/qcom/media/mm-core/
H A DAndroid.mk17 #Comment out following line to disable drm.play component
77 # LIBRARY for command line test apps
/hardware/ti/omap4xxx/domx/mm_osal/inc/
H A Dtimm_osal_trace.h101 const int line; member in struct:__anon2151
/hardware/ti/wlan/mac80211/ti-utils/
H A Dini.c30 static char *ini_get_line(char *s, int size, FILE *stream, int *line, argument
39 /* Skip white space from the beginning of line. */
78 (*line)++;
93 static int split_line(char *line, char **name, char **value) argument
95 char *pos = line;
99 fprintf(stderr, "Wrong format of line\n");
1050 int line = 0; local
1053 while (ini_get_line(buf, sizeof(buf), f, &line, &pos)) {
1085 int ret = 0, line = 0; local
1102 while (ini_get_line(buf, sizeof(buf), f, &line,
[all...]
/hardware/invensense/libsensors_iio/software/core/driver/include/
H A Dlog.h332 const char *func, int line)
334 MPL_LOGE("%s|%s|%d returning %d\n", file, func, line, result);
330 __print_result_location(int result, const char *file, const char *func, int line) argument
/hardware/invensense/mlsdk/platform/include/
H A Dlog.h329 const char *func, int line)
331 MPL_LOGE("%s|%s|%d returning %d\n", file, func, line, result);
327 __print_result_location(int result, const char *file, const char *func, int line) argument
/hardware/libhardware_legacy/wifi/
H A Dwifi.c194 char line[sizeof(DRIVER_MODULE_TAG)+10]; local
213 while ((fgets(line, sizeof(line), proc)) != NULL) {
214 if (strncmp(line, DRIVER_MODULE_TAG, strlen(DRIVER_MODULE_TAG)) == 0) {
/hardware/ti/omap4xxx/kernel-headers/linux/
H A Domapfb.h217 __u16 line; member in struct:omapfb_tearsync_info
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
H A DG711DecTest.c103 void * mymalloc(int line, char *s, int size);
104 int myfree(void *dp, int line, char *s);
938 /* extract compression format from command line */
967 /* extract sampling rate from command line */
1684 void * mymalloc(int line, char *s, int size) argument
1698 lines[e]=line;
1701 printf("Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e);
1706 int myfree(void *dp, int line, char *s) argument
1711 printf("Deleting %d bytes on address %p, line
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
H A DWBAmrDecTest.c154 void * mymalloc(int line, char *s, int size);
155 int myfree(void *dp, int line, char *s);
2069 void * mymalloc(int line, char *s, int size) argument
2083 lines[e]=line;
2086 printf("Allocating %d bytes on address %p, line %d file %s\n", size, p, line, s);
2091 int myfree(void *dp, int line, char *s){ argument
2094 printf("Null Memory can not be deleted line: %d file: %s\n", line, s);
2100 printf("Deleting %d bytes on address %p, line
[all...]
/hardware/broadcom/wlan/bcm4329/dhdutil/
H A Ddhdu.c2 * Common code for DHD command-line utility
333 /* parse/validate the command line arguments */
533 char line[256]; local
542 p = line;
545 p += sprintf(p, "%08x: ", saddr + i); /* line prefix */
554 printf("%s\n", line); /* flush line */
555 p = line;
559 /* flush last partial line */
560 if (p != line)
1361 char line[256], *s, *e; local
[all...]
H A Dbcmutils.c1545 char line[128], *p; local
1546 int len = sizeof(line);
1553 p = line;
1556 nchar = snprintf(p, len, " %04d: ", i); /* line prefix */
1567 printf("%s\n", line); /* flush line */
1568 p = line;
1569 len = sizeof(line);
1573 /* flush last partial line */
1574 if (p != line)
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Ddhdu.c2 * Common code for DHD command-line utility
350 /* parse/validate the command line arguments */
550 char line[256]; local
559 p = line;
562 p += sprintf(p, "%08x: ", saddr + i); /* line prefix */
571 printf("%s\n", line); /* flush line */
572 p = line;
576 /* flush last partial line */
577 if (p != line)
1382 char line[256], *s, *e; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
H A DG726EncTest.c167 void * DebugMalloc(int line, char *s, int size) argument
181 lines[e]=line;
184 printf("__ Allocating %d bytes on address %p, line %d file %s\n", size, p, line, s);
189 int DebugFree(void *dp, int line, char *s){ argument
197 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s);
206 printf("\n\__ nPointer not found. Line:%d File%s!!\n\n",line, s);

Completed in 5318 milliseconds

12