ext              1905 Zend/zend_builtin_functions.c static int add_zendext_info(zend_extension *ext, void *arg TSRMLS_DC)
ext              1908 Zend/zend_builtin_functions.c 	add_next_index_string(name_array, ext->name, 1);
ext              2812 ext/fileinfo/libmagic/apprentice.c private const char ext[] = ".mgc";
ext              2831 ext/fileinfo/libmagic/apprentice.c 	for (p = ext + sizeof(ext) - 1; p >= ext && q >= fn; p--, q--)
ext              2836 ext/fileinfo/libmagic/apprentice.c 	if (p >= ext)
ext              2843 ext/fileinfo/libmagic/apprentice.c 		spprintf(&buf, MAXPATHLEN, "%.*s.mime%s", (int)(q - fn), fn, ext);
ext              2854 ext/fileinfo/libmagic/apprentice.c 	spprintf(&buf, MAXPATHLEN, "%.*s%s", (int)(q - fn), fn, ext);
ext                50 ext/fileinfo/libmagic/apptype.c 			fname[_MAX_FNAME], ext[_MAX_EXT];
ext                61 ext/fileinfo/libmagic/apptype.c 	_splitpath(filename, drive, dir, fname, ext);
ext                65 ext/fileinfo/libmagic/apptype.c 		(*ext == '\0') ? "." : ext);
ext               131 ext/fileinfo/libmagic/apptype.c 		if (stricmp(ext, ".com") == 0)
ext              4084 ext/gd/gd.c    	double ext;
ext              4087 ext/gd/gd.c    	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rd", &fnt, &ext) == FAILURE) {
ext              4095 ext/gd/gd.c    	if (ext <= 0) {
ext              4096 ext/gd/gd.c    		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Second parameter %F out of range (must be > 0)", ext);
ext              4100 ext/gd/gd.c    	if (T1_ExtendFont(*f_ind, ext) != 0) {
ext               426 ext/gd/libgd/gdft.c #define GD_CHECK_FONT_PATH(ext)	\
ext               427 ext/gd/libgd/gdft.c 	snprintf(fullname, sizeof(fullname) - 1, "%s/%s%s", dir, name, ext);	\
ext               107 ext/mysqlnd/mysqlnd.h #define mysqlnd_fetch_into(result, flags, ret_val, ext)	(result)->m.fetch_into((result), (flags), (ret_val), (ext) TSRMLS_CC ZEND_FILE_LINE_CC)
ext               635 ext/mysqlnd/mysqlnd_structs.h typedef void 				(*func_mysqlnd_res__fetch_into)(MYSQLND_RES *result, const unsigned int flags, zval *return_value, enum_mysqlnd_extension ext TSRMLS_DC ZEND_FILE_LINE_DC);
ext               111 ext/mysqlnd/php_mysqlnd.c 	MYSQLND_REVERSE_API **ext;
ext               114 ext/mysqlnd/php_mysqlnd.c 	     zend_hash_get_current_data_ex(ht, (void **) &ext, &pos) == SUCCESS;
ext               120 ext/mysqlnd/php_mysqlnd.c 		smart_str_appends(buffer, (*ext)->module->name);
ext              1183 ext/phar/phar.c 		mydata->ext = memchr(endbuffer, '.', (mydata->fname + fname_len) - endbuffer);
ext              1184 ext/phar/phar.c 		if (mydata->ext == endbuffer) {
ext              1185 ext/phar/phar.c 			mydata->ext = memchr(endbuffer + 1, '.', (mydata->fname + fname_len) - endbuffer - 1);
ext              1187 ext/phar/phar.c 		if (mydata->ext) {
ext              1188 ext/phar/phar.c 			mydata->ext_len = (mydata->fname + mydata->fname_len) - mydata->ext;
ext              1384 ext/phar/phar.c 		mydata->ext = memchr(p, '.', (mydata->fname + fname_len) - p);
ext              1385 ext/phar/phar.c 		if (mydata->ext == p) {
ext              1386 ext/phar/phar.c 			mydata->ext = memchr(p + 1, '.', (mydata->fname + fname_len) - p - 1);
ext              1388 ext/phar/phar.c 		if (mydata->ext) {
ext              1389 ext/phar/phar.c 			mydata->ext_len = (mydata->fname + fname_len) - mydata->ext;
ext              1734 ext/phar/phar.c static int phar_analyze_path(const char *fname, const char *ext, int ext_len, int for_create TSRMLS_DC) /* {{{ */
ext              1738 ext/phar/phar.c 	char *filename = estrndup(fname, (ext - fname) + ext_len);
ext              1796 ext/phar/phar.c 					slash += ((ext - fname) + ext_len);
ext               294 ext/phar/phar_internal.h 	char                     *ext;
ext                41 ext/phar/phar_object.c 	char *ext;
ext                43 ext/phar/phar_object.c 	ext = strrchr(file, '.');
ext                44 ext/phar/phar_object.c 	if (!ext) {
ext                49 ext/phar/phar_object.c 	++ext;
ext                50 ext/phar/phar_object.c 	if (SUCCESS != zend_hash_find(mimes, ext, strlen(ext), (void **) &mime)) {
ext               834 ext/phar/phar_object.c 		const char *ext = zend_memrchr(entry, '.', entry_len);
ext               837 ext/phar/phar_object.c 		if (ext) {
ext               838 ext/phar/phar_object.c 			++ext;
ext               840 ext/phar/phar_object.c 			if (SUCCESS == zend_hash_find(Z_ARRVAL_P(mimeoverride), ext, strlen(ext)+1, (void **) &val)) {
ext              2022 ext/phar/phar_object.c static zval *phar_rename_archive(phar_archive_data **sphar, char *ext, zend_bool compress TSRMLS_DC) /* {{{ */
ext              2033 ext/phar/phar_object.c 	int ext_len = ext ? strlen(ext) : 0;
ext              2038 ext/phar/phar_object.c 	if (!ext) {
ext              2042 ext/phar/phar_object.c 				ext = "zip";
ext              2044 ext/phar/phar_object.c 				ext = "phar.zip";
ext              2052 ext/phar/phar_object.c 						ext = "tar.gz";
ext              2054 ext/phar/phar_object.c 						ext = "phar.tar.gz";
ext              2059 ext/phar/phar_object.c 						ext = "tar.bz2";
ext              2061 ext/phar/phar_object.c 						ext = "phar.tar.bz2";
ext              2066 ext/phar/phar_object.c 						ext = "tar";
ext              2068 ext/phar/phar_object.c 						ext = "phar.tar";
ext              2075 ext/phar/phar_object.c 					ext = "phar.gz";
ext              2078 ext/phar/phar_object.c 					ext = "phar.bz2";
ext              2081 ext/phar/phar_object.c 					ext = "phar";
ext              2084 ext/phar/phar_object.c 	} else if (phar_path_check(&ext, &ext_len, &pcr_error) > pcr_is_ok) {
ext              2087 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "data phar converted from \"%s\" has invalid extension %s", phar->fname, ext);
ext              2089 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "phar converted from \"%s\" has invalid extension %s", phar->fname, ext);
ext              2094 ext/phar/phar_object.c 	if (ext[0] == '.') {
ext              2095 ext/phar/phar_object.c 		++ext;
ext              2104 ext/phar/phar_object.c 	spprintf(&newname, 0, "%s.%s", strtok(basename, "."), ext);
ext              2112 ext/phar/phar_object.c 	phar->ext = newpath + phar->fname_len - strlen(ext) - 1;
ext              2152 ext/phar/phar_object.c 		if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), &(phar->ext_len), 1, 1, 1 TSRMLS_CC)) {
ext              2154 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "phar \"%s\" has invalid extension %s", phar->fname, ext);
ext              2172 ext/phar/phar_object.c 		if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), &(phar->ext_len), 0, 1, 1 TSRMLS_CC)) {
ext              2174 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "data phar \"%s\" has invalid extension %s", phar->fname, ext);
ext              2221 ext/phar/phar_object.c static zval *phar_convert_to_other(phar_archive_data *source, int convert, char *ext, php_uint32 flags TSRMLS_DC) /* {{{ */
ext              2341 ext/phar/phar_object.c 	if ((ret = phar_rename_archive(&phar, ext, 0 TSRMLS_CC))) {
ext              2366 ext/phar/phar_object.c 	char *ext = NULL;
ext              2374 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lls", &format, &method, &ext, &ext_len) == FAILURE) {
ext              2451 ext/phar/phar_object.c 	ret = phar_convert_to_other(phar_obj->arc.archive, format, ext, flags TSRMLS_CC);
ext              2469 ext/phar/phar_object.c 	char *ext = NULL;
ext              2477 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lls", &format, &method, &ext, &ext_len) == FAILURE) {
ext              2553 ext/phar/phar_object.c 	ret = phar_convert_to_other(phar_obj->arc.archive, format, ext, flags TSRMLS_CC);
ext              3206 ext/phar/phar_object.c 	char *ext = NULL;
ext              3212 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|s", &method, &ext, &ext_len) == FAILURE) {
ext              3256 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->arc.archive, PHAR_FORMAT_TAR, ext, flags TSRMLS_CC);
ext              3258 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->arc.archive, PHAR_FORMAT_PHAR, ext, flags TSRMLS_CC);
ext              3274 ext/phar/phar_object.c 	char *ext = NULL;
ext              3279 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &ext, &ext_len) == FAILURE) {
ext              3296 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->arc.archive, PHAR_FORMAT_TAR, ext, PHAR_FILE_COMPRESSED_NONE TSRMLS_CC);
ext              3298 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->arc.archive, PHAR_FORMAT_PHAR, ext, PHAR_FILE_COMPRESSED_NONE TSRMLS_CC);
ext               622 ext/phar/tar.c 		myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p);
ext               623 ext/phar/tar.c 		if (myphar->ext == p) {
ext               624 ext/phar/tar.c 			myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1);
ext               626 ext/phar/tar.c 		if (myphar->ext) {
ext               627 ext/phar/tar.c 			myphar->ext_len = (myphar->fname + fname_len) - myphar->ext;
ext              2033 ext/phar/util.c 	phar->ext = phar->fname + (phar->ext - fname);
ext               174 ext/phar/zip.c 	char *p = buf, *ext, *actual_alias = NULL;
ext               276 ext/phar/zip.c 	ext = strrchr(mydata->fname, '/');
ext               278 ext/phar/zip.c 	if (ext) {
ext               279 ext/phar/zip.c 		mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext);
ext               280 ext/phar/zip.c 		if (mydata->ext == ext) {
ext               281 ext/phar/zip.c 			mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1);
ext               283 ext/phar/zip.c 		if (mydata->ext) {
ext               284 ext/phar/zip.c 			mydata->ext_len = (mydata->fname + fname_len) - mydata->ext;
ext              2379 ext/soap/php_encoding.c 		sdlExtraAttributePtr *ext;
ext              2390 ext/soap/php_encoding.c 		    zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":arrayType", sizeof(WSDL_NAMESPACE":arrayType"), (void **)&ext) == SUCCESS) {
ext              2395 ext/soap/php_encoding.c 			value = estrdup((*ext)->val);
ext              2402 ext/soap/php_encoding.c 			if ((*ext)->ns != NULL) {
ext              2403 ext/soap/php_encoding.c 				enc = get_encoder(SOAP_GLOBAL(sdl), (*ext)->ns, value);
ext              2404 ext/soap/php_encoding.c 				get_type_str(xmlParam, (*ext)->ns, value, &array_type);
ext              2439 ext/soap/php_encoding.c 		           zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":itemType"), (void **)&ext) == SUCCESS) {
ext              2440 ext/soap/php_encoding.c 			if ((*ext)->ns != NULL) {
ext              2441 ext/soap/php_encoding.c 				enc = get_encoder(SOAP_GLOBAL(sdl), (*ext)->ns, (*ext)->val);
ext              2442 ext/soap/php_encoding.c 				get_type_str(xmlParam, (*ext)->ns, (*ext)->val, &array_type);
ext              2444 ext/soap/php_encoding.c 				smart_str_appends(&array_type, (*ext)->val);
ext              2450 ext/soap/php_encoding.c 			    zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraysize"), (void **)&ext) == SUCCESS) {
ext              2451 ext/soap/php_encoding.c 				dimension = calc_dimension_12((*ext)->val);
ext              2452 ext/soap/php_encoding.c 				dims = get_position_12(dimension, (*ext)->val);
ext              2471 ext/soap/php_encoding.c 		           zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraySize"), (void **)&ext) == SUCCESS) {
ext              2472 ext/soap/php_encoding.c 			dimension = calc_dimension_12((*ext)->val);
ext              2473 ext/soap/php_encoding.c 			dims = get_position_12(dimension, (*ext)->val);
ext              2573 ext/soap/php_encoding.c 	sdlExtraAttributePtr *ext;
ext              2636 ext/soap/php_encoding.c 	           zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":arrayType", sizeof(WSDL_NAMESPACE":arrayType"), (void **)&ext) == SUCCESS) {
ext              2639 ext/soap/php_encoding.c 		type = estrdup((*ext)->val);
ext              2644 ext/soap/php_encoding.c 		if ((*ext)->ns != NULL) {
ext              2645 ext/soap/php_encoding.c 			enc = get_encoder(SOAP_GLOBAL(sdl), (*ext)->ns, type);
ext              2658 ext/soap/php_encoding.c 	           zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":itemType"), (void **)&ext) == SUCCESS) {
ext              2660 ext/soap/php_encoding.c 		if ((*ext)->ns != NULL) {
ext              2661 ext/soap/php_encoding.c 			enc = get_encoder(SOAP_GLOBAL(sdl), (*ext)->ns, (*ext)->val);
ext              2668 ext/soap/php_encoding.c 		    zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraysize"), (void **)&ext) == SUCCESS) {
ext              2669 ext/soap/php_encoding.c 			dimension = calc_dimension_12((*ext)->val);
ext              2670 ext/soap/php_encoding.c 			dims = get_position_12(dimension, (*ext)->val);
ext              2681 ext/soap/php_encoding.c 	           zend_hash_find((*arrayType)->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraysize"), (void **)&ext) == SUCCESS) {
ext              2683 ext/soap/php_encoding.c 		dimension = calc_dimension_12((*ext)->val);
ext              2684 ext/soap/php_encoding.c 		dims = get_position_12(dimension, (*ext)->val);
ext              1858 ext/soap/php_schema.c 				sdlExtraAttributePtr ext;
ext              1862 ext/soap/php_schema.c 				ext = emalloc(sizeof(sdlExtraAttribute));
ext              1863 ext/soap/php_schema.c 				memset(ext, 0, sizeof(sdlExtraAttribute));
ext              1867 ext/soap/php_schema.c 					ext->ns = estrdup((char*)nsptr->href);
ext              1868 ext/soap/php_schema.c 					ext->val = estrdup(value);
ext              1870 ext/soap/php_schema.c 					ext->val = estrdup((char*)attr->children->content);
ext              1884 ext/soap/php_schema.c 				zend_hash_add(newAttr->extraAttributes, key2.c, key2.len + 1, &ext, sizeof(sdlExtraAttributePtr), NULL);
ext              4766 ext/soap/soap.c 			  sdlExtraAttributePtr *ext;
ext              4773 ext/soap/soap.c 				      zend_hash_find((*attr)->extraAttributes, WSDL_NAMESPACE":arrayType", sizeof(WSDL_NAMESPACE":arrayType"), (void **)&ext) == SUCCESS) {
ext              4774 ext/soap/soap.c 					char *end = strchr((*ext)->val, '[');
ext              4777 ext/soap/soap.c 						len = strlen((*ext)->val);
ext              4779 ext/soap/soap.c 						len = end-(*ext)->val;
ext              4784 ext/soap/soap.c 						smart_str_appendl(buf, (*ext)->val, len);
ext              4798 ext/soap/soap.c 					      zend_hash_find((*attr)->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":arrayType"), (void **)&ext) == SUCCESS) {
ext              4799 ext/soap/soap.c 						smart_str_appends(buf, (*ext)->val);
ext              4818 ext/soap/soap.c 					      zend_hash_find((*attr)->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":arraySize"), (void **)&ext) == SUCCESS) {
ext              4820 ext/soap/soap.c 						smart_str_appends(buf, (*ext)->val);
ext               245 sapi/cgi/cgi_main.c static int print_extension_info(zend_extension *ext, void *arg TSRMLS_DC)
ext               247 sapi/cgi/cgi_main.c 	php_printf("%s\n", ext->name);
ext               206 sapi/cli/php_cli.c static int print_extension_info(zend_extension *ext, void *arg TSRMLS_DC) /* {{{ */
ext               208 sapi/cli/php_cli.c 	php_printf("%s\n", ext->name);
ext               139 sapi/cli/php_cli_server.c 	const char *ext;
ext               205 sapi/cli/php_cli_server.c 	const char *ext;
ext               469 sapi/cli/php_cli_server.c static const char *get_mime_type(const char *ext, size_t ext_len) /* {{{ */
ext               472 sapi/cli/php_cli_server.c 	for (pair = mime_type_map; pair->ext; pair++) {
ext               473 sapi/cli/php_cli_server.c 		size_t len = strlen(pair->ext);
ext               474 sapi/cli/php_cli_server.c 		if (len == ext_len && memcmp(pair->ext, ext, len) == 0) {
ext              1431 sapi/cli/php_cli_server.c 	req->ext = NULL;
ext              1760 sapi/cli/php_cli_server.c 		client->request.ext = end;
ext              1766 sapi/cli/php_cli_server.c 				client->request.ext = p;
ext              2086 sapi/cli/php_cli_server.c 		const char *mime_type = get_mime_type(client->request.ext, client->request.ext_len);
ext              2194 sapi/cli/php_cli_server.c 	if (client->request.ext_len != 3 || memcmp(client->request.ext, "php", 3) || !client->request.path_translated) {
ext              1026 sapi/fpm/fpm/fpm_conf.c 			char *ext;
ext              1059 sapi/fpm/fpm/fpm_conf.c 				while ((ext = strtok(limit_extensions, " \t"))) {
ext              1061 sapi/fpm/fpm/fpm_conf.c 					wp->limit_extensions[nb_ext++] = strdup(ext);
ext               246 sapi/fpm/fpm/fpm_main.c static int print_extension_info(zend_extension *ext, void *arg TSRMLS_DC)
ext               248 sapi/fpm/fpm/fpm_main.c 	php_printf("%s\n", ext->name);