/macosx-10.9.5/Heimdal-323.92.1/lib/otp/ |
H A D | otp_print.c | 44 otp_checksum (OtpKey key) argument 50 sum += ((key[i] >> 0) & 0x03) 51 + ((key[i] >> 2) & 0x03) 52 + ((key[i] >> 4) & 0x03) 53 + ((key[i] >> 6) & 0x03); 59 otp_print_stddict (OtpKey key, char *str, size_t sz) argument 63 sum = otp_checksum (key); 66 std_dict[(key[0] << 3) | (key[1] >> 5)], 67 std_dict[((key[ 75 otp_print_hex(OtpKey key, char *str, size_t sz) argument 84 otp_print_hex_extended(OtpKey key, char *str, size_t sz) argument 93 otp_print_stddict_extended(OtpKey key, char *str, size_t sz) argument [all...] |
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/ |
H A D | ndc.conf-include | 20 key "another-key" {
|
/macosx-10.9.5/xnu-2422.115.4/tools/lldbmacros/core/ |
H A D | caching.py | 54 'key' : (valueobj, versno), 94 def GetStaticCacheData(key, default_value = None): 95 """ Get cached object based on key from the cache of static information. 97 key: str - a unique string identifying your data. 98 default_value : obj - an object that should be returned if key is not found. 104 key = str(key) 105 if key in _static_data: 106 return _static_data[key][0] 109 def SaveStaticCacheData(key, valu [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/threadproc/netware/ |
H A D | threadpriv.c | 20 apr_status_t apr_threadkey_private_create(apr_threadkey_t **key, argument 25 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 26 if ((*key) == NULL) { 30 (*key)->pool = pool; 32 if ((stat = NXKeyCreate(NULL, dest, &(*key)->key)) == 0) { 38 apr_status_t apr_threadkey_private_get(void **new, apr_threadkey_t *key) argument 42 if ((stat = NXKeyGetValue(key->key, new)) == 0) { 50 apr_status_t apr_threadkey_private_set(void *priv, apr_threadkey_t *key) argument 61 apr_threadkey_private_delete(apr_threadkey_t *key) argument 70 apr_threadkey_data_get(void **data, const char *key, apr_threadkey_t *threadkey) argument 75 apr_threadkey_data_set(void *data, const char *key, apr_status_t (*cleanup) (void *), apr_threadkey_t *threadkey) argument 82 apr_os_threadkey_get(apr_os_threadkey_t *thekey, apr_threadkey_t *key) argument 89 apr_os_threadkey_put(apr_threadkey_t **key, apr_os_threadkey_t *thekey, apr_pool_t *pool) argument [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/threadproc/os2/ |
H A D | threadpriv.c | 25 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 29 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 31 if ((*key) == NULL) { 35 (*key)->pool = pool; 36 return APR_OS2_STATUS(DosAllocThreadLocalMemory(1, &((*key)->key))); 39 APR_DECLARE(apr_status_t) apr_threadkey_private_get(void **new, apr_threadkey_t *key) 41 (*new) = (void *)*(key->key); 45 APR_DECLARE(apr_status_t) apr_threadkey_private_set(void *priv, apr_threadkey_t *key) [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/threadproc/win32/ |
H A D | threadpriv.c | 24 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 28 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 29 if ((*key) == NULL) { 33 (*key)->pool = pool; 35 if (((*key)->key = TlsAlloc()) != 0xFFFFFFFF) { 42 apr_threadkey_t *key) 44 if (((*new) = TlsGetValue(key->key))) { 51 apr_threadkey_t *key) [all...] |
/macosx-10.9.5/apr-30/apr/apr/threadproc/netware/ |
H A D | threadpriv.c | 20 apr_status_t apr_threadkey_private_create(apr_threadkey_t **key, argument 25 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 26 if ((*key) == NULL) { 30 (*key)->pool = pool; 32 if ((stat = NXKeyCreate(NULL, dest, &(*key)->key)) == 0) { 38 apr_status_t apr_threadkey_private_get(void **new, apr_threadkey_t *key) argument 42 if ((stat = NXKeyGetValue(key->key, new)) == 0) { 50 apr_status_t apr_threadkey_private_set(void *priv, apr_threadkey_t *key) argument 61 apr_threadkey_private_delete(apr_threadkey_t *key) argument 70 apr_threadkey_data_get(void **data, const char *key, apr_threadkey_t *threadkey) argument 75 apr_threadkey_data_set(void *data, const char *key, apr_status_t (*cleanup) (void *), apr_threadkey_t *threadkey) argument 82 apr_os_threadkey_get(apr_os_threadkey_t *thekey, apr_threadkey_t *key) argument 89 apr_os_threadkey_put(apr_threadkey_t **key, apr_os_threadkey_t *thekey, apr_pool_t *pool) argument [all...] |
/macosx-10.9.5/apr-30/apr/apr/threadproc/os2/ |
H A D | threadpriv.c | 25 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 29 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 31 if ((*key) == NULL) { 35 (*key)->pool = pool; 36 return APR_OS2_STATUS(DosAllocThreadLocalMemory(1, &((*key)->key))); 39 APR_DECLARE(apr_status_t) apr_threadkey_private_get(void **new, apr_threadkey_t *key) 41 (*new) = (void *)*(key->key); 45 APR_DECLARE(apr_status_t) apr_threadkey_private_set(void *priv, apr_threadkey_t *key) [all...] |
/macosx-10.9.5/apr-30/apr/apr/threadproc/win32/ |
H A D | threadpriv.c | 24 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 28 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 29 if ((*key) == NULL) { 33 (*key)->pool = pool; 35 if (((*key)->key = TlsAlloc()) != 0xFFFFFFFF) { 42 apr_threadkey_t *key) 44 if (((*new) = TlsGetValue(key->key))) { 51 apr_threadkey_t *key) [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/threadproc/beos/ |
H A D | threadpriv.c | 23 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 26 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 27 if ((*key) == NULL) { 31 (*key)->pool = pool; 34 for ((*key)->key=0; (*key)->key < BEOS_MAX_DATAKEYS; (*key)->key [all...] |
/macosx-10.9.5/apr-30/apr/apr/threadproc/beos/ |
H A D | threadpriv.c | 23 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 26 (*key) = (apr_threadkey_t *)apr_palloc(pool, sizeof(apr_threadkey_t)); 27 if ((*key) == NULL) { 31 (*key)->pool = pool; 34 for ((*key)->key=0; (*key)->key < BEOS_MAX_DATAKEYS; (*key)->key [all...] |
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/libdes/src/ |
H A D | key_par.c | 47 /*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H�gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the Kungliga Tekniska
* H�gskolan and its contributors.
*
* 4. Neither the name of the Institute nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include "des_locl.h"
/* MIT Link and source compatibility */
#ifdef des_fixup_key_parity
#undef des_fixup_key_parity
#endif /* des_fixup_key_parity */
void des_fixup_key_parity(des_cblock *key);
void
des_fixup_key_parity(des_cblock *key)
{
des_set_odd_parity(key);
} 1 des_fixup_key_parity(des_cblock *key) argument
|
H A D | rand_key.c | 65 /* crypto/des/rand_key.c */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@mincom.oz.au).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@mincom.oz.au).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@mincom.oz.au)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@mincom.oz.au)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#include "des_locl.h"
#include <time.h>
static int seed=0;
static des_cblock init;
void des_random_seed(key)
des_cblock key;
{
memcpy(init,key,sizeof(des_cblock));
seed=1;
}
/* Old source */
/*
void des_random_key(ret)
unsigned char *ret;
{
des_key_schedule ks;
static DES_LONG c=0;
static unsigned short pid=0;
static des_cblock data={0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef};
des_cblock key;
unsigned char *p;
DES_LONG t;
int i;
#if defined(MSDOS) || defined(WIN32)
pid=1;
#else
if (!pid) pid=getpid();
#endif
p=key;
if (seed)
{
for (i=0; i<8; i++)
{
data[i] ^= init[i];
init[i]=0;
}
seed=0;
}
t=(DES_LONG)time(NULL);
l2c(t,p);
t=(DES_LONG)((pid)|((c++)<<16));
l2c(t,p);
des_set_odd_parity((des_cblock *)data);
des_set_key((des_cblock *)data,ks);
des_cbc_cksum((des_cblock *)key,(des_cblock *)key,
(long)sizeof(key),ks,(des_cblock *)data);
des_set_odd_parity((des_cblock *)key);
des_set_key((des_cblock *)key,k [all...] |
/macosx-10.9.5/dcerpc-58/dcerpc/libdcethread/ |
H A D | dcethread_getspecific.c | 85 dcethread_getspecific(dcethread_key key, void **value) argument 87 *value = pthread_getspecific(key); 93 dcethread_getspecific_throw(dcethread_key key, void **value) argument 95 DCETHREAD_WRAP_THROW(dcethread_getspecific(key, value));
|
H A D | dcethread_keycreate.c | 85 dcethread_keycreate(dcethread_key *key, void (*destructor)(void *value)) argument 87 return dcethread__set_errno(pthread_key_create(key, destructor)); 91 dcethread_keycreate_throw(dcethread_key *key, void (*destructor)(void *value)) argument 93 DCETHREAD_WRAP_THROW(dcethread_keycreate(key, destructor));
|
H A D | dcethread_setspecific.c | 85 dcethread_setspecific(dcethread_key key, void *value) argument 87 return dcethread__set_errno(pthread_setspecific(key, value)); 91 dcethread_setspecific_throw(dcethread_key key, void *value) argument 93 DCETHREAD_WRAP_THROW(dcethread_setspecific(key, value));
|
/macosx-10.9.5/keymgr-28/testcases/3464244/ |
H A D | 3464244.c | 3 extern void _keymgr_set_per_thread_data(unsigned int key, void *keydata) ;
|
/macosx-10.9.5/postfix-252/postfix/src/postconf/ |
H A D | extract.awk | 89 for (key in int_vars) 90 print key 94 for (key in str_vars) 95 print key 99 for (key in raw_vars) 100 print key 104 for (key in bool_vars) 105 print key 109 for (key in time_vars) 110 print key [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/test/scr024/src/com/sleepycat/collections/test/ |
H A D | TestEntity.java | 16 int key; field in class:TestEntity 19 TestEntity(int key, int value) { argument 21 this.key = key; 29 return e.key == key && e.value == value; 37 return key; 42 return "[key " + key + " value " + value + ']';
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Lib/Foundation/ |
H A D | _functiondefines.py | 6 def NSLocalizedString(key, comment): 7 return NSBundle.mainBundle().localizedStringForKey_value_table_(key, '', None) 9 def NSLocalizedStringFromTable(key, tbl, comment): 10 return NSBundle.mainBundle().localizedStringForKey_value_table_(key, '', tbl) 12 def NSLocalizedStringFromTableInBundle(key, tbl, bundle, comment): 13 return bundle.localizedStringForKey_value_table_(key, '', tbl) 15 def NSLocalizedStringWithDefaultValue(key, tbl, bundle, val, comment): 16 return bundle.localizedStringForKey_value_table_(key, val, tbl)
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Lib/Foundation/ |
H A D | _functiondefines.py | 6 def NSLocalizedString(key, comment): 7 return NSBundle.mainBundle().localizedStringForKey_value_table_(key, '', None) 9 def NSLocalizedStringFromTable(key, tbl, comment): 10 return NSBundle.mainBundle().localizedStringForKey_value_table_(key, '', tbl) 12 def NSLocalizedStringFromTableInBundle(key, tbl, bundle, comment): 13 return bundle.localizedStringForKey_value_table_(key, '', tbl) 15 def NSLocalizedStringWithDefaultValue(key, tbl, bundle, val, comment): 16 return bundle.localizedStringForKey_value_table_(key, val, tbl)
|
/macosx-10.9.5/CPANInternal-140/Perl4-CoreLibs-0.003/lib/ |
H A D | importenv.pl | 7 local($tmp,$key) = ''; 9 foreach $key (keys(%ENV)) { 10 $tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;
|
/macosx-10.9.5/swig-10/Source/Swig/ |
H A D | warn.c | 24 String *key; local 28 key = NewStringf("%s:%d", filename, line); 29 if (!Getattr(warnings, key)) { 31 Setattr(warnings, key, key); 33 Delete(key);
|
/macosx-10.9.5/xnu-2422.115.4/libsyscall/mach/servers/ |
H A D | key_defs.h | 59 * An encrytion key. 72 #define KEY_IS_NULL(key) \ 73 (((key).key_longs[0] == 0) && ((key).key_longs[1] == 0) \ 74 && ((key).key_longs[2] == 0) && ((key).key_longs[3] == 0)) 80 #define NTOH_KEY(key) { \ 81 (key).key_longs[0] = ntohl((key).key_longs[0]); \ 82 (key) [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/threadproc/unix/ |
H A D | threadpriv.c | 24 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 28 (*key) = (apr_threadkey_t *)apr_pcalloc(pool, sizeof(apr_threadkey_t)); 30 if ((*key) == NULL) { 34 (*key)->pool = pool; 36 return pthread_key_create(&(*key)->key, dest); 41 apr_threadkey_t *key) 44 if (pthread_getspecific(key->key,new)) 47 (*new) = pthread_getspecific(key [all...] |