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.c591 static BOOLEAN bta_ag_parse_cmer(char *p_s, BOOLEAN *p_enabled) in bta_ag_parse_cmer() argument
600 for (p = p_s; *p != ',' && *p != 0; p++); in bta_ag_parse_cmer()
604 n[i] = utl_str2int(p_s); in bta_ag_parse_cmer()
605 p_s = p + 1; in bta_ag_parse_cmer()
606 if (p_s == 0) in bta_ag_parse_cmer()
637 static UINT8 bta_ag_parse_chld(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_chld() argument
643 if (!isdigit(p_s[0])) in bta_ag_parse_chld()
648 if (p_s[1] != 0) in bta_ag_parse_chld()
651 idx = utl_str2int(&p_s[1]); in bta_ag_parse_chld()
675 static tBTA_AG_PEER_CODEC bta_ag_parse_bac(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_bac() argument
[all …]