Home
last modified time | relevance | path

Searched refs:keysize (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/mesa/program/
Dprog_cache.c175 const void *key, GLuint keysize) in _mesa_search_program_cache() argument
178 memcmp(cache->last->key, key, keysize) == 0) { in _mesa_search_program_cache()
182 const GLuint hash = hash_key(key, keysize); in _mesa_search_program_cache()
186 if (c->hash == hash && memcmp(c->key, key, keysize) == 0) { in _mesa_search_program_cache()
200 const void *key, GLuint keysize, in _mesa_program_cache_insert() argument
203 const GLuint hash = hash_key(key, keysize); in _mesa_program_cache_insert()
208 c->key = malloc(keysize); in _mesa_program_cache_insert()
209 memcpy(c->key, key, keysize); in _mesa_program_cache_insert()
228 const void *key, GLuint keysize, in _mesa_shader_cache_insert() argument
231 const GLuint hash = hash_key(key, keysize); in _mesa_shader_cache_insert()
[all …]
Dprog_cache.h53 const void *key, GLuint keysize);
58 const void *key, GLuint keysize,
64 const void *key, GLuint keysize,
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_cache.c175 const void *key, GLuint keysize) in _mesa_search_program_cache() argument
178 memcmp(cache->last->key, key, keysize) == 0) { in _mesa_search_program_cache()
182 const GLuint hash = hash_key(key, keysize); in _mesa_search_program_cache()
186 if (c->hash == hash && memcmp(c->key, key, keysize) == 0) { in _mesa_search_program_cache()
200 const void *key, GLuint keysize, in _mesa_program_cache_insert() argument
203 const GLuint hash = hash_key(key, keysize); in _mesa_program_cache_insert()
208 c->key = malloc(keysize); in _mesa_program_cache_insert()
209 memcpy(c->key, key, keysize); in _mesa_program_cache_insert()
228 const void *key, GLuint keysize, in _mesa_shader_cache_insert() argument
231 const GLuint hash = hash_key(key, keysize); in _mesa_shader_cache_insert()
[all …]
Dprog_cache.h53 const void *key, GLuint keysize);
58 const void *key, GLuint keysize,
64 const void *key, GLuint keysize,
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DMyKeyPairGenerator1.java60 public void initialize(int keysize, SecureRandom random) { in initialize() argument
61 if ((keysize < 0) || ((keysize % 100) != 0)) { in initialize()
67 keySize = keysize; in initialize()
DMyKeyPairGenerator2.java54 public void initialize(int keysize, SecureRandom random) { in initialize() argument
55 if (keysize < 64) { in initialize()
58 keySize = keysize; in initialize()
DMyAlgorithmParameterGeneratorSpi.java37 protected void engineInit(int keysize, SecureRandom random) { in engineInit() argument
38 if (keysize < 0) { in engineInit()
DMyKeyPairGeneratorSpi.java37 public void initialize(int keysize, SecureRandom random) { in initialize() argument
38 if (keysize < 100) { in initialize()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
Dtranslate.h141 int keysize = translate_keysize(a); in translate_key_sanitize() local
143 memset(ptr + keysize, 0, sizeof(*a) - keysize); in translate_key_sanitize()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h141 int keysize = translate_keysize(a); in translate_key_sanitize() local
143 memset(ptr + keysize, 0, sizeof(*a) - keysize); in translate_key_sanitize()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientlib.c211 unsigned long keysize, keyvalsize; in TXTRecordSetValue() local
214 keysize = (unsigned long)(k - key); in TXTRecordSetValue()
215 keyvalsize = 1 + keysize + (value ? (1 + valueSize) : 0); in TXTRecordSetValue()
216 if (keysize < 1 || keyvalsize > 255) return(kDNSServiceErr_Invalid); in TXTRecordSetValue()
233 memcpy(p, key, keysize); in TXTRecordSetValue()
234 p += keysize; in TXTRecordSetValue()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECKeyPairGenerator.java64 public void initialize(int keysize, SecureRandom random) { in initialize() argument
65 final String name = SIZE_TO_CURVE_NAME.get(keysize); in initialize()
67 throw new InvalidParameterException("unknown key size " + keysize); in initialize()
DOpenSSLRSAKeyPairGenerator.java54 public void initialize(int keysize, SecureRandom random) { in initialize() argument
55 this.modulusBits = keysize; in initialize()
DOpenSSLDHKeyPairGenerator.java60 public void initialize(int keysize, SecureRandom random) { in initialize() argument
62 primeBits = keysize; in initialize()
DOpenSSLDSAKeyPairGenerator.java59 public void initialize(int keysize, SecureRandom random) { in initialize() argument
60 primeBits = keysize; in initialize()
/external/openssl/apps/
Drsautl.c104 int keysize; in MAIN() local
258 keysize = RSA_size(rsa); in MAIN()
260 rsa_in = OPENSSL_malloc(keysize * 2); in MAIN()
261 rsa_out = OPENSSL_malloc(keysize); in MAIN()
264 rsa_inlen = BIO_read(in, rsa_in, keysize * 2); in MAIN()
Dpkeyutl.c99 int keysize = -1; in MAIN() local
140 ctx = init_ctx(&keysize, in MAIN()
298 siglen = bio_to_mem(&sig, keysize * 10, sigbio); in MAIN()
310 buf_inlen = bio_to_mem(&buf_in, keysize * 10, in); in MAIN()
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
DMyKeyGeneratorSpi.java52 protected void engineInit(int keysize, SecureRandom random) { in engineInit() argument
53 if (keysize <= 77) { in engineInit()
/external/chromium_org/third_party/smhasher/src/
DSpeedTest.cpp231 void TinySpeedTest ( pfHash hash, int hashsize, int keysize, uint32_t seed, bool verbose, double & … in TinySpeedTest() argument
235 if(verbose) printf("Small key speed test - %4d-byte keys - ",keysize); in TinySpeedTest()
237 double cycles = SpeedTest(hash,seed,trials,keysize,0); in TinySpeedTest()
DSpeedTest.h6 void TinySpeedTest ( pfHash hash, int hashsize, int keysize, uint32_t seed, bool verbose, double & …
/external/openssl/crypto/evp/
Devp_locl.h257 #define IMPLEMENT_CFBR(cipher,cprefix,kstruct,ksched,keysize,cbits,iv_len) \ argument
258 BLOCK_CIPHER_func_cfb(cipher##_##keysize,cprefix,cbits,kstruct,ksched) \
259 BLOCK_CIPHER_def_cfb(cipher##_##keysize,kstruct, \
260 NID_##cipher##_##keysize, keysize/8, iv_len, cbits, \
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_vs.h205 int keysize = draw_vs_variant_keysize(a); in draw_vs_variant_key_compare() local
206 return memcmp(a, b, keysize); in draw_vs_variant_key_compare()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs.h205 int keysize = draw_vs_variant_keysize(a); in draw_vs_variant_key_compare() local
206 return memcmp(a, b, keysize); in draw_vs_variant_key_compare()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_vs.c49 unsigned keysize = svga_vs_key_size( a ); in compare_vs_keys() local
50 return memcmp( a, b, keysize ); in compare_vs_keys()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_state_vs.c49 unsigned keysize = svga_vs_key_size( a ); in compare_vs_keys() local
50 return memcmp( a, b, keysize ); in compare_vs_keys()

12