| /PHP_5_3/ext/intl/collator/ |
| H A D | collator_convert.c | 61 old_val = Z_STRVAL_P( *hashData ); 105 old_val = Z_STRVAL_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 D | intl_common.h | 41 #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str)
|
| /PHP_5_3/ext/bcmath/ |
| H A D | bcmath.c | 233 Z_STRVAL_P(return_value) = bc_num2str(result); 234 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value)); 272 Z_STRVAL_P(return_value) = bc_num2str(result); 273 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value)); 311 Z_STRVAL_P(return_value) = bc_num2str(result); 312 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value)); 350 Z_STRVAL_P(return_value) = bc_num2str(result); 351 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value)); 386 Z_STRVAL_P(return_value) = bc_num2str(result); 387 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_valu [all...] |
| /PHP_5_3/ext/bz2/ |
| H A D | bz2.c | 345 Z_STRVAL_P(return_value) = emalloc(len + 1); 346 Z_STRLEN_P(return_value) = php_stream_read(stream, Z_STRVAL_P(return_value), len); 349 efree(Z_STRVAL_P(return_value)); 354 Z_STRVAL_P(return_value)[Z_STRLEN_P(return_value)] = 0; 357 Z_STRVAL_P(return_value) = php_addslashes( Z_STRVAL_P(return_value),
|
| /PHP_5_3/ext/dom/ |
| H A D | processinginstruction.c | 168 xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
|
| /PHP_5_3/ext/filter/ |
| H A D | logical_filters.c | 196 p = Z_STRVAL_P(value); 234 char *str = Z_STRVAL_P(value); 316 str = Z_STRVAL_P(value); 431 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3); 452 url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value)); 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(value))) { 679 } else if (memchr(Z_STRVAL_P(value), '.', Z_STRLEN_P(value))) { 695 if (!_php_filter_validate_ipv4(Z_STRVAL_P(value), Z_STRLEN_P(value), ip)) { 728 res = _php_filter_validate_ipv6(Z_STRVAL_P(valu [all...] |
| H A D | sanitizing_filters.c | 34 unsigned char *s = (unsigned char *)Z_STRVAL_P(value); 54 efree(Z_STRVAL_P(value)); 55 Z_STRVAL_P(value) = str.c; 91 s = (unsigned char *)Z_STRVAL_P(value); 105 efree(Z_STRVAL_P(value)); 106 Z_STRVAL_P(value) = (char *)str; 120 str = (unsigned char *)Z_STRVAL_P(value); 134 efree(Z_STRVAL_P(value)); 135 Z_STRVAL_P(value) = (char *)buf; 161 str = (unsigned char *)Z_STRVAL_P(valu [all...] |
| /PHP_5_3/ext/interbase/ |
| H A D | ibase_query.c | 515 if (!sscanf(Z_STRVAL_P(val), "%Lf", &l)) { 517 TSRMLS_CC, Z_STRVAL_P(val)); 562 if (!sscanf(Z_STRVAL_P(val), "%" LL_MASK "d", &l)) { 564 TSRMLS_CC, Z_STRVAL_P(val)); 582 strptime(Z_STRVAL_P(val), INI_STR("ibase.timestampformat"), &t); 584 n = sscanf(Z_STRVAL_P(val), "%d%*[/]%d%*[/]%d %d%*[:]%d%*[:]%d", 589 " Use format 'm/d/Y H:i:s'. You gave '%s')" TSRMLS_CC, n, Z_STRVAL_P(val)); 600 strptime(Z_STRVAL_P(val), INI_STR("ibase.dateformat"), &t); 602 n = sscanf(Z_STRVAL_P(val), "%d%*[/]%d%*[/]%d", &t.tm_mon, &t.tm_mday, &t.tm_year); 606 "Use format 'm/d/Y' You gave '%s')" TSRMLS_CC, n, Z_STRVAL_P(va [all...] |
| /PHP_5_3/ext/pdo/ |
| H A D | pdo_sql_parser.c | 598 plc->quoted = Z_STRVAL_P(param->parameter); 604 if (!stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter), 616 plc->quoted = Z_STRVAL_P(param->parameter); 803 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter), 811 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); 839 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter), 847 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
|
| H A D | pdo_sql_parser.re | 245 plc->quoted = Z_STRVAL_P(param->parameter); 251 if (!stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter), 263 plc->quoted = Z_STRVAL_P(param->parameter); 450 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter), 458 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); 486 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter), 494 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
|
| /PHP_5_3/ext/pdo_oci/ |
| H A D | oci_statement.c | 211 *bufpp = Z_STRVAL_P(param->parameter); 248 Z_STRVAL_P(param->parameter) = ecalloc(1, Z_STRLEN_P(param->parameter)+1); 253 *bufpp = Z_STRVAL_P(param->parameter); 344 && Z_STRVAL_P(param->parameter) != empty_string 348 *Z_STRVAL_P(param->parameter) = '\0'; 354 && Z_STRVAL_P(param->parameter) != empty_string 358 Z_STRVAL_P(param->parameter) = erealloc(Z_STRVAL_P(param->parameter), P->actual_len+1); 359 Z_STRVAL_P(param->parameter)[P->actual_len] = '\0'; 406 consume = Z_STRVAL_P(para [all...] |
| /PHP_5_3/ext/pdo_odbc/ |
| H A D | odbc_stmt.c | 191 Z_STRVAL_P(param->parameter), 195 SQLPutData(S->stmt, Z_STRVAL_P(param->parameter), 432 memcpy(P->outbuf, Z_STRVAL_P(param->parameter), P->len); 444 Z_STRVAL_P(param->parameter), 450 memcpy(P->outbuf, Z_STRVAL_P(param->parameter), P->len); 491 Z_STRVAL_P(param->parameter) = erealloc(Z_STRVAL_P(param->parameter), srclen+1); 492 memcpy(Z_STRVAL_P(param->parameter), srcbuf, srclen); 494 Z_STRVAL_P(param->parameter)[srclen] = '\0'; 745 rc = SQLSetCursorName(S->stmt, Z_STRVAL_P(va [all...] |
| /PHP_5_3/ext/pdo_sqlite/ |
| H A D | sqlite_statement.c | 130 &Z_STRVAL_P(param->parameter), PHP_STREAM_COPY_ALL, 0); 146 Z_STRVAL_P(param->parameter), 163 Z_STRVAL_P(param->parameter),
|
| /PHP_5_3/ext/session/ |
| H A D | mod_user.c | 135 *val = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval));
|
| /PHP_5_3/ext/spl/ |
| H A D | spl_engine.c | 50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx);
|
| /PHP_5_3/ext/standard/ |
| H A D | browscap.c | 90 php_strtolower(Z_STRVAL_P(pattern), Z_STRLEN_P(pattern)); 98 switch (Z_STRVAL_P(pattern)[i]) { 127 t[j] = Z_STRVAL_P(pattern)[i]; 136 Z_STRVAL_P(pattern) = t; 157 if (!strcasecmp(Z_STRVAL_P(arg1), "parent") && 159 !strcasecmp(bdata->current_section_name, Z_STRVAL_P(arg2)) 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)) 176 Z_STRVAL_P(new_propert [all...] |
| H A D | filestat.c | 424 if (getgrnam_r(Z_STRVAL_P(group), &gr, grbuf, grbuflen, &retgrptr) != 0 || retgrptr == NULL) { 425 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find gid for %s", Z_STRVAL_P(group)); 432 struct group *gr = getgrnam(Z_STRVAL_P(group)); 435 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find gid for %s", Z_STRVAL_P(group)); 529 if (getpwnam_r(Z_STRVAL_P(user), &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { 530 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find uid for %s", Z_STRVAL_P(user)); 537 struct passwd *pw = getpwnam(Z_STRVAL_P(user)); 540 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find uid for %s", Z_STRVAL_P(user));
|
| H A D | string.c | 946 endp = Z_STRVAL_P(str) + Z_STRLEN_P(str); 948 p1 = Z_STRVAL_P(str); 949 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp); 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); 975 p1 = Z_STRVAL_P(str); 976 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp); 995 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(deli [all...] |
| /PHP_5_3/ext/wddx/ |
| H A D | wddx.c | 410 buf = php_escape_html_entities(Z_STRVAL_P(var), Z_STRLEN_P(var), &buf_len, 0, ENT_QUOTES, NULL TSRMLS_CC); 702 if (zend_hash_find(EG(active_symbol_table), Z_STRVAL_P(name_var), 704 php_wddx_serialize_var(packet, *val, Z_STRVAL_P(name_var), Z_STRLEN_P(name_var) TSRMLS_CC); 756 Z_STRVAL_P(ent.data) = STR_EMPTY_ALLOC(); 766 Z_STRVAL_P(ent.data) = STR_EMPTY_ALLOC(); 940 new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len); 941 STR_FREE(Z_STRVAL_P(ent1->data)); 942 Z_STRVAL_P(ent1->data) = new_str; 981 zend_str_tolower(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data)); 982 if (zend_hash_find(EG(class_table), Z_STRVAL_P(ent [all...] |
| /PHP_5_3/main/ |
| H A D | php_ini.c | 198 free(Z_STRVAL_P(zvalue)); 230 if (!is_special_section && !strcasecmp(Z_STRVAL_P(arg1), PHP_EXTENSION_TOKEN)) { /* load PHP extension */ 231 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); 233 } else if (!is_special_section && !strcasecmp(Z_STRVAL_P(arg1), ZEND_EXTENSION_TOKEN)) { /* load Zend extension */ 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)); 255 /* fprintf(stdout, "ZEND_INI_PARSER_POP_ENTRY: %s[%s] = %s\n",Z_STRVAL_P(arg1), Z_STRVAL_P(arg [all...] |
| /PHP_5_3/Zend/ |
| H A D | zend_ini_parser.y | 54 i_op1 = atoi(Z_STRVAL_P(op1)); 55 free(Z_STRVAL_P(op1)); 57 i_op2 = atoi(Z_STRVAL_P(op2)); 58 free(Z_STRVAL_P(op2)); 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; 93 Z_STRVAL_P(result) = malloc(1); 94 Z_STRVAL_P(result)[0] = 0; 106 Z_STRVAL_P(resul [all...] |
| H A D | zend_operators.c | 157 strval = Z_STRVAL_P(op); 191 if ((Z_TYPE(holder)=is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &Z_LVAL(holder), &Z_DVAL(holder), 1)) == 0) { \ 232 Z_LVAL(holder) = strtol(Z_STRVAL_P(op), NULL, 10); \ 275 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { \ 357 char *strval = Z_STRVAL_P(op); 417 char *strval = Z_STRVAL_P(op); 501 char *strval = Z_STRVAL_P(op); 504 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { 548 Z_STRVAL_P(op) = STR_EMPTY_ALLOC(); 555 Z_STRVAL_P(o [all...] |
| H A D | zend_object_handlers.c | 201 if (Z_STRVAL_P(member)[0] == '\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) { 226 zend_error(E_STRICT, "Accessing static property %s::$%s as non static", ce->name, Z_STRVAL_P(member)); 239 && zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS 248 zend_error(E_ERROR, "Cannot access %s property %s::$%s", zend_visibility_string(property_info->flags), ce->name, Z_STRVAL_P(member)); 254 EG(std_property_info).name = Z_STRVAL_P(member); 296 info.name = Z_STRVAL_P(member); 298 info.h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1); 346 fprintf(stderr, "Read object #%d property: %s\n", Z_OBJ_HANDLE_P(object), Z_STRVAL_P(membe [all...] |
| H A D | zend_exceptions.c | 609 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", 614 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", 796 zend_update_property_string(default_exception_ce, exception, "string", sizeof("string")-1, EG(exception) ? ce_exception->name : Z_STRVAL_P(str) TSRMLS_CC); 814 zend_error_va(E_WARNING, file ? Z_STRVAL_P(file) : NULL, line ? Z_LVAL_P(line) : 0, "Uncaught %s in exception handling during call to %s::__tostring()", Z_OBJCE_P(EG(exception))->name, ce_exception->name); 825 zend_error_va(severity, (Z_STRLEN_P(file) > 0) ? Z_STRVAL_P(file) : NULL, Z_LVAL_P(line), "Uncaught %s\n thrown", Z_STRVAL_P(str));
|
| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_conf.c | 192 char *val = Z_STRVAL_P(value); 218 *config_val = strdup(Z_STRVAL_P(value)); 232 char *val = Z_STRVAL_P(value); 250 char *val = Z_STRVAL_P(value); 267 char *val = Z_STRVAL_P(value); 307 char *val = Z_STRVAL_P(value); 332 char *val = Z_STRVAL_P(value); 482 char *val = Z_STRVAL_P(value); 511 char *val = Z_STRVAL_P(value); 540 kv->key = strdup(Z_STRVAL_P(ke [all...] |