Home
last modified time | relevance | path

Searched refs:bitsp (Results 1 – 4 of 4) sorted by relevance

/external/c-ares/
Dinet_net_pton.c203 getbits(const char *src, int *bitsp) in getbits() argument
229 *bitsp = val; in getbits()
234 getv4(const char *src, unsigned char *dst, int *bitsp) in getv4() argument
262 return (getbits(src, bitsp)); in getv4()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c85 FILE* inp, *outp, *f_bn, *bitsp; in main() local
264 if ((bitsp = fopen(bitfilename, "wb")) == NULL) { in main()
388 fclose(bitsp); in main()
456 fwrite(streamdata, 1, stream_len, bitsp); /* NOTE! Writes bytes to file */ in main()
/external/openssh/
Dssh-keygen.c193 type_bits_valid(int type, const char *name, u_int32_t *bitsp) in type_bits_valid() argument
201 if (*bitsp == 0) { in type_bits_valid()
204 *bitsp = DEFAULT_BITS_DSA; in type_bits_valid()
208 *bitsp = sshkey_curve_nid_to_bits(nid); in type_bits_valid()
209 if (*bitsp == 0) in type_bits_valid()
210 *bitsp = DEFAULT_BITS_ECDSA; in type_bits_valid()
213 *bitsp = DEFAULT_BITS; in type_bits_valid()
218 if (*bitsp > maxbits) in type_bits_valid()
220 if (type == KEY_DSA && *bitsp != 1024) in type_bits_valid()
222 else if (type != KEY_ECDSA && type != KEY_ED25519 && *bitsp < 1024) in type_bits_valid()
[all …]
Dhostfile.c163 hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) in hostfile_read_key() argument
181 if (bitsp != NULL) in hostfile_read_key()
182 *bitsp = sshkey_size(ret); in hostfile_read_key()