Lines Matching refs:p

669 	char *p, *p1, *p2, *endp, *tmpstr;  in php_mb_parse_encoding_list()  local
709 p2 = p = php_memnstr(p1, ",", 1, endp); in php_mb_parse_encoding_list()
710 if (p == NULL) { in php_mb_parse_encoding_list()
711 p = endp; in php_mb_parse_encoding_list()
713 *p = '\0'; in php_mb_parse_encoding_list()
715 while (p1 < p && (*p1 == ' ' || *p1 == '\t')) { in php_mb_parse_encoding_list()
718 p--; in php_mb_parse_encoding_list()
719 while (p > p1 && (*p == ' ' || *p == '\t')) { in php_mb_parse_encoding_list()
720 *p = '\0'; in php_mb_parse_encoding_list()
721 p--; in php_mb_parse_encoding_list()
1591 const struct mb_overload_def *p; in PHP_RINIT_FUNCTION() local
1604 p = &(mb_ovld[0]); in PHP_RINIT_FUNCTION()
1606 while (p->type > 0) { in PHP_RINIT_FUNCTION()
1607 if ((MBSTRG(func_overload) & p->type) == p->type && in PHP_RINIT_FUNCTION()
1608 zend_hash_find(EG(function_table), p->save_func, in PHP_RINIT_FUNCTION()
1609 strlen(p->save_func)+1, (void **)&orig) != SUCCESS) { in PHP_RINIT_FUNCTION()
1611 zend_hash_find(EG(function_table), p->ovld_func, strlen(p->ovld_func)+1 , (void **)&func); in PHP_RINIT_FUNCTION()
1613 …if (zend_hash_find(EG(function_table), p->orig_func, strlen(p->orig_func)+1, (void **)&orig) != SU… in PHP_RINIT_FUNCTION()
1614 …php_error_docref("ref.mbstring" TSRMLS_CC, E_WARNING, "mbstring couldn't find function %s.", p->or… in PHP_RINIT_FUNCTION()
1617 …zend_hash_add(EG(function_table), p->save_func, strlen(p->save_func)+1, orig, sizeof(zend_function… in PHP_RINIT_FUNCTION()
1619 …if (zend_hash_update(EG(function_table), p->orig_func, strlen(p->orig_func)+1, func, sizeof(zend_f… in PHP_RINIT_FUNCTION()
1621 …ocref("ref.mbstring" TSRMLS_CC, E_WARNING, "mbstring couldn't replace function %s.", p->orig_func); in PHP_RINIT_FUNCTION()
1626 p++; in PHP_RINIT_FUNCTION()
1641 const struct mb_overload_def *p; in PHP_RSHUTDOWN_FUNCTION() local
1664 p = &(mb_ovld[0]); in PHP_RSHUTDOWN_FUNCTION()
1665 while (p->type > 0) { in PHP_RSHUTDOWN_FUNCTION()
1666 if ((MBSTRG(func_overload) & p->type) == p->type && in PHP_RSHUTDOWN_FUNCTION()
1667 zend_hash_find(EG(function_table), p->save_func, in PHP_RSHUTDOWN_FUNCTION()
1668 strlen(p->save_func)+1, (void **)&orig) == SUCCESS) { in PHP_RSHUTDOWN_FUNCTION()
1670 …zend_hash_update(EG(function_table), p->orig_func, strlen(p->orig_func)+1, orig, sizeof(zend_funct… in PHP_RSHUTDOWN_FUNCTION()
1671 zend_hash_del(EG(function_table), p->save_func, strlen(p->save_func)+1); in PHP_RSHUTDOWN_FUNCTION()
1673 p++; in PHP_RSHUTDOWN_FUNCTION()
2095 char *p; in PHP_FUNCTION() local
2139 len = spprintf( &p, 0, "Content-Type: %s; charset=%s", mimetype, charset ); in PHP_FUNCTION()
2140 if (sapi_add_header(p, len, 0) != FAILURE) { in PHP_FUNCTION()
3404 char *p = optstr; in PHP_FUNCTION() local
3410 switch (*p++) { in PHP_FUNCTION()
4039 char *message_buf = NULL, *subject_buf = NULL, *p; in PHP_FUNCTION() local
4099 p = strchr(s->c, ';'); in PHP_FUNCTION()
4101 if (p != NULL) { in PHP_FUNCTION()
4104 ++p; in PHP_FUNCTION()
4105 } while (*p == ' ' || *p == '\t'); in PHP_FUNCTION()
4107 if (*p != '\0') { in PHP_FUNCTION()
4108 if ((param_name = php_strtok_r(p, "= ", &tmp)) != NULL) { in PHP_FUNCTION()
4235 p = headers; in PHP_FUNCTION()
4237 mbfl_memory_device_strncat(&device, p, n); in PHP_FUNCTION()
4238 if (n > 0 && p[n - 1] != '\n') { in PHP_FUNCTION()
4251 p = (char *)mbfl_no2preferred_mime_name(tran_cs); in PHP_FUNCTION()
4252 if (p != NULL) { in PHP_FUNCTION()
4254 mbfl_memory_device_strcat(&device, p); in PHP_FUNCTION()
4260 p = (char *)mbfl_no2preferred_mime_name(body_enc); in PHP_FUNCTION()
4261 if (p == NULL) { in PHP_FUNCTION()
4262 p = "7bit"; in PHP_FUNCTION()
4264 mbfl_memory_device_strcat(&device, p); in PHP_FUNCTION()
4610 register const char *p = s; in php_mb_safe_strrchr_ex() local
4616 while (*p != '\0') { in php_mb_safe_strrchr_ex()
4618 if ((unsigned char)*p == (unsigned char)c) { in php_mb_safe_strrchr_ex()
4619 last = (char *)p; in php_mb_safe_strrchr_ex()
4621 nb = php_mb_mbchar_bytes_ex(p, enc); in php_mb_safe_strrchr_ex()
4627 ++p; in php_mb_safe_strrchr_ex()
4633 if ((unsigned char)*p == (unsigned char)c) { in php_mb_safe_strrchr_ex()
4634 last = (char *)p; in php_mb_safe_strrchr_ex()
4636 nbytes_char = php_mb_mbchar_bytes_ex(p, enc); in php_mb_safe_strrchr_ex()
4640 p += nbytes_char; in php_mb_safe_strrchr_ex()