Searched refs:Z_STRLEN_P (Results 1 - 25 of 124) sorted by relevance

12345

/PHP_5_3/ext/intl/collator/
H A Dcollator_convert.c62 old_val_len = Z_STRLEN_P( *hashData );
106 old_val_len = Z_STRLEN_P( *hashData );
199 (UChar*) Z_STRVAL_P(utf16_zval), UCHARS( Z_STRLEN_P(utf16_zval) ), &status );
228 Z_STRVAL_P( utf8_zval ), Z_STRLEN_P( utf8_zval ),
301 Z_STRVAL_P( zstr ), Z_STRLEN_P( zstr ),
385 if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, 1 ) ) )
/PHP_5_3/ext/intl/
H A Dintl_common.h42 #define INTL_Z_STRLEN_P(str) UCHARS( Z_STRLEN_P(str) )
/PHP_5_3/ext/bcmath/
H A Dbcmath.c234 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
273 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
312 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
351 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
387 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
431 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
475 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
510 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value));
/PHP_5_3/ext/bz2/
H A Dbz2.c346 Z_STRLEN_P(return_value) = php_stream_read(stream, Z_STRVAL_P(return_value), len);
348 if (Z_STRLEN_P(return_value) < 0) {
354 Z_STRVAL_P(return_value)[Z_STRLEN_P(return_value)] = 0;
358 Z_STRLEN_P(return_value),
359 &Z_STRLEN_P(return_value), 1 TSRMLS_CC);
/PHP_5_3/ext/dom/
H A Dattr.c195 xmlNodeSetContentLen((xmlNodePtr) attrp, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
H A Dprocessinginstruction.c168 xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
/PHP_5_3/ext/filter/
H A Dlogical_filters.c181 len = Z_STRLEN_P(value);
235 int len = Z_STRLEN_P(value);
315 len = Z_STRLEN_P(value);
431 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
443 int old_len = Z_STRLEN_P(value);
447 if (Z_TYPE_P(value) != IS_STRING || old_len != Z_STRLEN_P(value)) {
452 url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value));
535 if (Z_STRLEN_P(value) > 320) {
543 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
677 if (memchr(Z_STRVAL_P(value), ':', Z_STRLEN_P(valu
[all...]
H A Dsanitizing_filters.c33 int len = Z_STRLEN_P(value);
37 if (Z_STRLEN_P(value) == 0) {
56 Z_STRLEN_P(value) = str.len;
90 p = str = (unsigned char *) safe_emalloc(3, Z_STRLEN_P(value), 1);
92 e = s + Z_STRLEN_P(value);
107 Z_STRLEN_P(value) = p - str;
121 buf = safe_emalloc(1, Z_STRLEN_P(value) + 1, 1);
123 for (i = 0; i < Z_STRLEN_P(value); i++) {
136 Z_STRLEN_P(value) = c;
162 buf = safe_emalloc(1, Z_STRLEN_P(valu
[all...]
/PHP_5_3/ext/pdo/
H A Dpdo_sql_parser.c597 plc->qlen = Z_STRLEN_P(param->parameter);
605 Z_STRLEN_P(param->parameter), &plc->quoted, &plc->qlen,
617 plc->qlen = Z_STRLEN_P(param->parameter);
768 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
804 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen TSRMLS_CC))
811 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
812 ptr += Z_STRLEN_P(param->parameter);
813 *outquery_len += (Z_STRLEN_P(param->parameter));
840 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen TSRMLS_CC))
847 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(para
[all...]
H A Dpdo_sql_parser.re244 plc->qlen = Z_STRLEN_P(param->parameter);
252 Z_STRLEN_P(param->parameter), &plc->quoted, &plc->qlen,
264 plc->qlen = Z_STRLEN_P(param->parameter);
415 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
451 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen TSRMLS_CC))
458 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
459 ptr += Z_STRLEN_P(param->parameter);
460 *outquery_len += (Z_STRLEN_P(param->parameter));
487 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen TSRMLS_CC))
494 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(para
[all...]
/PHP_5_3/ext/pdo_odbc/
H A Dodbc_stmt.c192 Z_STRLEN_P(param->parameter),
196 Z_STRLEN_P(param->parameter));
431 P->len = Z_STRLEN_P(param->parameter);
434 P->len = SQL_LEN_DATA_AT_EXEC(Z_STRLEN_P(param->parameter));
445 Z_STRLEN_P(param->parameter),
449 P->len = Z_STRLEN_P(param->parameter);
458 P->len = SQL_LEN_DATA_AT_EXEC(Z_STRLEN_P(param->parameter));
493 Z_STRLEN_P(param->parameter) = srclen;
745 rc = SQLSetCursorName(S->stmt, Z_STRVAL_P(val), Z_STRLEN_P(val));
/PHP_5_3/ext/pdo_sqlite/
H A Dsqlite_statement.c129 Z_STRLEN_P(param->parameter) = php_stream_copy_to_mem(stm,
147 Z_STRLEN_P(param->parameter),
164 Z_STRLEN_P(param->parameter),
/PHP_5_3/ext/session/
H A Dmod_user.c135 *val = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval));
136 *vallen = Z_STRLEN_P(retval);
/PHP_5_3/ext/spl/
H A Dspl_engine.c50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx);
/PHP_5_3/ext/standard/
H A Dincomplete_class.c170 Z_STRLEN_P(val) = len;
H A Dstring.c946 endp = Z_STRVAL_P(str) + Z_STRLEN_P(str);
949 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
952 add_next_index_stringl(return_value, p1, Z_STRLEN_P(str), 1);
956 p1 = p2 + Z_STRLEN_P(delim);
957 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL &&
973 endp = Z_STRVAL_P(str) + Z_STRLEN_P(str);
976 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
994 positions[found++] = p1 = p2 + Z_STRLEN_P(delim);
995 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL);
1001 (positions[i+1] - Z_STRLEN_P(deli
[all...]
H A Dbrowscap.c90 php_strtolower(Z_STRVAL_P(pattern), Z_STRLEN_P(pattern));
92 t = (char *) safe_pemalloc(Z_STRLEN_P(pattern), 2, 5, persistent);
97 for (i=0; i<Z_STRLEN_P(pattern); i++, j++) {
137 Z_STRLEN_P(pattern) = j;
172 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) ||
173 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) ||
174 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1))
177 Z_STRLEN_P(new_property) = 1;
179 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) ||
180 (Z_STRLEN_P(arg
[all...]
/PHP_5_3/ext/wddx/
H A Dwddx.c406 if (Z_STRLEN_P(var) > 0) {
410 buf = php_escape_html_entities(Z_STRVAL_P(var), Z_STRLEN_P(var), &buf_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
703 Z_STRLEN_P(name_var)+1, (void**)&val) != FAILURE) {
704 php_wddx_serialize_var(packet, *val, Z_STRVAL_P(name_var), Z_STRLEN_P(name_var) TSRMLS_CC);
757 Z_STRLEN_P(ent.data) = 0;
767 Z_STRLEN_P(ent.data) = 0;
940 new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len);
943 Z_STRLEN_P(ent1->data) = new_len;
978 Z_TYPE_P(ent1->data) == IS_STRING && Z_STRLEN_P(ent1->data)) {
981 zend_str_tolower(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent
[all...]
/PHP_5_3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c535 xReturn = XMLRPC_CreateValueBase64(key, Z_STRVAL_P(val), Z_STRLEN_P(val));
556 xReturn = XMLRPC_CreateValueString(key, Z_STRVAL_P(val), Z_STRLEN_P(val));
647 Z_STRLEN_P(elem) = XMLRPC_GetValueStringLen(el);
648 Z_STRVAL_P(elem) = estrndup(pStr, Z_STRLEN_P(elem));
665 Z_STRLEN_P(elem) = XMLRPC_GetValueStringLen(el);
666 Z_STRVAL_P(elem) = estrndup(XMLRPC_GetValueDateTime_ISO8601(el), Z_STRLEN_P(elem));
672 Z_STRLEN_P(elem) = XMLRPC_GetValueStringLen(el);
673 Z_STRVAL_P(elem) = estrndup(pStr, Z_STRLEN_P(elem));
798 Z_STRLEN_P(method_name_out) = strlen(Z_STRVAL_P(method_name_out));
937 Z_STRLEN_P(pDat
[all...]
/PHP_5_3/main/
H A Dphp_ini.c231 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2));
234 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2));
240 zend_hash_update(active_hash, Z_STRVAL_P(arg1), Z_STRLEN_P(arg1) + 1, arg2, sizeof(zval), (void **) &entry);
241 Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
258 if (zend_hash_find(active_hash, Z_STRVAL_P(arg1), Z_STRLEN_P(arg1) + 1, (void **) &find_arr) == FAILURE || Z_TYPE_P(find_arr) != IS_ARRAY) {
264 zend_hash_update(active_hash, Z_STRVAL_P(arg1), Z_STRLEN_P(arg1) + 1, option_arr, sizeof(zval), (void **) &find_arr);
269 if (arg3 && Z_STRLEN_P(arg3) > 0) {
270 zend_symtable_update(Z_ARRVAL_P(find_arr), Z_STRVAL_P(arg3), Z_STRLEN_P(arg3) + 1, arg2, sizeof(zval), (void **) &entry);
274 Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
289 key_len = Z_STRLEN_P(arg
[all...]
/PHP_5_3/Zend/
H A Dzend.c219 Z_STRLEN_P(expr_copy) = 0;
224 Z_STRLEN_P(expr_copy) = 1;
227 Z_STRLEN_P(expr_copy) = 0;
233 Z_STRLEN_P(expr_copy) = sprintf(Z_STRVAL_P(expr_copy), "Resource id #%ld", Z_LVAL_P(expr));
236 Z_STRLEN_P(expr_copy) = sizeof("Array") - 1;
237 Z_STRVAL_P(expr_copy) = estrndup("Array", Z_STRLEN_P(expr_copy));
269 Z_STRLEN_P(expr_copy) = 0;
304 if (Z_STRLEN_P(expr) == 0) { /* optimize away empty strings */
310 write_func(Z_STRVAL_P(expr), Z_STRLEN_P(expr));
314 return Z_STRLEN_P(exp
[all...]
H A Dzend_ini_parser.y81 Z_STRLEN_P(result) = zend_sprintf(str_result, "%d", i_result);
82 Z_STRVAL_P(result) = (char *) malloc(Z_STRLEN_P(result)+1);
83 memcpy(Z_STRVAL_P(result), str_result, Z_STRLEN_P(result));
84 Z_STRVAL_P(result)[Z_STRLEN_P(result)] = 0;
95 Z_STRLEN_P(result) = 0;
104 int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2);
107 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2));
109 Z_STRLEN_P(resul
[all...]
H A Dzend_ini_scanner.l136 Z_STRLEN_P(retval) = len; \
273 end = s + Z_STRLEN_P(lval);
292 Z_STRLEN_P(lval)--;
H A Dzend_operators.c158 if ((Z_TYPE_P(op)=is_numeric_string(strval, Z_STRLEN_P(op), &Z_LVAL_P(op), &Z_DVAL_P(op), 1)) == 0) {
191 if ((Z_TYPE(holder)=is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &Z_LVAL(holder), &Z_DVAL(holder), 1)) == 0) { \
274 if (Z_STRLEN_P(op) == 0 \
275 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { \
503 if (Z_STRLEN_P(op) == 0
504 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) {
549 Z_STRLEN_P(op) = 0;
556 Z_STRLEN_P(op) = 1;
559 Z_STRLEN_P(op) = 0;
567 Z_STRLEN_P(o
[all...]
H A Dzend_object_handlers.c203 if (Z_STRLEN_P(member) == 0) {
211 h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1);
212 if (zend_hash_quick_find(&ce->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &property_info)==SUCCESS) {
239 && zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS
255 EG(std_property_info).name_length = Z_STRLEN_P(member);
297 info.name_length = Z_STRLEN_P(member);
298 info.h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1);
395 if (Z_STRLEN_P(member) == 0) {
493 if (Z_STRLEN_P(member) == 0) {
674 if (Z_STRLEN_P(membe
[all...]

Completed in 34 milliseconds

12345