scratch           120 ext/standard/http_fopen_wrapper.c 	char *scratch = NULL;
scratch           366 ext/standard/http_fopen_wrapper.c 				scratch = emalloc(scratch_len);
scratch           367 ext/standard/http_fopen_wrapper.c 				strlcpy(scratch, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval) + 1);
scratch           368 ext/standard/http_fopen_wrapper.c 				strncat(scratch, " ", 1);
scratch           379 ext/standard/http_fopen_wrapper.c 	if (!scratch) {
scratch           381 ext/standard/http_fopen_wrapper.c 		scratch = emalloc(scratch_len);
scratch           382 ext/standard/http_fopen_wrapper.c 		strncpy(scratch, "GET ", scratch_len);
scratch           399 ext/standard/http_fopen_wrapper.c 		strcat(scratch, path);
scratch           405 ext/standard/http_fopen_wrapper.c 			strlcat(scratch, resource->path, scratch_len);
scratch           407 ext/standard/http_fopen_wrapper.c 			strlcat(scratch, "/", scratch_len);
scratch           412 ext/standard/http_fopen_wrapper.c 			strlcat(scratch, "?", scratch_len);
scratch           413 ext/standard/http_fopen_wrapper.c 			strlcat(scratch, resource->query, scratch_len);
scratch           419 ext/standard/http_fopen_wrapper.c 		strlcat(scratch, " HTTP/", scratch_len);
scratch           420 ext/standard/http_fopen_wrapper.c 		strlcat(scratch, protocol_version, scratch_len);
scratch           421 ext/standard/http_fopen_wrapper.c 		strlcat(scratch, "\r\n", scratch_len);
scratch           423 ext/standard/http_fopen_wrapper.c 		strlcat(scratch, " HTTP/1.0\r\n", scratch_len);
scratch           427 ext/standard/http_fopen_wrapper.c 	php_stream_write(stream, scratch, strlen(scratch));
scratch           540 ext/standard/http_fopen_wrapper.c 		strcpy(scratch, resource->user);
scratch           541 ext/standard/http_fopen_wrapper.c 		strcat(scratch, ":");
scratch           546 ext/standard/http_fopen_wrapper.c 			strcat(scratch, resource->pass);
scratch           549 ext/standard/http_fopen_wrapper.c 		tmp = (char*)php_base64_encode((unsigned char*)scratch, strlen(scratch), NULL);
scratch           551 ext/standard/http_fopen_wrapper.c 		if (snprintf(scratch, scratch_len, "Authorization: Basic %s\r\n", tmp) > 0) {
scratch           552 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, strlen(scratch));
scratch           562 ext/standard/http_fopen_wrapper.c 		if (snprintf(scratch, scratch_len, "From: %s\r\n", FG(from_address)) > 0)
scratch           563 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, strlen(scratch));
scratch           570 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s:%i\r\n", resource->host, resource->port) > 0)
scratch           571 ext/standard/http_fopen_wrapper.c 				php_stream_write(stream, scratch, strlen(scratch));
scratch           573 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s\r\n", resource->host) > 0) {
scratch           574 ext/standard/http_fopen_wrapper.c 				php_stream_write(stream, scratch, strlen(scratch));
scratch           631 ext/standard/http_fopen_wrapper.c 			scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval));
scratch           632 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, scratch_len);
scratch           646 ext/standard/http_fopen_wrapper.c 			scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_PP(tmpzval));
scratch           647 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, scratch_len);
scratch           913 ext/standard/http_fopen_wrapper.c 	if (scratch) {
scratch           914 ext/standard/http_fopen_wrapper.c 		efree(scratch);