/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_utilities/ |
H A D | db++.cpp | 80 bool UnixDb::get(const CssmData &key, CssmData &value, int flags) const argument 82 Data dKey(key); 86 mDb, key.length(), flags, rc, value.length()); 95 bool UnixDb::get(const CssmData &key, CssmOwnedData &value, int flags) const argument 98 if (get(key, val, flags)) { 105 bool UnixDb::put(const CssmData &key, const CssmData &value, int flags) argument 107 Data dKey(key); 111 mDb, key.length(), value.length(), flags, rc); 116 void UnixDb::erase(const CssmData &key, int flags) argument 118 Data dKey(key); 123 next(CssmData &key, CssmData &value, int flags ) const argument [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_utilities/lib/ |
H A D | db++.cpp | 80 bool UnixDb::get(const CssmData &key, CssmData &value, int flags) const argument 82 Data dKey(key); 86 mDb, key.length(), flags, rc, value.length()); 95 bool UnixDb::get(const CssmData &key, CssmOwnedData &value, int flags) const argument 98 if (get(key, val, flags)) { 105 bool UnixDb::put(const CssmData &key, const CssmData &value, int flags) argument 107 Data dKey(key); 111 mDb, key.length(), value.length(), flags, rc); 116 void UnixDb::erase(const CssmData &key, int flags) argument 118 Data dKey(key); 123 next(CssmData &key, CssmData &value, int flags ) const argument [all...] |
/macosx-10.9.5/ruby-104/ruby/ext/dbm/ |
H A D | dbm.c | 247 datum key, value; local 255 key.dptr = RSTRING_PTR(keystr); 256 key.dsize = (DSIZE_TYPE)len; 259 value = dbm_fetch(dbm, key); 263 return rb_yield(rb_tainted_str_new(key.dptr, key.dsize)); 271 * dbm[key] -> string value or nil 273 * Return a value from the database by locating the key string 274 * provided. If the key is not found, returns nil. 284 * dbm.fetch(key[, ifnon 312 datum key, val; local 353 datum key, val; local 408 datum key, value; local 454 datum key, val; local 484 datum key, val; local 532 datum key; local 559 datum key, val; local 630 datum key, val; local 664 datum key; local 689 datum key; local 717 datum key, val; local 741 datum key; local 765 datum key, val; local 794 datum key; local 818 datum key, val; local 842 datum key, val; local 869 datum key, val; local 900 datum key, val; local 926 datum key, val; local [all...] |
/macosx-10.9.5/ruby-104/ruby/ext/sdbm/ |
H A D | init.c | 21 * SDBM provides a simple file-based key-value store, which can only store 53 * db.each do |key, value| 54 * puts "Key: #{key}, Value: #{value}" 237 datum key, value; local 242 key.dptr = RSTRING_PTR(keystr); 243 key.dsize = RSTRING_LENINT(keystr); 246 value = sdbm_fetch(dbm, key); 249 return rb_yield(rb_external_str_new(key.dptr, key.dsize)); 257 * sdbm[key] 307 datum key, val; local 358 datum key, val; local 418 datum key, value; local 460 datum key, val; local 491 datum key, val; local 536 datum key; local 572 datum key, val; local 603 datum key, val; local 689 datum key; local 714 datum key; local 745 datum key, val; local 772 datum key; local 800 datum key, val; local 828 datum key; local 851 datum key, val; local 878 datum key, val; local 902 datum key, val; local 939 datum key, val; local 964 datum key, val; local [all...] |
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/Storage/ |
H A D | StorageAreaMap.cpp | 90 String StorageAreaMap::key(unsigned index) function in class:WebKit::StorageAreaMap 94 return m_storageMap->key(index); 97 String StorageAreaMap::item(const String& key) argument 101 return m_storageMap->getItem(key); 104 void StorageAreaMap::setItem(Frame* sourceFrame, StorageAreaImpl* sourceArea, const String& key, const String& value, bool& quotaException) argument 112 m_storageMap->setItem(key, value, oldValue, quotaException); 119 m_pendingValueChanges.add(key); 121 WebProcess::shared().parentProcessConnection()->send(Messages::StorageManager::SetItem(m_storageMapID, sourceArea->storageAreaID(), m_currentSeed, key, value, sourceFrame->document()->url()), 0); 124 void StorageAreaMap::removeItem(WebCore::Frame* sourceFrame, StorageAreaImpl* sourceArea, const String& key) argument 130 m_storageMap->removeItem(key, oldValu 149 contains(const String& key) argument 193 didSetItem(uint64_t storageMapSeed, const String& key, bool quotaError) argument 208 didRemoveItem(uint64_t storageMapSeed, const String& key) argument 241 applyChange(const String& key, const String& newValue) argument 255 const String& key = *it; local 284 dispatchStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument 302 dispatchSessionStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument 336 dispatchLocalStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument [all...] |
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/CocoaRepl/ |
H A D | ri_contents.rb | 40 def lookup(key) 41 @cache[key] || @cache[key] = yield 64 def lookup_name(key, *options) 65 LOOKUP_NAME_CACHE.lookup([key, options]) { 66 ptn = pattern_for(key, *options) 74 def lookup_class_name(key, *options) 75 ptn = pattern_for(key, *options) 79 def lookup_method_name(key, *options) 80 ptn = pattern_for(key, *option [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/dbm/sdbm/ |
H A D | sdbm_pair.c | 53 * | key | data | key | 82 putpair(pag, key, val) 84 apr_sdbm_datum_t key; 93 * enter the key first 95 off -= key.dsize; 96 (void) memcpy(pag + off, key.dptr, key.dsize); 111 getpair(pag, key) 113 apr_sdbm_datum_t key; 145 apr_sdbm_datum_t key; local 259 apr_sdbm_datum_t key; local [all...] |
/macosx-10.9.5/apr-30/apr-util/apr-util/dbm/sdbm/ |
H A D | sdbm_pair.c | 53 * | key | data | key | 82 putpair(pag, key, val) 84 apr_sdbm_datum_t key; 93 * enter the key first 95 off -= key.dsize; 96 (void) memcpy(pag + off, key.dptr, key.dsize); 111 getpair(pag, key) 113 apr_sdbm_datum_t key; 145 apr_sdbm_datum_t key; local 259 apr_sdbm_datum_t key; local [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/library/store/XOTclSdbm/ |
H A D | pair.c | 39 * | key | data | key | 69 putpair(pag, key, val) 71 datum key; 80 * enter the key first 82 off -= key.dsize; 83 (void) memcpy(pag + off, key.dptr, key.dsize); 98 getpair(pag, key) 100 datum key; 134 datum key; local 248 datum key; local [all...] |
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/ |
H A D | hash_test.c | 62 unsigned char key[20]; local 106 memset(key, 0x0b, 16); 107 isc_hmacmd5_init(&hmacmd5, key, 16); 114 strcpy((char *)key, "Jefe"); 115 isc_hmacmd5_init(&hmacmd5, key, 4); 126 memset(key, 0xaa, 16); 127 isc_hmacmd5_init(&hmacmd5, key, 16); 137 memset(key, 0x0b, 20); 138 isc_hmacsha1_init(&hmacsha1, key, 20); 145 strcpy((char *)key, "Jef [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/doctools2idx/ |
H A D | container.tcl | 31 # - Each key in the set is identified by its name. 32 # - Each key has a (possibly empty) set of references. 36 # - A reference can be in the sets of more than one key. 41 # reference, but only per a pair of key and reference in that 42 # key. 108 method {key add} {key} { 109 # Ignore addition of an already known key 110 if {[info exists mykey($key)]} return 111 set mykey($key) {} [all...] |
/macosx-10.9.5/OpenSSH-186/openssh/ |
H A D | authfd.c | 63 #include "key.h" 325 Key *key = NULL; local 337 key = key_new(KEY_RSA1); 339 buffer_get_bignum(&auth->identities, key->rsa->e); 340 buffer_get_bignum(&auth->identities, key->rsa->n); 342 keybits = BN_num_bits(key->rsa->n); 345 BN_num_bits(key->rsa->n), bits); 350 key = key_from_blob(blob, blen); 358 return key; 371 Key* key, BIGNU 370 ssh_decrypt_challenge(AuthenticationConnection *auth, Key* key, BIGNUM *challenge, u_char session_id[16], u_int response_type, u_char response[16]) argument 421 ssh_agent_sign(AuthenticationConnection *auth, Key *key, u_char **sigp, u_int *lenp, u_char *data, u_int datalen) argument 466 ssh_encode_identity_rsa1(Buffer *b, RSA *key, const char *comment) argument 480 ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment) argument 543 ssh_add_identity_constrained(AuthenticationConnection *auth, Key *key, const char *comment, u_int life, u_int confirm) argument 600 ssh_remove_identity(AuthenticationConnection *auth, Key *key) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/utilities/src/ |
H A D | iCloudKeychainTrace.c | 27 static bool OSX_SetCloudKeychainTraceValueForKey(CFStringRef key, int64_t value) argument 31 if (NULL == key) 43 CFIndex key_length = CFStringGetMaximumSizeForEncoding(CFStringGetLength(key), kCFStringEncodingUTF8); 47 if (!CFStringGetCString(key, base_key_buffer, key_length, kCFStringEncodingUTF8)) 54 CFStringRef key_str = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@%@"), gMessageTracerPrefix, key); 105 typedef void (*type_ADClientClearScalarKey)(CFStringRef key); 106 typedef void (*type_ADClientAddValueForScalarKey)(CFStringRef key, int64_t value); 147 static void Internal_ADClientClearScalarKey(CFStringRef key) argument 151 gADClientClearScalarKey(key); 155 static void Internal_ADClientAddValueForScalarKey(CFStringRef key, int64_ argument 163 iOS_SetCloudKeychainTraceValueForKey(CFStringRef key, int64_t value) argument 182 SetCloudKeychainTraceValueForKey(CFStringRef key, int64_t value) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/utilities/utilities/ |
H A D | iCloudKeychainTrace.c | 27 static bool OSX_SetCloudKeychainTraceValueForKey(CFStringRef key, int64_t value) argument 31 if (NULL == key) 43 CFIndex key_length = CFStringGetMaximumSizeForEncoding(CFStringGetLength(key), kCFStringEncodingUTF8); 47 if (!CFStringGetCString(key, base_key_buffer, key_length, kCFStringEncodingUTF8)) 54 CFStringRef key_str = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@%@"), gMessageTracerPrefix, key); 105 typedef void (*type_ADClientClearScalarKey)(CFStringRef key); 106 typedef void (*type_ADClientAddValueForScalarKey)(CFStringRef key, int64_t value); 147 static void Internal_ADClientClearScalarKey(CFStringRef key) argument 151 gADClientClearScalarKey(key); 155 static void Internal_ADClientAddValueForScalarKey(CFStringRef key, int64_ argument 163 iOS_SetCloudKeychainTraceValueForKey(CFStringRef key, int64_t value) argument 182 SetCloudKeychainTraceValueForKey(CFStringRef key, int64_t value) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 148 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 150 key += ~(key << 32); 151 key ^= (key >> 22); 152 key += ~(key << 13); 153 key ^= (key >> 8); 154 key [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/ControlPanel/ |
H A D | ServicesPage.cpp | 97 HKEY key = NULL; local 111 NULL, REG_OPTION_NON_VOLATILE, KEY_READ|KEY_WRITE, NULL, &key, NULL ); 115 err = RegQueryValueEx( key, L"Advertise", NULL, NULL, (LPBYTE) &enabled, &dwSize ); 120 RegCloseKey( key ); 121 key = NULL; 128 NULL, REG_OPTION_NON_VOLATILE, KEY_READ|KEY_WRITE, NULL, &key, NULL ); 132 err = RegQueryValueEx( key, L"Enabled", NULL, NULL, (LPBYTE) &enabled, &dwSize ); 139 if ( key ) 141 RegCloseKey( key ); 170 HKEY key local [all...] |
/macosx-10.9.5/objc4-551.1/runtime/ |
H A D | llvm-DenseMapInfo.h | 164 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 166 key += ~(key << 32); 167 key ^= (key >> 22); 168 key += ~(key << 13); 169 key ^= (key >> 8); 170 key [all...] |
/macosx-10.9.5/system_cmds-597.90.1/sa.tproj/ |
H A D | db.c | 58 int (*v1_to_v2)(DBT *key, DBT *data)) 60 DBT key, data; local 82 key.data = &VERSION_KEY; 83 key.size = sizeof(VERSION_KEY); 85 rv = DB_GET(ddb, &key, &data, 0); 87 warn("get version key from %s stats", uname); 106 for (rv = DB_SEQ(ddb, &key, &data, R_FIRST); rv == 0; 107 rv = DB_SEQ(ddb, &key, &data, R_NEXT)) { 110 if (key.size == sizeof(VERSION_KEY) && 111 memcmp(key 57 db_copy_in(DB **mdb, const char *dbname, const char *uname, BTREEINFO *bti, int (*v1_to_v2)(DBT *key, DBT *data)) argument 152 DBT key, data; local [all...] |
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/sa.tproj/ |
H A D | db.c | 58 int (*v1_to_v2)(DBT *key, DBT *data)) 60 DBT key, data; local 82 key.data = &VERSION_KEY; 83 key.size = sizeof(VERSION_KEY); 85 rv = DB_GET(ddb, &key, &data, 0); 87 warn("get version key from %s stats", uname); 106 for (rv = DB_SEQ(ddb, &key, &data, R_FIRST); rv == 0; 107 rv = DB_SEQ(ddb, &key, &data, R_NEXT)) { 110 if (key.size == sizeof(VERSION_KEY) && 111 memcmp(key 57 db_copy_in(DB **mdb, const char *dbname, const char *uname, BTREEINFO *bti, int (*v1_to_v2)(DBT *key, DBT *data)) argument 152 DBT key, data; local [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/common/ |
H A D | dbt.c | 55 __dbt_userfree(env, key, pkey, data) 57 DBT *key, *pkey, *data; 59 if (key != NULL && 60 F_ISSET(key, DB_DBT_USERCOPY) && key->data != NULL) { 61 __os_ufree(env, key->data); 62 key->data = NULL;
|
/macosx-10.9.5/BerkeleyDB-21/db/test/ |
H A D | test061.tcl | 43 set key "key" 51 set key 1 80 # put a key 81 set ret [eval {$db put} -txn $txn {$key [chop_data $method $data]}] 85 set ret [eval {$db get} -txn $txn $gflags {$key}] 86 error_check_good get $ret [list [list $key [pad_data $method $data]]] 92 set ret [eval {$db get} $gflags {$key}] 101 # put a key 102 set ret [eval {$db put} -txn $txn {$key [chop_dat [all...] |
/macosx-10.9.5/Libc-997.90.3/stdlib/FreeBSD/ |
H A D | lsearch.c | 22 void *lsearch(const void *key, void *base, size_t *nelp, size_t width, argument 26 return (lwork(key, base, nelp, width, compar, 1)); 29 void *lfind(const void *key, const void *base, size_t *nelp, size_t width, argument 33 return (lwork(key, base, nelp, width, compar, 0)); 37 lwork(const void *key, const void *base, size_t *nelp, size_t width, argument 48 if (compar(key, ep) == 0) 52 /* lfind() shall return when the key was not found. */ 57 * lsearch() adds the key to the end of the table and increments 60 memcpy(endp, key, width);
|
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap_r/ |
H A D | thr_cthreads.c | 157 ldap_pvt_thread_key_create( ldap_pvt_thread_key_t *key ) 159 return cthread_keycreate( key ); 163 ldap_pvt_thread_key_destroy( ldap_pvt_thread_key_t key ) 169 ldap_pvt_thread_key_setdata( ldap_pvt_thread_key_t key, void *data ) argument 171 return cthread_setspecific( key, data ); 175 ldap_pvt_thread_key_getdata( ldap_pvt_thread_key_t key, void **data ) argument 177 return cthread_getspecific( key, data );
|
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | headermap.h | 51 virtual void merge(std::string key, std::string &old, std::string newValue); 53 void add(const char *key, const char *value); 55 void remove(const char *key); 57 const char *find(const char *key, const char *def = NULL) const; 58 std::string &operator [] (const char *key); 76 CanonicalKey(const char *key, char end = '\0'); 83 void add(const CanonicalKey &key, const char *value); 86 Map mMap; // map of key: value pairs
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/ |
H A D | headermap.h | 51 virtual void merge(std::string key, std::string &old, std::string newValue); 53 void add(const char *key, const char *value); 55 void remove(const char *key); 57 const char *find(const char *key, const char *def = NULL) const; 58 std::string &operator [] (const char *key); 76 CanonicalKey(const char *key, char end = '\0'); 83 void add(const CanonicalKey &key, const char *value); 86 Map mMap; // map of key: value pairs
|