Searched refs:str_tmp (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/board/siemens/common/ |
D | board.c | 190 char str_tmp[5]; /* must contain "ledX"*/ in set_env_gpios() local 196 strcpy(str_tmp, "led"); in set_env_gpios() 198 strcat(str_tmp, num); in set_env_gpios() 201 ptr_env = env_get(str_tmp); in set_env_gpios() 222 memset(str_tmp, 0, sizeof(str_tmp)); in set_env_gpios() 223 strncpy(str_tmp, ptr_env, pos1*sizeof(char)); in set_env_gpios() 224 gpio_n = (unsigned char)simple_strtoul(str_tmp, NULL, 0); in set_env_gpios() 234 memset(str_tmp, 0, sizeof(str_tmp)); in set_env_gpios() 235 strncpy(str_tmp, ptr_env+pos1+1, in set_env_gpios() 237 gpio_s0 = (unsigned char)simple_strtoul(str_tmp, NULL, in set_env_gpios() [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil.c | 1216 char *str_tmp = NULL; in cil_userprefixes_to_string() local 1237 str_tmp = cil_malloc(str_len * sizeof(char)); in cil_userprefixes_to_string() 1238 *out = str_tmp; in cil_userprefixes_to_string() 1244 buf_pos = snprintf(str_tmp, str_len, "user %s prefix %s;\n", user->datum.fqn, in cil_userprefixes_to_string() 1247 str_tmp += buf_pos; in cil_userprefixes_to_string() 1392 char *str_tmp = out; in __cil_level_to_string() local 1398 buf_pos = sprintf(str_tmp, "%s", lvl->sens->datum.fqn); in __cil_level_to_string() 1399 str_tmp += buf_pos; in __cil_level_to_string() 1402 buf_pos = sprintf(str_tmp, ":"); in __cil_level_to_string() 1403 str_tmp += buf_pos; in __cil_level_to_string() [all …]
|