Home
last modified time | relevance | path

Searched refs:Z_STRVAL_P (Results 26 – 50 of 146) sorted by relevance

123456

/PHP-5.5/ext/intl/transliterator/
H A Dtransliterator_class.c259 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) in Transliterator_get_property_ptr_ptr()
292 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) ) in Transliterator_read_property()
325 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) ) in Transliterator_write_property()
/PHP-5.5/ext/bz2/
H A Dbz2.c355 Z_STRVAL_P(return_value) = emalloc(len + 1); in PHP_FUNCTION()
356 Z_STRLEN_P(return_value) = php_stream_read(stream, Z_STRVAL_P(return_value), len); in PHP_FUNCTION()
359 efree(Z_STRVAL_P(return_value)); in PHP_FUNCTION()
364 Z_STRVAL_P(return_value)[Z_STRLEN_P(return_value)] = 0; in PHP_FUNCTION()
/PHP-5.5/Zend/
H A Dzend_execute_API.c488 char *actual = Z_STRVAL_P(p); in zval_update_constant_ex()
491 zend_error(E_ERROR, "Undefined class constant '%s'", Z_STRVAL_P(p)); in zval_update_constant_ex()
492 Z_STRLEN_P(p) -= ((colon - Z_STRVAL_P(p)) + 1); in zval_update_constant_ex()
495 str_efree(Z_STRVAL_P(p)); in zval_update_constant_ex()
496 Z_STRVAL_P(p) = colon; in zval_update_constant_ex()
498 Z_STRVAL_P(p) = colon + 1; in zval_update_constant_ex()
505 actual_len -= (actual - Z_STRVAL_P(p)); in zval_update_constant_ex()
508 Z_STRVAL_P(p) = actual; in zval_update_constant_ex()
514 memmove(Z_STRVAL_P(p), Z_STRVAL_P(p)+1, Z_STRLEN_P(p)); in zval_update_constant_ex()
542 Z_STRVAL_P(p) = actual; in zval_update_constant_ex()
[all …]
H A Dzend.c234 Z_STRVAL_P(expr_copy) = STR_EMPTY_ALLOC(); in zend_make_printable_zval()
239 Z_STRVAL_P(expr_copy) = estrndup("1", 1); in zend_make_printable_zval()
242 Z_STRVAL_P(expr_copy) = STR_EMPTY_ALLOC(); in zend_make_printable_zval()
246 Z_STRVAL_P(expr_copy) = (char *) emalloc(sizeof("Resource id #") - 1 + MAX_LENGTH_OF_LONG); in zend_make_printable_zval()
247 …Z_STRLEN_P(expr_copy) = snprintf(Z_STRVAL_P(expr_copy), sizeof("Resource id #") - 1 + MAX_LENGTH_O… in zend_make_printable_zval()
252 Z_STRVAL_P(expr_copy) = estrndup("Array", Z_STRLEN_P(expr_copy)); in zend_make_printable_zval()
291 Z_STRVAL_P(expr_copy) = STR_EMPTY_ALLOC(); in zend_make_printable_zval()
331 write_func(Z_STRVAL_P(expr), Z_STRLEN_P(expr)); in zend_print_zval_ex()
1150 Z_STRLEN_P(z_error_message) = zend_vspprintf(&Z_STRVAL_P(z_error_message), 0, format, usr_copy); in zend_error()
H A Dzend_exceptions.c709 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", in ZEND_METHOD()
714 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", in ZEND_METHOD()
898 …ion, "string", sizeof("string")-1, EG(exception) ? ce_exception->name : Z_STRVAL_P(str) TSRMLS_CC); in zend_exception_error()
916 …zend_error_va(E_WARNING, file ? Z_STRVAL_P(file) : NULL, line ? Z_LVAL_P(line) : 0, "Uncaught %s i… in zend_exception_error()
927 …va(severity, (Z_STRLEN_P(file) > 0) ? Z_STRVAL_P(file) : NULL, Z_LVAL_P(line), "Uncaught %s\n thr… in zend_exception_error()
H A Dzend_API.h535 …if (Z_STRVAL_P(z)[ Z_STRLEN_P(z) ] != '\0') { zend_error(E_WARNING, "String is not zero-terminated…
537 …if (Z_STRVAL_P(z)[ Z_STRLEN_P(z) ] != '\0') { zend_error(E_WARNING, "String is not zero-terminated…
543 #define CHECK_ZVAL_NULL_PATH(p) (Z_STRLEN_P(p) != strlen(Z_STRVAL_P(p)))
578 Z_STRVAL_P(__z) = (duplicate?estrndup(__s, Z_STRLEN_P(__z)):(char*)__s);\
586 Z_STRVAL_P(__z) = (duplicate?estrndup(__s, __l):(char*)__s);\
593 Z_STRVAL_P(__z) = STR_EMPTY_ALLOC();\
H A Dzend_compile.c339 Z_STRVAL_P(z) = (char*)zend_new_interned_string(Z_STRVAL_P(zv), Z_STRLEN_P(zv) + 1, 1 TSRMLS_CC); in zend_insert_literal()
455 if (Z_STRVAL_P(zv)[0] == '\\') { in zend_add_class_name_literal()
490 if (Z_STRVAL_P(zv)[0] == '\\') { in zend_add_const_name_literal()
492 name = Z_STRVAL_P(zv) + 1; in zend_add_const_name_literal()
495 name = Z_STRVAL_P(zv); in zend_add_const_name_literal()
5533 if (Z_STRVAL_P(const_name)[0] == '\\') { in zend_get_ct_const()
7057 …t use %s as %s because '%s' is a special class name", Z_STRVAL_P(ns), Z_STRVAL_P(name), Z_STRVAL_P in zend_do_use()
7072 …ERROR, "Cannot use %s as %s because the name is already in use", Z_STRVAL_P(ns), Z_STRVAL_P(name)); in zend_do_use()
7084 …ERROR, "Cannot use %s as %s because the name is already in use", Z_STRVAL_P(ns), Z_STRVAL_P(name)); in zend_do_use()
7090 …ERROR, "Cannot use %s as %s because the name is already in use", Z_STRVAL_P(ns), Z_STRVAL_P(name)); in zend_do_use()
[all …]
H A Dzend_ini_scanner.l135 Z_STRVAL_P(retval) = zend_strndup(str, len); \
272 s = t = Z_STRVAL_P(lval); in zend_ini_escape_string()
/PHP-5.5/ext/pdo/
H A Dpdo_sql_parser.c624 plc->quoted = Z_STRVAL_P(param->parameter); in pdo_parse_params()
811 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
819 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
847 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
855 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
H A Dpdo_sql_parser.re266 plc->quoted = Z_STRVAL_P(param->parameter);
453 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
461 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
489 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
497 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
/PHP-5.5/ext/mysql/
H A Dphp_mysql.c1846 Z_STRVAL_P(return_value) = (char *) safe_emalloc(str_len, 2, 1);
1847 Z_STRLEN_P(return_value) = mysql_escape_string(Z_STRVAL_P(return_value), str, str_len);
1947 if ((tmp=strchr(Z_STRVAL_P(field), '.'))) {
1948 table_name = estrndup(Z_STRVAL_P(field), tmp-Z_STRVAL_P(field));
1952 field_name = estrndup(Z_STRVAL_P(field),Z_STRLEN_P(field));
2498 Z_STRVAL_P(return_value) = estrndup(mysql_field->name, Z_STRLEN_P(return_value));
2503 Z_STRVAL_P(return_value) = estrndup(mysql_field->table, Z_STRLEN_P(return_value));
2511 Z_STRVAL_P(return_value) = php_mysql_get_field_name(Z_TYPE_P(mysql_field));
2512 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
2513 Z_STRVAL_P(return_value) = estrndup(Z_STRVAL_P(return_value), Z_STRLEN_P(return_value));
[all …]
/PHP-5.5/ext/intl/common/
H A Dcommon_date.cpp189 type = is_numeric_string(Z_STRVAL_P(z), Z_STRLEN_P(z), &lv, &rv, 0);
197 Z_STRVAL_P(z));
/PHP-5.5/ext/standard/
H A Dhttp.c193 ekey = php_raw_url_encode(Z_STRVAL_P(copyzval), Z_STRLEN_P(copyzval), &ekey_len); in php_url_encode_hash_ex()
195 ekey = php_url_encode(Z_STRVAL_P(copyzval), Z_STRLEN_P(copyzval), &ekey_len); in php_url_encode_hash_ex()
H A Dfilestat.c445 value = Z_STRVAL_P(group); in php_do_chgrp()
471 if(php_get_gid_by_name(Z_STRVAL_P(group), &gid TSRMLS_CC) != SUCCESS) { in php_do_chgrp()
472 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find gid for %s", Z_STRVAL_P(group)); in php_do_chgrp()
582 value = Z_STRVAL_P(user); in php_do_chown()
609 if(php_get_uid_by_name(Z_STRVAL_P(user), &uid TSRMLS_CC) != SUCCESS) { in php_do_chown()
610 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find uid for %s", Z_STRVAL_P(user)); in php_do_chown()
H A Dincomplete_class.c169 Z_STRVAL_P(val) = estrndup(name, len); in php_store_class_name()
/PHP-5.5/ext/pgsql/
H A Dpgsql.c1568 if (Z_STRVAL_P(return_value)) {
1570 Z_STRVAL_P(return_value) = (char *) estrdup(Z_STRVAL_P(return_value));
2410 Z_STRVAL_P(return_value) = estrndup(Z_STRVAL_P(return_value),Z_STRLEN_P(return_value));
2430 Z_STRVAL_P(return_value) = s.c;
2996 if (Z_STRVAL_P(return_value)) {
3787 Z_STRVAL_P(return_value) = (char *) estrdup(Z_STRVAL_P(return_value));
5394 efree(Z_STRVAL_P(src));
5396 Z_STRVAL_P(src) = str.c;
5663 Z_STRVAL_P(new_val) = tmp;
5962 efree(Z_STRVAL_P(new_val));
[all …]
/PHP-5.5/ext/soap/
H A Dphp_packet_soap.c195 faultstring = Z_STRVAL_P(zv); in parse_packet_soap()
202 faultactor = Z_STRVAL_P(zv); in parse_packet_soap()
225 faultstring = Z_STRVAL_P(zv); in parse_packet_soap()
/PHP-5.5/ext/dom/
H A Dprocessinginstruction.c168 xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1); in dom_processinginstruction_data_write()
/PHP-5.5/ext/simplexml/
H A Dsimplexml.c278 name = Z_STRVAL_P(member); in sxe_prop_dim_read()
432 buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)Z_STRVAL_P(value)); in change_node_zval()
580 …rcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(member)) && matc… in sxe_prop_dim_write()
616 if (!xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { in sxe_prop_dim_write()
644 …ewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL); in sxe_prop_dim_write()
646 …de = xmlNewTextChild(mynode, mynode->ns, (xmlChar *)Z_STRVAL_P(member), value ? (xmlChar *)Z_STRVA… in sxe_prop_dim_write()
653 …ewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL); in sxe_prop_dim_write()
660 …newnode = (xmlNodePtr)xmlNewProp(node, (xmlChar *)Z_STRVAL_P(member), value ? (xmlChar *)Z_STRVAL_… in sxe_prop_dim_write()
709 name = Z_STRVAL_P(member); in sxe_property_get_adr()
822 … if ((node->type == XML_ELEMENT_NODE) && !xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { in sxe_prop_dim_exists()
[all …]
/PHP-5.5/ext/pdo_firebird/
H A Dfirebird_statement.c433 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) { in firebird_bind_blob()
565 var->sqldata = Z_STRVAL_P(param->parameter); in firebird_stmt_param_hook()
643 if (isc_dsql_set_cursor_name(S->H->isc_status, &S->stmt, Z_STRVAL_P(val),0)) { in firebird_stmt_set_attribute()
647 strlcpy(S->name, Z_STRVAL_P(val), sizeof(S->name)); in firebird_stmt_set_attribute()
H A Dfirebird_driver.c511 spprintf(&H->date_format, 0, "%s", Z_STRVAL_P(val)); in firebird_handle_set_attribute()
519 spprintf(&H->time_format, 0, "%s", Z_STRVAL_P(val)); in firebird_handle_set_attribute()
527 spprintf(&H->timestamp_format, 0, "%s", Z_STRVAL_P(val)); in firebird_handle_set_attribute()
/PHP-5.5/ext/oci8/
H A Doci8_statement.c879 *Z_STRVAL_P(val) = '\0'; /* XXX avoid warning in debug mode */ in php_oci_bind_post_exec()
885 && Z_STRVAL_P(bind->zval)[ Z_STRLEN_P(bind->zval) ] != '\0') { in php_oci_bind_post_exec()
892 Z_STRVAL_P(bind->zval) = erealloc(Z_STRVAL_P(bind->zval), Z_STRLEN_P(bind->zval)+1); in php_oci_bind_post_exec()
893 Z_STRVAL_P(bind->zval)[ Z_STRLEN_P(bind->zval) ] = '\0'; in php_oci_bind_post_exec()
1220 *bufpp = Z_STRVAL_P(val); in php_oci_bind_in_callback()
1303 Z_STRVAL_P(val) = ecalloc(1, Z_STRLEN_P(phpbind->zval) + 1); in php_oci_bind_out_callback()
1307 *bufpp = Z_STRVAL_P(phpbind->zval); in php_oci_bind_out_callback()
1341 …column = php_oci_statement_get_column(statement, -1, Z_STRVAL_P(column_index), Z_STRLEN_P(column_i… in php_oci_statement_get_column_helper()
1343 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid column name \"%s\"", Z_STRVAL_P(column_index)… in php_oci_statement_get_column_helper()
/PHP-5.5/ext/mysqli/
H A Dmysqli_driver.c73 MyG(value) = Z_STRVAL_P(value); \
/PHP-5.5/ext/spl/
H A Dspl_array.c320 Z_STRVAL_P(offset) = ""; in spl_array_get_dimension_ptr_ptr()
323 …if (zend_symtable_find(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void **) &retval) == FAILURE… in spl_array_get_dimension_ptr_ptr()
326 zend_error(E_NOTICE, "Undefined index: %s", Z_STRVAL_P(offset)); in spl_array_get_dimension_ptr_ptr()
332 zend_error(E_NOTICE,"Undefined index: %s", Z_STRVAL_P(offset)); in spl_array_get_dimension_ptr_ptr()
336 …zend_symtable_update(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void**)&value, sizeof(void*), … in spl_array_get_dimension_ptr_ptr()
466 …zend_symtable_update(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void**)&value, sizeof(void*), … in spl_array_write_dimension_ex()
526 if (zend_delete_global_variable(Z_STRVAL_P(offset), Z_STRLEN_P(offset) TSRMLS_CC)) { in spl_array_unset_dimension_ex()
527 zend_error(E_NOTICE,"Undefined index: %s", Z_STRVAL_P(offset)); in spl_array_unset_dimension_ex()
530 if (zend_symtable_del(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1) == FAILURE) { in spl_array_unset_dimension_ex()
531 zend_error(E_NOTICE,"Undefined index: %s", Z_STRVAL_P(offset)); in spl_array_unset_dimension_ex()
[all …]
/PHP-5.5/ext/intl/timezone/
H A Dtimezone_methods.cpp320 intl_convert_utf16_to_utf8(&Z_STRVAL_P(return_value), &Z_STRLEN_P(return_value), in PHP_FUNCTION()
404 intl_convert_utf16_to_utf8(&Z_STRVAL_P(return_value), &Z_STRLEN_P(return_value), in PHP_FUNCTION()
572 intl_convert_utf16_to_utf8(&Z_STRVAL_P(return_value), &Z_STRLEN_P(return_value), in PHP_FUNCTION()

Completed in 214 milliseconds

123456