Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:STR

64 		char *str;
70 str = os_malloc(*len + 1);
71 if (str == NULL)
73 os_memcpy(str, value, *len);
74 str[*len] = '\0';
75 return str;
77 u8 *str;
82 str = os_malloc(tlen + 1);
83 if (str == NULL)
85 if (hexstr2bin(value, str, tlen)) {
86 os_free(str);
89 str[tlen] = '\0';
91 return (char *) str;
1251 /* STR: Define a string variable for an ASCII string; f = field name */
1259 #define STR(f) _STR(f), NULL, NULL, NULL, 0
1265 * data length. Unlike STR(), this can be used to store arbitrary binary data
1323 * into .name and for STR and INT types, the offset of the target buffer within
1326 * .param3 and .param4 can be used to mark the allowed range (length for STR
1405 { STR(id_str) },
1426 #undef STR