Searched refs:Z_STRLEN_PP (Results 1 - 25 of 78) sorted by relevance

1234

/PHP_5_3/ext/bz2/
H A Dbz2.c390 if (strlen(Z_STRVAL_PP(file)) != Z_STRLEN_PP(file)) {
393 if (Z_STRLEN_PP(file) == 0) {
/PHP_5_3/ext/com_dotnet/
H A Dcom_wrapper.c269 trace("-- Invoke: %d %20s [%d] flags=%08x args=%d\n", id, Z_STRVAL_PP(name), Z_STRLEN_PP(name), wFlags, pdp->cArgs);
296 retval = zend_read_property(Z_OBJCE_P(disp->object), disp->object, Z_STRVAL_PP(name), Z_STRLEN_PP(name)+1, 1 TSRMLS_CC);
298 zend_update_property(Z_OBJCE_P(disp->object), disp->object, Z_STRVAL_PP(name), Z_STRLEN_PP(name)+1, *params[0] TSRMLS_CC);
619 Z_STRLEN_PP(ntmp)+1, (void*)&tmp, sizeof(zval *), NULL);
/PHP_5_3/ext/curl/
H A Dstreams.c361 } else if (Z_TYPE_PP(ctx_opt) == IS_STRING && Z_STRLEN_PP(ctx_opt)) {
364 copy_ctx_opt = php_trim(Z_STRVAL_PP(ctx_opt), Z_STRLEN_PP(ctx_opt), NULL, 0, NULL, 3 TSRMLS_CC);
390 curl_easy_setopt(curlstream->curl, CURLOPT_POSTFIELDSIZE, (long)Z_STRLEN_PP(ctx_opt));
400 if (Z_TYPE_PP(ctx_opt) != IS_STRING || !is_numeric_string(Z_STRVAL_PP(ctx_opt), Z_STRLEN_PP(ctx_opt), &mr, NULL, 1)) {
/PHP_5_3/ext/dba/
H A Ddba.c219 if (Z_STRLEN_PP(group) == 0) {
222 return Z_STRLEN_PP(name);
637 keylen += Z_STRLEN_PP(args[i]);
649 memcpy(key+keylen, Z_STRVAL_PP(args[i]), Z_STRLEN_PP(args[i]));
650 keylen += Z_STRLEN_PP(args[i]);
H A Dphp_dba.h129 #define VALLEN(p) Z_STRVAL_PP(p), Z_STRLEN_PP(p)
/PHP_5_3/ext/ereg/
H A Dereg.c565 if (Z_STRVAL_PP(arg_pattern) && Z_STRLEN_PP(arg_pattern)) {
566 pattern = estrndup(Z_STRVAL_PP(arg_pattern), Z_STRLEN_PP(arg_pattern));
578 if (Z_STRVAL_PP(arg_replace) && Z_STRLEN_PP(arg_replace)) {
579 replace = estrndup(Z_STRVAL_PP(arg_replace), Z_STRLEN_PP(arg_replace));
/PHP_5_3/ext/imap/
H A Dphp_imap.c1177 if (Z_STRLEN_PP(disabled_auth_method) > 1) {
1193 if (Z_STRLEN_PP(z_auth_method) > 1) {
3499 str_copy = estrndup(Z_STRVAL_PP(value), Z_STRLEN_PP(value)); \
3555 custom_headers_param->value = (char *) fs_get(Z_STRLEN_PP(env_data) + 1);
3557 memcpy(custom_headers_param->value, Z_STRVAL_PP(env_data), Z_STRLEN_PP(env_data) + 1);
3599 disp_param->value = (char *) fs_get(Z_STRLEN_PP(disp_data) + 1);
3600 memcpy(disp_param->value, Z_STRVAL_PP(disp_data), Z_STRLEN_PP(disp_data) + 1);
3622 bod->disposition.type = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1);
3623 memcpy(bod->disposition.type, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1);
3633 disp_param->value = (char *) fs_get(Z_STRLEN_PP(disp_dat
[all...]
/PHP_5_3/ext/mcrypt/
H A Dmcrypt_filter.c204 key_len = Z_STRLEN_PP(tmpzval);
229 if (iv_len <= Z_STRLEN_PP(tmpzval)) {
232 memcpy(iv, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval));
233 memset(iv + Z_STRLEN_PP(tmpzval), 0, iv_len - Z_STRLEN_PP(tmpzval));
/PHP_5_3/ext/soap/
H A Dphp_http.c44 smart_str_appendl(&auth, Z_STRVAL_PP(login), Z_STRLEN_PP(login));
47 smart_str_appendl(&auth, Z_STRVAL_PP(password), Z_STRLEN_PP(password));
72 smart_str_appendl(&auth, Z_STRVAL_PP(login), Z_STRLEN_PP(login));
75 smart_str_appendl(&auth, Z_STRVAL_PP(password), Z_STRLEN_PP(password));
100 Z_TYPE_PP(tmp) == IS_STRING && Z_STRLEN_PP(tmp)) {
373 if (Z_TYPE_PP(tmp) != IS_STRING || !is_numeric_string(Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &redirect_max, NULL, 1)) {
519 if (Z_STRLEN_PP(tmp) > 0) {
521 smart_str_appendl(&soap_headers, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp));
527 if (Z_STRLEN_PP(tmp) > 0) {
529 smart_str_appendl(&soap_headers, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tm
[all...]
/PHP_5_3/ext/standard/
H A Dassert.c168 if (zend_eval_stringl(myeval, Z_STRLEN_PP(assertion), &retval, compiled_string_description TSRMLS_CC) == FAILURE) {
257 zend_alter_ini_entry_ex("assert.active", sizeof("assert.active"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);
266 zend_alter_ini_entry_ex("assert.bail", sizeof("assert.bail"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);
275 zend_alter_ini_entry_ex("assert.quiet_eval", sizeof("assert.quiet_eval"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);
284 zend_alter_ini_entry_ex("assert.warning", sizeof("assert.warning"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);
H A Dhttp.c164 ekey = php_url_encode(Z_STRVAL_PP(zdata), Z_STRLEN_PP(zdata), &ekey_len);
H A Dhttp_fopen_wrapper.c133 Z_STRLEN_PP(tmpzval) <= 0) {
142 transport_len = Z_STRLEN_PP(tmpzval);
143 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval));
163 Z_STRLEN_PP(tmpzval) > 0) {
165 transport_len = Z_STRLEN_PP(tmpzval);
166 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval));
242 } else if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval)) {
323 if (Z_TYPE_PP(tmpzval) == IS_STRING && Z_STRLEN_PP(tmpzval) > 0) {
327 || (Z_STRLEN_PP(tmpzval) == 3 && memcmp("GET", Z_STRVAL_PP(tmpzval), 3) == 0)
328 || (Z_STRLEN_PP(tmpzva
[all...]
H A Dincomplete_class.c148 retval = estrndup(Z_STRVAL_PP(val), Z_STRLEN_PP(val));
151 *nlen = Z_STRLEN_PP(val);
H A Dpack.c130 formatlen = Z_STRLEN_PP(argv[0]);
189 arg = Z_STRLEN_PP(argv[currentarg]);
326 (Z_STRLEN_PP(val) < arg) ? Z_STRLEN_PP(val) : arg);
343 if(arg > Z_STRLEN_PP(val)) {
345 arg = Z_STRLEN_PP(val);
H A Dtype.c316 if (is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), NULL, NULL, 0)) {
H A Durl.c742 add_next_index_stringl(return_value, Z_STRVAL_PP(hdr), Z_STRLEN_PP(hdr), 1);
756 add_assoc_stringl_ex(return_value, Z_STRVAL_PP(hdr), (p - Z_STRVAL_PP(hdr) + 1), s, (Z_STRLEN_PP(hdr) - (s - Z_STRVAL_PP(hdr))), 1);
759 add_next_index_stringl(*prev_val, s, (Z_STRLEN_PP(hdr) - (s - Z_STRVAL_PP(hdr))), 1);
H A Duser_filters.c465 if ((int)bucket->buflen != Z_STRLEN_PP(pzdata)) {
466 bucket->buf = perealloc(bucket->buf, Z_STRLEN_PP(pzdata), bucket->is_persistent);
467 bucket->buflen = Z_STRLEN_PP(pzdata);
H A Dvar.c113 php_printf("%sstring(%d) \"", COMMON, Z_STRLEN_PP(struc));
114 PHPWRITE(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc));
266 php_printf("%sstring(%d) \"", COMMON, Z_STRLEN_PP(struc));
267 PHPWRITE(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc));
449 tmp_str = php_addcslashes(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc), &tmp_len, 0, "'\\", 2 TSRMLS_CC);
656 if (zend_hash_find(propers, Z_STRVAL_PP(name), Z_STRLEN_PP(name) + 1, (void *) &d) == SUCCESS) {
657 php_var_serialize_string(buf, Z_STRVAL_PP(name), Z_STRLEN_PP(name));
667 zend_mangle_property_name(&priv_name, &prop_name_length, ce->name, ce->name_length, Z_STRVAL_PP(name), Z_STRLEN_PP(name), ce->type & ZEND_INTERNAL_CLASS);
675 zend_mangle_property_name(&prot_name, &prop_name_length, "*", 1, Z_STRVAL_PP(name), Z_STRLEN_PP(name), ce->type & ZEND_INTERNAL_CLASS);
683 php_var_serialize_string(buf, Z_STRVAL_PP(name), Z_STRLEN_PP(nam
[all...]
H A Dstring.c1076 smart_str_appendl(&implstr, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp));
2259 l = Z_STRLEN_PP(str);
2269 RETURN_STRINGL(Z_STRVAL_PP(str), Z_STRLEN_PP(str), 1);
2274 RETURN_STRINGL(Z_STRVAL_PP(str), Z_STRLEN_PP(str), 1);
2289 f = Z_STRLEN_PP(str) + f;
2293 } else if (f > Z_STRLEN_PP(str)) {
2294 f = Z_STRLEN_PP(str);
2300 l = (Z_STRLEN_PP(str) - f) + l;
2306 if (f > Z_STRLEN_PP(str) || (f < 0 && -f > Z_STRLEN_PP(st
[all...]
H A Dbrowscap.c415 for (i = 0; i < Z_STRLEN_PP(previous_match); i++) {
427 for (i = 0; i < Z_STRLEN_PP(current_match); i++) {
507 agent_name_len = Z_STRLEN_PP(http_user_agent);
535 if (zend_hash_find(bdata->htab, Z_STRVAL_PP(z_agent_name), Z_STRLEN_PP(z_agent_name) + 1, (void **)&agent) == FAILURE) {
/PHP_5_3/ext/zlib/
H A Dzlib.c1014 if (php_memnstr(Z_STRVAL_PP(a_encoding), "gzip", 4, Z_STRVAL_PP(a_encoding) + Z_STRLEN_PP(a_encoding))) {
1016 } else if (php_memnstr(Z_STRVAL_PP(a_encoding), "deflate", 7, Z_STRVAL_PP(a_encoding) + Z_STRLEN_PP(a_encoding))) {
1123 if (php_memnstr(Z_STRVAL_PP(a_encoding), "gzip", 4, Z_STRVAL_PP(a_encoding) + Z_STRLEN_PP(a_encoding))) {
1125 } else if (php_memnstr(Z_STRVAL_PP(a_encoding), "deflate", 7, Z_STRVAL_PP(a_encoding) + Z_STRLEN_PP(a_encoding))) {
/PHP_5_3/ext/zip/
H A Dphp_zip.c381 if (Z_STRLEN_PP(option) < 1) {
386 if (Z_STRLEN_PP(option) >= MAXPATHLEN) {
388 MAXPATHLEN - 1, Z_STRLEN_PP(option));
391 *remove_path_len = Z_STRLEN_PP(option);
401 if (Z_STRLEN_PP(option) < 1) {
406 if (Z_STRLEN_PP(option) >= MAXPATHLEN) {
408 MAXPATHLEN - 1, Z_STRLEN_PP(option));
411 *add_path_len = Z_STRLEN_PP(option);
1718 php_basename(Z_STRVAL_PP(zval_file), Z_STRLEN_PP(zval_file), NULL, 0,
1723 file_stripped_len = Z_STRLEN_PP(zval_fil
[all...]
/PHP_5_3/ext/phar/
H A Dphar_object.c78 code = Z_STRLEN_PP(stuff);
80 if (Z_STRLEN_PP(stuff) > entry_len && !memcmp(Z_STRVAL_PP(stuff), entry, entry_len)) {
92 code = Z_STRLEN_PP(stuff);
93 Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry);
108 code = Z_STRLEN_PP(stuff);
110 if (Z_STRLEN_PP(stuff) > basename_len && !memcmp(Z_STRVAL_PP(stuff), basename, basename_len)) {
111 ZVAL_STRINGL(*stuff, Z_STRVAL_PP(stuff) + basename_len, Z_STRLEN_PP(stuff) - basename_len, 1);
124 code = Z_STRLEN_PP(stuff);
126 if (Z_STRLEN_PP(stuff) > basename_len && !memcmp(Z_STRVAL_PP(stuff), basename, basename_len)) {
127 ZVAL_STRINGL(*stuff, Z_STRVAL_PP(stuff) + basename_len, Z_STRLEN_PP(stuf
[all...]
/PHP_5_3/ext/pdo_pgsql/
H A Dpgsql_driver.c565 if (buffer_len < Z_STRLEN_PP(tmp)) {
566 buffer_len = Z_STRLEN_PP(tmp);
569 memcpy(query, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp));
570 query_len = Z_STRLEN_PP(tmp);
/PHP_5_3/ext/intl/locale/
H A Dlocale_methods.c775 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value));
815 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value));
831 smart_str_appendl(loc_name, Z_STRVAL_PP(data) , Z_STRLEN_PP(data));
865 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value));
1442 cur_arr[cur_arr_len*2] = estrndup(Z_STRVAL_PP(ele_value), Z_STRLEN_PP(ele_value));

Completed in 43 milliseconds

1234