Home
last modified time | relevance | path

Searched refs:keyfunc (Results 1 - 25 of 72) sorted by relevance

123

/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dp5_scrypt.c108 /* Setup keyfunc */ in PKCS5_pbe2_set_scrypt()
110 X509_ALGOR_free(pbe2->keyfunc); in PKCS5_pbe2_set_scrypt()
112 pbe2->keyfunc = pkcs5_scrypt_set(salt, saltlen, keylen, N, r, p); in PKCS5_pbe2_set_scrypt()
114 if (pbe2->keyfunc == NULL) in PKCS5_pbe2_set_scrypt()
151 X509_ALGOR *keyfunc = NULL; in pkcs5_scrypt_set() local
186 /* Finally setup the keyfunc structure */ in pkcs5_scrypt_set()
188 keyfunc = X509_ALGOR_new(); in pkcs5_scrypt_set()
189 if (keyfunc == NULL) in pkcs5_scrypt_set()
192 keyfunc->algorithm = OBJ_nid2obj(NID_id_scrypt); in pkcs5_scrypt_set()
197 &keyfunc in pkcs5_scrypt_set()
[all...]
/third_party/openssl/crypto/asn1/
H A Dp5_scrypt.c108 /* Setup keyfunc */ in PKCS5_pbe2_set_scrypt()
110 X509_ALGOR_free(pbe2->keyfunc); in PKCS5_pbe2_set_scrypt()
112 pbe2->keyfunc = pkcs5_scrypt_set(salt, saltlen, keylen, N, r, p); in PKCS5_pbe2_set_scrypt()
114 if (pbe2->keyfunc == NULL) in PKCS5_pbe2_set_scrypt()
151 X509_ALGOR *keyfunc = NULL; in pkcs5_scrypt_set() local
186 /* Finally setup the keyfunc structure */ in pkcs5_scrypt_set()
188 keyfunc = X509_ALGOR_new(); in pkcs5_scrypt_set()
189 if (keyfunc == NULL) in pkcs5_scrypt_set()
192 keyfunc->algorithm = OBJ_nid2obj(NID_id_scrypt); in pkcs5_scrypt_set()
197 &keyfunc in pkcs5_scrypt_set()
[all...]
/third_party/python/Lib/test/
H A Dtest_bisect.py206 # Invariant: Index with a keyfunc on an array
210 keyfunc = abs
211 arr = sorted([2, -4, 6, 8, -10], key=keyfunc)
212 precomputed_arr = list(map(keyfunc, arr))
215 mod.bisect_left(arr, x, key=keyfunc),
219 mod.bisect_right(arr, x, key=keyfunc),
223 keyfunc = str.casefold
224 arr = sorted('aBcDeEfgHhiIiij', key=keyfunc)
225 precomputed_arr = list(map(keyfunc, arr))
228 mod.bisect_left(arr, x, key=keyfunc),
[all...]
H A Dtest_itertools.py858 # keyfunc failure
859 def keyfunc(obj): function
860 if keyfunc.skip > 0:
861 keyfunc.skip -= 1
866 # keyfunc failure on outer object
867 keyfunc.skip = 0
868 self.assertRaises(ExpectedError, gulp, [None], keyfunc)
869 keyfunc.skip = 1
870 self.assertRaises(ExpectedError, gulp, [None, None], keyfunc)
1862 keyfunc
[all...]
/third_party/python/Objects/clinic/
H A Dlistobject.c.h163 list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse);
173 PyObject *keyfunc = Py_None; in list_sort() local
184 keyfunc = args[0]; in list_sort()
194 return_value = list_sort_impl(self, keyfunc, reverse); in list_sort()
/third_party/python/Modules/clinic/
H A Ditertoolsmodule.c.h51 itertools_groupby_impl(PyTypeObject *type, PyObject *it, PyObject *keyfunc);
64 PyObject *keyfunc = Py_None; in itertools_groupby() local
74 keyfunc = fastargs[1]; in itertools_groupby()
76 return_value = itertools_groupby_impl(type, it, keyfunc); in itertools_groupby()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dp5_crpt2.c132 if (!EVP_PBE_find_ex(EVP_PBE_TYPE_KDF, OBJ_obj2nid(pbe2->keyfunc->algorithm), in PKCS5_v2_PBE_keyivgen_ex()
166 rv = kdf(ctx, pass, passlen, pbe2->keyfunc->parameter, NULL, NULL, en_de, libctx, propq); in PKCS5_v2_PBE_keyivgen_ex()
/third_party/openssl/crypto/evp/
H A Dp5_crpt2.c132 if (!EVP_PBE_find_ex(EVP_PBE_TYPE_KDF, OBJ_obj2nid(pbe2->keyfunc->algorithm), in PKCS5_v2_PBE_keyivgen_ex()
166 rv = kdf(ctx, pass, passlen, pbe2->keyfunc->parameter, NULL, NULL, en_de, libctx, propq); in PKCS5_v2_PBE_keyivgen_ex()
/third_party/python/Modules/
H A Ditertoolsmodule.c190 PyObject *keyfunc; member
205 key as keyfunc: object = None
214 itertools_groupby_impl(PyTypeObject *type, PyObject *it, PyObject *keyfunc) in itertools_groupby_impl() argument
225 gbo->keyfunc = keyfunc; in itertools_groupby_impl()
226 Py_INCREF(keyfunc); in itertools_groupby_impl()
240 Py_XDECREF(gbo->keyfunc); in groupby_dealloc()
251 Py_VISIT(gbo->keyfunc); in groupby_traverse()
267 if (gbo->keyfunc == Py_None) { in groupby_step()
271 newkey = PyObject_CallOneArg(gbo->keyfunc, newvalu in groupby_step()
[all...]
/third_party/python/Python/
H A Dbltinmodule.c1732 PyObject *v, *it, *item, *val, *maxitem, *maxval, *keyfunc=NULL; in min_max() local
1754 kwlist, &keyfunc, &defaultval); in min_max()
1771 if (keyfunc == Py_None) { in min_max()
1772 keyfunc = NULL; in min_max()
1779 if (keyfunc != NULL) { in min_max()
1780 val = PyObject_CallOneArg(keyfunc, item); in min_max()
2351 key as keyfunc: object = None
/third_party/python/Objects/
H A Dlistobject.c2253 key as keyfunc: object = None
2268 list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse) in list_sort_impl() argument
2284 if (keyfunc == Py_None) in list_sort_impl()
2285 keyfunc = NULL; in list_sort_impl()
2299 if (keyfunc == NULL) { in list_sort_impl()
2317 keys[i] = PyObject_CallOneArg(keyfunc, saved_ob_item[i]); in list_sort_impl()
/third_party/python/Lib/
H A Dpydoc.py320 keyfunc = lambda attr: (field_order.get(attr[0], 0), attr[0])
321 attrs.sort(key=keyfunc)
/third_party/node/deps/openssl/openssl/apps/
H A Dpkcs12.c1052 X509_ALGOR_get0(&aoid, &aparamtype, &aparam, pbe2->keyfunc); in alg_print()
/third_party/openssl/apps/
H A Dpkcs12.c1056 X509_ALGOR_get0(&aoid, &aparamtype, &aparam, pbe2->keyfunc); in alg_print()
/third_party/openssl/ohos_lite/include/openssl/
H A Dx509.h294 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member
/third_party/node/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/
H A Dx509.h453 X509_ALGOR *keyfunc; member

Completed in 54 milliseconds

123