Searched defs:key (Results 1 - 25 of 114) sorted by relevance

12345

/PHP_5_3/ext/zip/lib/
H A Dzip_source_pkware.c45 zip_uint32_t key[3];
96 ctx->key[0] = KEY0;
97 ctx->key[1] = KEY1;
98 ctx->key[2] = KEY2;
125 tmp = ctx->key[2] | 2;
135 ctx->key[0] = CRC32(ctx->key[0], b);
136 ctx->key[1] = (ctx->key[1] + (ctx->key[
44 zip_uint32_t key[3]; member in struct:trad_pkware
[all...]
/PHP_5_3/scripts/dev/generate-phpt/src/testcase/
H A DgtTestCase.php159 $key = $this->optionalSections->getSkipifKey(); variable
161 if($key == 'win') {
164 if($key == 'notwin' ) {
168 if($key == '64b' ) {
172 if($key == 'not64b' ) {
/PHP_5_3/win32/build/
H A Dregistersyslog.php14 $key = @reg_create_key(HKEY_LOCAL_MACHINE, $PATH, KEY_ALL_ACCESS); variable
16 if (!$key)
17 $key = reg_open_key(HKEY_LOCAL_MACHINE, $PATH, KEY_ALL_ACCESS); variable
19 if ($key) {
20 reg_set_value($key, "TypesSupported", REG_DWORD, 7) or die("Types");
21 reg_set_value($key, "EventMessageFile", REG_SZ, $dll) or die("EventMessageFile");
/PHP_5_3/ext/gd/
H A Dgdcache.c146 int key; member in struct:__anon118
151 cacheTest( void *map, void *key )
153 return (((key_value_t *)map)->key == *(int *)key);
157 cacheFetch( char **error, void *key )
165 map->key = *(int *)key;
182 int elem, key; local
186 key = 20;
187 elem = *(int *)gdCacheGet(cacheTable, &key);
[all...]
/PHP_5_3/ext/gd/libgd/
H A Dgdcache.c153 int key; member in struct:__anon134
159 cacheTest (void *map, void *key) argument
161 return (((key_value_t *) map)->key == *(int *) key);
165 cacheFetch (char **error, void *key) argument
170 map->key = *(int *) key;
187 int elem, key; local
191 key = 20;
192 elem = *(int *) gdCacheGet (cacheTable, &key);
[all...]
/PHP_5_3/ext/com_dotnet/
H A Dcom_iterator.c35 ulong key; member in struct:php_com_iterator
82 if (I->key == (ulong)-1) {
85 *int_key = I->key;
106 I->key++;
109 I->key = (ulong)-1;
114 if (I->key >= (ULONG) I->sa_max) {
115 I->key = (ulong)-1;
118 I->key++;
119 if (php_com_safearray_get_elem(&I->safe_array, &I->v, (LONG)I->key TSRMLS_CC) == 0) {
120 I->key
[all...]
/PHP_5_3/ext/dba/
H A Ddba_cdb.c141 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len TSRMLS_CC)
142 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len TSRMLS_CC)
145 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len)
146 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len)
159 if (php_cdb_find(&cdb->c, key, keylen) == 1) {
161 if (php_cdb_findnext(&cdb->c, key, keyle
250 char *key; local
291 char *key; local
[all...]
H A Ddba_dbm.c43 #define DBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
152 char *key = NULL; local
157 key = estrndup(gkey.dptr, gkey.dsize);
161 return key;
H A Ddba_gdbm.c35 #define GDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
110 php_error_docref2(NULL TSRMLS_CC, key, val, E_WARNING, "%s", gdbm_strerror(gdbm_errno));
134 char *key = NULL; local
142 key = estrndup(gkey.dptr, gkey.dsize);
148 return key;
H A Ddba_ndbm.c35 #define NDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
124 char *key = NULL; local
129 key = estrndup(gkey.dptr, gkey.dsize);
131 return key;
/PHP_5_3/ext/dba/libcdb/
H A Dcdb.c46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos TSRMLS_DC) argument
57 if (memcmp(buf, key, n))
60 key += n;
129 int cdb_findnext(struct cdb *c, char *key, unsigned int len TSRMLS_DC) argument
136 u = cdb_hash(key, len);
166 switch(cdb_match(c, key, len, pos + 8 TSRMLS_CC)) {
182 int cdb_find(struct cdb *c, char *key, unsigned int len TSRMLS_DC) argument
185 return cdb_findnext(c, key, len TSRMLS_CC);
H A Dcdb_make.c125 int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen TSRMLS_DC) argument
129 if (cdb_make_write(c, key, keylen TSRMLS_CC) != 0)
133 return cdb_make_addend(c, keylen, datalen, cdb_hash(key, keylen) TSRMLS_CC);
/PHP_5_3/ext/dba/libflatfile/
H A Dflatfile.c46 * ret = 1 key already exists - nothing done
108 char *key = key_datum.dptr; local
117 /* read in the length of the key name */
128 /* read in the key name */
134 if (size == num && !memcmp(buf, key, size)) {
170 void *key = key_datum.dptr; local
188 if (!memcmp(buf, key, size)) {
/PHP_5_3/ext/dba/libinifile/
H A Dinifile.h34 key_type key; member in struct:__anon39
48 val_type inifile_fetch(inifile *dba, const key_type *key, int skip TSRMLS_DC);
51 int inifile_delete(inifile *dba, const key_type *key TSRMLS_DC);
52 int inifile_replace(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
53 int inifile_append(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
57 char * inifile_key_string(const key_type *key);
59 void inifile_key_free(key_type *key);
/PHP_5_3/ext/hash/
H A Dhash_gost.c38 #define R(key, h, i, t, l, r) \
41 round(key[0], key[1]) \
42 round(key[2], key[3]) \
43 round(key[4], key[5]) \
44 round(key[6], key[7]) \
45 round(key[
213 php_hash_uint32 l, r, t, key[8], u[8], v[8], w[8], s[8], *h = state, *m = data; local
[all...]
H A Dphp_hash.h54 unsigned char *key; member in struct:_php_hash_data
/PHP_5_3/ext/shmop/
H A Dphp_shmop.h44 key_t key; member in struct:php_shmop
H A Dshmop.c50 ZEND_ARG_INFO(0, key)
155 /* {{{ proto int shmop_open (int key, string flags, int mode, int size)
159 long key, mode, size; local
166 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsll", &key, &flags, &flags_len, &mode, &size) == FAILURE) {
178 shmop->key = key;
210 shmop->shmid = shmget(shmop->key, shmop->size, shmop->shmflg);
/PHP_5_3/ext/soap/
H A Dphp_packet_soap.c405 smart_str key = {0}; local
409 smart_str_appends(&key, (char*)trav->ns->href);
410 smart_str_appendc(&key,':');
412 smart_str_appends(&key, (char*)trav->name);
413 smart_str_0(&key);
414 if (zend_hash_find(hdrs, key.c, key.len+1, (void**)&hdr) == SUCCESS) {
417 smart_str_free(&key);
/PHP_5_3/ext/standard/
H A Dhttp.c34 char *key = NULL, *ekey, *newprefix, *p; local
57 (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT;
60 if (key_type == HASH_KEY_IS_STRING && key_len && key[key_len-1] == '\0') {
66 if (key && *key == '\0' && type != NULL) {
70 if (zend_check_property_access(zobj, key, key_len-1 TSRMLS_CC) != SUCCESS) {
74 zend_unmangle_property_name(key, key_len-1, &tmp, &key);
75 key_len = strlen(key);
84 ekey = php_url_encode(key, key_le
[all...]
/PHP_5_3/ext/sysvmsg/
H A Dphp_sysvmsg.h54 key_t key; member in struct:__anon229
H A Dsysvmsg.c44 ZEND_ARG_INFO(0, key)
82 ZEND_ARG_INFO(0, key)
230 /* {{{ proto bool msg_queue_exists(int key)
234 long key; local
236 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &key) == FAILURE) {
240 if (msgget(key, 0) < 0) {
249 /* {{{ proto resource msg_get_queue(int key [, int perms])
253 long key; local
257 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &key, &perms) == FAILURE) {
263 mq->key
[all...]
/PHP_5_3/ext/sysvsem/
H A Dphp_sysvsem.h41 int key; /* For error reporting. */ member in struct:__anon231
H A Dsysvsem.c61 ZEND_ARG_INFO(0, key)
116 * same key. Semaphore 0 (SYSVSEM_SEM) is the actual semaphore, it is
186 /* {{{ proto resource sem_get(int key [, int max_acquire [, int perm [, int auto_release]])
187 Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously */
190 long key, max_acquire = 1, perm = 0666, auto_release = 1; local
196 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|lll", &key, &max_acquire, &perm, &auto_release)) {
206 semid = semget(key, 3, perm|IPC_CREAT);
208 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno));
240 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed acquiring SYSVSEM_SETVAL for key
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_result_meta.c55 mysqlnd_is_key_numeric(const char * key, size_t length, long *idx) argument
57 register const char * tmp = key;
64 const char *end=key+length-1;
76 if (*key=='-') {
77 *idx = strtol(key, NULL, 10);
82 *idx = strtol(key, NULL, 10);
98 mysqlnd_unicode_is_key_numeric(UChar *key, size_t length, long *idx) argument
100 register UChar * tmp=key;
107 UChar *end=key+length-1;
119 if (*key
[all...]

Completed in 28 milliseconds

12345