Searched refs:str_tmp (Results 1 – 5 of 5) sorted by relevance
71 char *str_tmp = str; in rtk_trim() local72 while (isspace(*str_tmp)) { in rtk_trim()73 ++str_tmp; in rtk_trim()76 if (!*str_tmp) { in rtk_trim()77 return str_tmp; in rtk_trim()80 char *end_str = str_tmp + strlen(str) - 1; in rtk_trim()81 while (end_str > str_tmp && isspace(*end_str)) { in rtk_trim()86 return str_tmp; in rtk_trim()
218 char *str_tmp = str; in rtk_trim() local219 while (isspace(*str_tmp)) { in rtk_trim()220 ++str_tmp; in rtk_trim()223 if (!*str_tmp) { in rtk_trim()224 return str_tmp; in rtk_trim()227 char *end_str = str_tmp + strlen(str_tmp) - 1; in rtk_trim()228 while (end_str > str_tmp && isspace(*end_str)) { in rtk_trim()233 return str_tmp; in rtk_trim()
351 char str_tmp[MAX_NAME_LEN]; in cfg_get_one_key_value() local367 strcpy(str_tmp, subkey->value.str); in cfg_get_one_key_value()369 if (str_tmp[0] == '"' && str_tmp[len - 1] == '"') { in cfg_get_one_key_value()372 } else if ((str_tmp[0] >= 0x30 && str_tmp[0] <= 0x39) in cfg_get_one_key_value()373 || str_tmp[0] == '-') { in cfg_get_one_key_value()394 char str_tmp[MAX_NAME_LEN]; in cfg_get_all_keys_value() local412 strcpy(str_tmp, scts->subkey[i].value.str); in cfg_get_all_keys_value()414 if (str_tmp[0] == '"' && str_tmp[len - 1] == '"') { in cfg_get_all_keys_value()418 } else if ((str_tmp[0] >= 0x30 && str_tmp[0] <= 0x39) in cfg_get_all_keys_value()419 || str_tmp[0] == '-') { in cfg_get_all_keys_value()
307 char *str_tmp = str; in strtohex() local313 while (*str_tmp) { in strtohex()314 n = atohex(*str_tmp++); in strtohex()334 char *str_tmp = str; in strtohexarray() local338 int hex = atohex(*str_tmp++); in strtohexarray()345 hex = atohex(*str_tmp++); in strtohexarray()355 return ((*str_tmp==0) ? 0 : -1); in strtohexarray()
975 int8_t str_tmp[16]; local985 sprintf(str_tmp, "%4d ",990 sprintf(str_tmp, "%4d ",994 sprintf(str_tmp, "%4d ",998 str_tmp[5] = '\0';999 strcat(str, str_tmp);