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

12345

/PHP_5_4/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_4/ext/gd/libgd/
H A Dgdcache.c153 int key; member in struct:__anon137
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_4/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_4/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_4/ext/gd/
H A Dgdcache.c146 int key; member in struct:__anon43
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_4/ext/session/
H A Dmod_user_class.c74 char *key, *val; local
79 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) {
83 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, &val_len TSRMLS_CC) == FAILURE) {
98 char *key, *val; local
103 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &val, &val_len) == FAILURE) {
107 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, val_len TSRMLS_CC));
115 char *key; local
120 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) {
124 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key TSRMLS_CC));
/PHP_5_4/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_4/ext/soap/
H A Dphp_packet_soap.c403 smart_str key = {0}; local
407 smart_str_appends(&key, (char*)trav->ns->href);
408 smart_str_appendc(&key,':');
410 smart_str_appends(&key, (char*)trav->name);
411 smart_str_0(&key);
412 if (zend_hash_find(hdrs, key.c, key.len+1, (void**)&hdr) == SUCCESS) {
415 smart_str_free(&key);
/PHP_5_4/ext/standard/
H A Dhttp.c34 char *key = NULL; local
59 (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT;
62 if (key_type == HASH_KEY_IS_STRING && key_len && key[key_len-1] == '\0') {
68 if (key && *key == '\0' && type != NULL) {
72 if (zend_check_property_access(zobj, key, key_len-1 TSRMLS_CC) != SUCCESS) {
76 zend_unmangle_property_name(key, key_len-1, &tmp, (const char**)&key);
77 key_len = strlen(key);
87 ekey = php_raw_url_encode(key, key_le
[all...]
/PHP_5_4/ext/sysvmsg/
H A Dphp_sysvmsg.h54 key_t key; member in struct:__anon272
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_4/ext/sysvsem/
H A Dphp_sysvsem.h41 int key; /* For error reporting. */ member in struct:__anon274
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_4/ext/sysvshm/
H A Dphp_sysvshm.h41 long key; member in struct:__anon276
56 key_t key; /* key set by user */ member in struct:__anon278
H A Dsysvshm.c44 ZEND_ARG_INFO(0, key)
119 static int php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len);
120 static long php_check_shm_data(sysvshm_chunk_head *ptr, long key);
146 /* {{{ proto int shm_attach(int key [, int memsize [, int perm]])
166 /* get the id from a specified key or create new shared memory */
169 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: memorysize too small", shm_key);
174 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", shm_key, strerror(errno));
181 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", shm_key, strerror(errno));
196 shm_list_ptr->key = shm_key;
232 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key
359 php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len) argument
388 php_check_shm_data(sysvshm_chunk_head *ptr, long key) argument
[all...]
/PHP_5_4/Zend/
H A Dzend_variables.c192 ZEND_API int zval_copy_static_var(zval **p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
204 if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &p) == FAILURE) {
208 zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), (void**)&p);
211 zend_error(E_NOTICE,"Undefined variable: %s", key->arKey);
230 if (zend_hash_quick_add(target, key->arKey, key
[all...]
/PHP_5_4/ext/dba/
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_4/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_4/ext/dba/libflatfile/
H A Dflatfile.c45 * ret = 1 key already exists - nothing done
107 char *key = key_datum.dptr; local
116 /* read in the length of the key name */
127 /* read in the key name */
133 if (size == num && !memcmp(buf, key, size)) {
169 void *key = key_datum.dptr; local
187 if (!memcmp(buf, key, size)) {
/PHP_5_4/ext/dba/libinifile/
H A Dinifile.h34 key_type key; member in struct:__anon57
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_4/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 35 milliseconds

12345