Lines Matching refs:str
64 read_id(char *str, unsigned char *output, int out_len)
69 len = strlen(str);
78 if (sscanf(str + i, "%1x", &x1) != 1)
82 if (sscanf(str + i, "%1x", &x2) == 1) {
94 if (str[i] != ':')
115 * Performs inline percent-decoding of string str.
116 * String must be zero-terminated! Implies, that str must not be NULL either.
120 pct_decode(char *str)
123 p = q = str;
126 /* cannot overflow - zero-termination constraint on str */
140 return (q - str);
173 pkcs11_parse_uri(const char *str, pkcs11_uri_t *uri)
184 if (strncmp(str, PK11_URI_PREFIX, strlen(PK11_URI_PREFIX)) != 0)
187 if ((str2 = strdup(str + strlen(PK11_URI_PREFIX))) == NULL)