Searched defs:keylen (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/dba/
H A Ddba.c622 int keylen = 0; local
649 keylen += Z_STRLEN(args[i]);
656 key = safe_emalloc(keylen, 1, 1);
657 key[keylen] = '\0';
658 keylen = 0;
661 memcpy(key+keylen, Z_STRVAL(args[i]), Z_STRLEN(args[i]));
662 keylen += Z_STRLEN(args[i]);
666 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), key, keylen)) != NULL) {
946 if (zend_hash_str_update_mem(&EG(persistent_list), key, keylen, &new_le, sizeof(zend_resource)) == NULL) {
/PHP_TRUNK/ext/dba/libcdb/
H A Dcdb_make.c76 int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h) argument
95 if (cdb_posplus(c, keylen) == -1)
104 int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen) argument
108 if (keylen > 0xffffffff) {
117 uint32_pack(buf, keylen);
125 int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen) argument
127 if (cdb_make_addbegin(c, keylen, datalen) == -1)
129 if (cdb_make_write(c, key, keylen) != 0)
133 return cdb_make_addend(c, keylen, datalen, cdb_hash(key, keylen));
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c5113 int i=0, outlen, keylen; local
5127 keylen = EVP_CIPHER_key_length(cipher_type);
5128 if (keylen > password_len) {
5129 key = emalloc(keylen);
5130 memset(key, 0, keylen);
5146 if (password_len > keylen) {
5193 int i, outlen, keylen; local
5224 keylen = EVP_CIPHER_key_length(cipher_type);
5225 if (keylen > password_len) {
5226 key = emalloc(keylen);
[all...]
/PHP_TRUNK/ext/phar/
H A Ddirstream.c186 uint keylen; local
206 keylen = str_key->len;
207 if (keylen <= (uint)dirlen) {
208 if (keylen < (uint)dirlen || !strncmp(str_key->val, dir, dirlen)) {
218 if (keylen >= sizeof(".phar")-1 && !memcmp(str_key->val, ".phar", sizeof(".phar")-1)) {
226 if (NULL != (found = (char *) memchr(str_key->val, '/', keylen))) {
230 keylen = found - str_key->val;
231 entry[keylen] = '\0';
233 entry = (char *) safe_emalloc(keylen, 1, 1);
234 memcpy(entry, str_key->val, keylen);
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_mm.c119 int keylen; local
121 keylen = strlen(key);
123 sd = mm_malloc(data->mm, sizeof(ps_sd) + keylen);
130 hv = ps_sd_hash(key, keylen);
138 memcpy(sd->key, key, keylen + 1);
/PHP_TRUNK/ext/standard/
H A Durl_scanner_ex.c82 size_t keylen; local
87 keylen = q - key;
90 zend_hash_str_add_mem(ctx->tags, key, keylen, val, strlen(val)+1);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c680 int phpdbg_output_ev_variable(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv) { argument
H A Dphpdbg_utils.c397 static int phpdbg_parse_variable_arg_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, phpdbg_parse_var_func callback) { argument
398 return callback(name, len, keyname, keylen, parent, zv);
455 size_t namelen, keylen; local
460 keylen = strkey->len;
462 keylen = spprintf(&key, 0, "%llu", numkey);
465 name = emalloc(i + keylen + 2);
466 namelen = sprintf(name, "%.*s%.*s%s", (int) i, input, keylen - (propkey - key), propkey, input[len - 1] == ']'?"]":"");
H A Dphpdbg_watch.c382 static int phpdbg_watchpoint_parse_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) { argument
389 watch->name_in_parent_len = keylen;

Completed in 20 milliseconds