Home
last modified time | relevance | path

Searched refs:p_s (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/sys/
Dutl.c42 INT16 utl_str2int(const char *p_s) in utl_str2int() argument
46 for (;*p_s == ' ' && *p_s != 0; p_s++); in utl_str2int()
48 if (*p_s == 0) return -1; in utl_str2int()
52 if ((*p_s < '0') || (*p_s > '9')) return -1; in utl_str2int()
54 val += (INT32) (*p_s++ - '0'); in utl_str2int()
58 if (*p_s == 0) in utl_str2int()
82 int utl_strucmp(const char *p_s, const char *p_t) in utl_strucmp() argument
86 while (*p_s && *p_t) in utl_strucmp()
93 if (*p_s++ != c) in utl_strucmp()
99 if (*p_t == 0 && *p_s != 0) in utl_strucmp()
[all …]
/system/bt/bta/include/
Dutl.h74 extern INT16 utl_str2int(const char *p_s);
89 extern int utl_strucmp(const char *p_s, const char *p_t);
103 extern UINT8 utl_itoa(UINT16 i, char *p_s);
137 extern BOOLEAN utl_isintstr(const char *p_s);
150 extern BOOLEAN utl_isdialstr(const char *p_s);
/system/bt/bta/ag/
Dbta_ag_cmd.c601 static BOOLEAN bta_ag_parse_cmer(char *p_s, BOOLEAN *p_enabled) in bta_ag_parse_cmer() argument
610 for (p = p_s; *p != ',' && *p != 0; p++); in bta_ag_parse_cmer()
614 n[i] = utl_str2int(p_s); in bta_ag_parse_cmer()
615 p_s = p + 1; in bta_ag_parse_cmer()
616 if (p_s == 0) in bta_ag_parse_cmer()
647 static UINT8 bta_ag_parse_chld(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_chld() argument
653 if (!isdigit(p_s[0])) in bta_ag_parse_chld()
658 if (p_s[1] != 0) in bta_ag_parse_chld()
661 idx = utl_str2int(&p_s[1]); in bta_ag_parse_chld()
685 static tBTA_AG_PEER_CODEC bta_ag_parse_bac(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_bac() argument
[all …]