Home
last modified time | relevance | path

Searched refs:keylen (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/dba/libcdb/
H A Dcdb_make.c74 int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h) in cdb_make_addend() argument
93 if (cdb_posplus(c, keylen) == -1) in cdb_make_addend()
102 int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen) in cdb_make_addbegin() argument
106 if (keylen > 0xffffffff) { in cdb_make_addbegin()
115 uint32_pack(buf, keylen); in cdb_make_addbegin()
123 int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen) in cdb_make_add() argument
125 if (cdb_make_addbegin(c, keylen, datalen) == -1) in cdb_make_add()
127 if (cdb_make_write(c, key, keylen) != 0) in cdb_make_add()
131 return cdb_make_addend(c, keylen, datalen, cdb_hash(key, keylen)); in cdb_make_add()
/php-src/ext/phar/
H A Ddirstream.c169 size_t keylen = ZSTR_LEN(str_key); in phar_make_dirstream() local
170 if (keylen <= dirlen) { in phar_make_dirstream()
171 if (keylen == 0 || keylen < dirlen || !strncmp(ZSTR_VAL(str_key), dir, dirlen)) { in phar_make_dirstream()
186 keylen = has_slash - ZSTR_VAL(str_key); in phar_make_dirstream()
188 entry = safe_emalloc(keylen, 1, 1); in phar_make_dirstream()
190 entry[keylen] = '\0'; in phar_make_dirstream()
213 keylen = has_slash - save - dirlen - 1; in phar_make_dirstream()
214 entry[keylen] = '\0'; in phar_make_dirstream()
220 entry[keylen - dirlen - 1] = '\0'; in phar_make_dirstream()
221 keylen = keylen - dirlen - 1; in phar_make_dirstream()
[all …]
/php-src/ext/curl/tests/
H A Dcurl_basic_027.phpt24 var_dump(curl_setopt($ch, CURLOPT_SSH_HOSTKEYFUNCTION, function ($ch, $keytype, $key, $keylen) {
28 var_dump($keylen);
/php-src/sapi/phpdbg/
H A Dphpdbg_utils.h86 typedef int (*phpdbg_parse_var_func)(char *name, size_t len, char *keyname, size_t keylen, HashTabl…
87 typedef int (*phpdbg_parse_var_with_arg_func)(char *name, size_t len, char *keyname, size_t keylen,…
H A Dphpdbg_utils.c439 static int phpdbg_parse_variable_arg_wrapper(char *name, size_t len, char *keyname, size_t keylen, … in phpdbg_parse_variable_arg_wrapper() argument
440 return callback(name, len, keyname, keylen, parent, zv); in phpdbg_parse_variable_arg_wrapper()
496 size_t namelen, keylen; in phpdbg_parse_variable_with_arg() local
501 keylen = ZSTR_LEN(strkey); in phpdbg_parse_variable_with_arg()
503 keylen = spprintf(&key, 0, ZEND_ULONG_FMT, numkey); in phpdbg_parse_variable_with_arg()
506 namelen = i + keylen + 2; in phpdbg_parse_variable_with_arg()
508 …namelen = snprintf(name, namelen, "%.*s%.*s%s", (int) i, input, (int) (keylen - (propkey - key)), … in phpdbg_parse_variable_with_arg()
H A Dphpdbg_watch.c1294 static int phpdbg_watchpoint_parse_wrapper(char *name, size_t namelen, char *key, size_t keylen, Ha… argument
1298 element->name_in_parent = zend_string_init(key, keylen, 0);
1335 static int phpdbg_watchpoint_parse_step(char *name, size_t namelen, char *key, size_t keylen, HashT… argument
1348 element->name_in_parent = zend_string_init(key, keylen, 0);
H A Dphpdbg_prompt.c924 int phpdbg_output_ev_variable(char *name, size_t len, char *keyname, size_t keylen, HashTable *pare… in phpdbg_output_ev_variable() argument
/php-src/ext/standard/
H A Durl_scanner_ex.re83 size_t keylen;
90 keylen = q - key;
91 str = zend_string_init(key, keylen, 1);
135 size_t keylen;
142 keylen = q - key;
143 if (keylen > 0) {
145 tmp_key = zend_string_init(key, keylen, true);
/php-src/ext/curl/
H A Dinterface.c776 static int curl_ssh_hostkeyfunction(void *clientp, int keytype, const char *key, size_t keylen) in curl_ssh_hostkeyfunction() argument
783 …ntf(stderr, "clientp = %x, keytype = %d, key = %s, keylen = %zu\n", clientp, keytype, key, keylen); in curl_ssh_hostkeyfunction()
792 ZVAL_STRINGL(&args[2], key, keylen); in curl_ssh_hostkeyfunction()
793 ZVAL_LONG(&args[3], keylen); in curl_ssh_hostkeyfunction()

Completed in 27 milliseconds