Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 36) sorted by relevance

12

/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
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);
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/ril/reference-ril/
Datchannel.c128 static void addIntermediate(const char *line) in addIntermediate() argument
134 p_new->line = strdup(line); in addIntermediate()
157 static int isFinalResponseError(const char *line) in isFinalResponseError() argument
162 if (strStartsWith(line, s_finalResponsesError[i])) { in isFinalResponseError()
179 static int isFinalResponseSuccess(const char *line) in isFinalResponseSuccess() argument
184 if (strStartsWith(line, s_finalResponsesSuccess[i])) { in isFinalResponseSuccess()
197 static int isFinalResponse(const char *line) in isFinalResponse() argument
199 return isFinalResponseSuccess(line) || isFinalResponseError(line); in isFinalResponse()
212 static int isSMSUnsolicited(const char *line) in isSMSUnsolicited() argument
217 if (strStartsWith(line, s_smsUnsoliciteds[i])) { in isSMSUnsolicited()
[all …]
Dreference-ril.c156 static int callFromCLCCLine(char *line, RIL_Call *p_call) in callFromCLCCLine() argument
165 err = at_tok_start(&line); in callFromCLCCLine()
168 err = at_tok_nextint(&line, &(p_call->index)); in callFromCLCCLine()
171 err = at_tok_nextbool(&line, &(p_call->isMT)); in callFromCLCCLine()
174 err = at_tok_nextint(&line, &state); in callFromCLCCLine()
180 err = at_tok_nextint(&line, &mode); in callFromCLCCLine()
185 err = at_tok_nextbool(&line, &(p_call->isMpty)); in callFromCLCCLine()
188 if (at_tok_hasmore(&line)) { in callFromCLCCLine()
189 err = at_tok_nextstr(&line, &(p_call->number)); in callFromCLCCLine()
202 err = at_tok_nextint(&line, &p_call->toa); in callFromCLCCLine()
[all …]
Dmisc.c19 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()
Dmisc.h19 int strStartsWith(const char *line, const char *prefix);
Datchannel.h57 char *line; member
/hardware/ti/omap4xxx/domx/omx_core/inc/
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/omap3/omx/system/src/openmax_il/omx_core/inc/
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/
Dmapinfo.c24 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/omap3/omx/system/src/openmax_il/common/inc/
DOMX_TI_Debug.h198 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, char *s);
561 void * mymalloc(int line, char *s, int size) in mymalloc() argument
575 lines[e]=line; in mymalloc()
579 "Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e); in mymalloc()
584 int myfree(void *dp, int line, char *s){ in myfree() argument
589 bytes[q],dp, line, s); in myfree()
[all …]
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_trace.c112 ALOGD("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
122 printf("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
/hardware/ti/wpan/
DREADME5 bt_sco_app - Command line application to send PCM configuruations to WL12xx chip(optional)
8 fmradio - Stack and Command line application for FM on WiLink chipsets
/hardware/ti/wlan/mac80211/ti-utils/
Dini.c30 static char *ini_get_line(char *s, int size, FILE *stream, int *line, in ini_get_line() argument
78 (*line)++; in ini_get_line()
93 static int split_line(char *line, char **name, char **value) in split_line() argument
95 char *pos = line; in split_line()
1050 int line = 0; in ini_get_arch() local
1053 while (ini_get_line(buf, sizeof(buf), f, &line, &pos)) { in ini_get_arch()
1085 int ret = 0, line = 0; in read_ini() local
1102 while (ini_get_line(buf, sizeof(buf), f, &line, &pos)) { in read_ini()
1103 ret = ini_parse_line(pos, line, cmn); in read_ini()
/hardware/invensense/mlsdk/platform/include/
Dlog.h329 const char *func, int line) in __print_result_location() argument
331 MPL_LOGE("%s|%s|%d returning %d\n", file, func, line, result); in __print_result_location()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c103 void * mymalloc(int line, char *s, int size);
104 int myfree(void *dp, int line, char *s);
1684 void * mymalloc(int line, char *s, int size) in mymalloc() argument
1698 lines[e]=line; in mymalloc()
1701 printf("Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e); in mymalloc()
1706 int myfree(void *dp, int line, char *s) in myfree() argument
1711 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
1720 printf("\n\nPointer not found. Line:%d File%s!!\n\n",line, s); in myfree()
/hardware/ti/omap4xxx/domx/mm_osal/inc/
Dtimm_osal_trace.h101 const int line; member
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
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 %d file %s\n", bytes[q],dp, line, s);
2109 printf("\n\nPointer not found. Line:%d File%s!!\n\n",line, s);
/hardware/libhardware_legacy/wifi/
Dwifi.c194 char line[sizeof(DRIVER_MODULE_TAG)+10]; in is_wifi_driver_loaded() local
213 while ((fgets(line, sizeof(line), proc)) != NULL) { in is_wifi_driver_loaded()
214 if (strncmp(line, DRIVER_MODULE_TAG, strlen(DRIVER_MODULE_TAG)) == 0) { in is_wifi_driver_loaded()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1545 char line[128], *p; in prhex() local
1546 int len = sizeof(line); in prhex()
1553 p = line; in prhex()
1567 printf("%s\n", line); /* flush line */ in prhex()
1568 p = line; in prhex()
1569 len = sizeof(line); in prhex()
1574 if (p != line) in prhex()
1575 printf("%s\n", line); in prhex()
Ddhdu.c533 char line[256]; in dhd_hexdump() local
542 p = line; in dhd_hexdump()
554 printf("%s\n", line); /* flush line */ in dhd_hexdump()
555 p = line; in dhd_hexdump()
560 if (p != line) in dhd_hexdump()
561 printf("%s\n", line); in dhd_hexdump()
1361 char line[256], *s, *e; in read_vars() local
1372 while (fgets(line, sizeof(line), fp) != NULL) { in read_vars()
1376 line[sizeof(line) - 1] = 0; in read_vars()
1379 for (s = line; *s == ' ' || *s == '\t'; s++) in read_vars()
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dbcmutils.c1545 char line[128], *p; in prhex() local
1546 int len = sizeof(line); in prhex()
1553 p = line; in prhex()
1567 printf("%s\n", line); /* flush line */ in prhex()
1568 p = line; in prhex()
1569 len = sizeof(line); in prhex()
1574 if (p != line) in prhex()
1575 printf("%s\n", line); in prhex()
Ddhdu.c533 char line[256]; in dhd_hexdump() local
542 p = line; in dhd_hexdump()
554 printf("%s\n", line); /* flush line */ in dhd_hexdump()
555 p = line; in dhd_hexdump()
560 if (p != line) in dhd_hexdump()
561 printf("%s\n", line); in dhd_hexdump()
1361 char line[256], *s, *e; in read_vars() local
1372 while (fgets(line, sizeof(line), fp) != NULL) { in read_vars()
1376 line[sizeof(line) - 1] = 0; in read_vars()
1379 for (s = line; *s == ' ' || *s == '\t'; s++) in read_vars()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c115 void * mymalloc(int line, char *s, int size);
116 int myfree(void *dp, int line, char *s);
1885 void * mymalloc(int line, char *s, int size) in mymalloc() argument
1899 lines[e]=line; in mymalloc()
1902 printf("Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e); in mymalloc()
1907 int myfree(void *dp, int line, char *s) in myfree() argument
1912 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
1921 printf("\n\nPointer not found. Line:%d File%s!!\n\n",line, s); in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Decoder.c84 void * mymalloc(int line, char *s, int size);
86 void myfree(void *dp, int line, char *s);
2003 void * mymalloc(int line, char *s, int size) in mymalloc() argument
2018 lines[e]=line; in mymalloc()
2021 … G711DEC_PRINT("Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e); in mymalloc()
2026 void myfree(void *dp, int line, char *s){ in myfree() argument
2030 … G711DEC_PRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2039 G711DEC_PRINT("\n\nPointer not found. Line:%d File%s!!\n\n",line, s); in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c167 void * DebugMalloc(int line, char *s, int size) in DebugMalloc() argument
181 lines[e]=line; in DebugMalloc()
184 printf("__ Allocating %d bytes on address %p, line %d file %s\n", size, p, line, s); in DebugMalloc()
189 int DebugFree(void *dp, int line, char *s){ in DebugFree() argument
197 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in DebugFree()
206 printf("\n\__ nPointer not found. Line:%d File%s!!\n\n",line, s); in DebugFree()

12