Lines Matching refs:str
1309 static int get_kernel_version(char str[STRVERSIONLEN])
1316 strncpy(str, uts_info.release, STRVERSIONLEN);
1340 static unsigned long ncv_symbol_hash(const char *str)
1342 size_t len = strlen(str);
1343 if (len > 10 && str[len - 10] == '_' && str[len - 9] == 'R')
1345 return obj_elf_hash_n(str, len);
1771 char *r, *str;
1773 str = alloca(strlen(q));
1774 for (r = str, q++; *q != '"'; ++q, ++r) {
1828 obj_string_patch(f, sym->secidx, sym->value, str);
1864 old_get_module_version(struct obj_file *f, char str[STRVERSIONLEN])
1875 strncpy(str, p, STRVERSIONLEN);
2034 char *str;
2038 str = ((char *) ksym + nsyms * sizeof(struct old_module_symbol)
2047 (unsigned long) str - (unsigned long) symtab;
2049 strcpy(str, sym->name);
2050 str += strlen(sym->name) + 1;
2159 char *str;
2165 str = alloca(strlen(q));
2166 for (r = str, q++; *q != '"'; ++q, ++r) {
2235 str = alloca(r - q + 1);
2236 memcpy(str, q, r - q);
2240 str[r - q] = '\0';
2246 str = q;
2253 obj_string_patch(f, sym->secidx, loc - contents, str);
2269 if (strlen(str) >= charssize) {
2276 strcpy((char *) loc, str);
2355 new_get_module_version(struct obj_file *f, char str[STRVERSIONLEN])
2363 strncpy(str, p, STRVERSIONLEN);