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

/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/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/phar/
H A Ddirstream.c186 uint keylen; local
206 keylen = ZSTR_LEN(str_key);
207 if (keylen <= (uint)dirlen) {
208 if (keylen < (uint)dirlen || !strncmp(ZSTR_VAL(str_key), dir, dirlen)) {
218 if (keylen >= sizeof(".phar")-1 && !memcmp(ZSTR_VAL(str_key), ".phar", sizeof(".phar")-1)) {
226 if (NULL != (found = (char *) memchr(ZSTR_VAL(str_key), '/', keylen))) {
230 keylen = found - ZSTR_VAL(str_key);
231 entry[keylen] = '\0';
233 entry = (char *) safe_emalloc(keylen, 1, 1);
234 memcpy(entry, ZSTR_VAL(str_key), keylen);
[all...]
/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/ext/dba/
H A Ddba.c632 int keylen = 0; local
659 keylen += Z_STRLEN(args[i]);
666 key = safe_emalloc(keylen, 1, 1);
667 key[keylen] = '\0';
668 keylen = 0;
671 memcpy(key+keylen, Z_STRVAL(args[i]), Z_STRLEN(args[i]));
672 keylen += Z_STRLEN(args[i]);
676 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), key, keylen)) != NULL) {
947 if (zend_hash_str_update(&EG(persistent_list), key, keylen, &new_le) == NULL) {
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c5194 int i=0, outlen, keylen; local
5211 keylen = EVP_CIPHER_key_length(cipher_type);
5212 if (keylen > password_len) {
5213 key = emalloc(keylen);
5214 memset(key, 0, keylen);
5230 if (password_len > keylen) {
5277 int i, outlen, keylen; local
5311 keylen = EVP_CIPHER_key_length(cipher_type);
5312 if (keylen > password_len) {
5313 key = emalloc(keylen);
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_watch.c617 static int phpdbg_watchpoint_parse_wrapper(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) { argument
621 watch->name_in_parent = zend_string_init(key, keylen, 0);
644 static int phpdbg_watchpoint_parse_step(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) { argument
656 watch->name_in_parent = zend_string_init(key, keylen, 0);
H A Dphpdbg_utils.c399 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
400 return callback(name, len, keyname, keylen, parent, zv);
457 size_t namelen, keylen; local
462 keylen = ZSTR_LEN(strkey);
464 keylen = spprintf(&key, 0, "%llu", numkey);
467 name = emalloc(i + keylen + 2);
468 namelen = sprintf(name, "%.*s%.*s%s", (int) i, input, keylen - (propkey - key), propkey, input[len - 1] == ']'?"]":"");
H A Dphpdbg_prompt.c761 int phpdbg_output_ev_variable(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv) /* {{{ */ { argument

Completed in 21 milliseconds