scratch           120 ext/standard/http_fopen_wrapper.c 	char *scratch = NULL;
scratch           374 ext/standard/http_fopen_wrapper.c 				scratch = emalloc(scratch_len);
scratch           375 ext/standard/http_fopen_wrapper.c 				strlcpy(scratch, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval) + 1);
scratch           376 ext/standard/http_fopen_wrapper.c 				strncat(scratch, " ", 1);
scratch           385 ext/standard/http_fopen_wrapper.c 	if (!scratch) {
scratch           387 ext/standard/http_fopen_wrapper.c 		scratch = emalloc(scratch_len);
scratch           388 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           545 ext/standard/http_fopen_wrapper.c 		strcpy(scratch, resource->user);
scratch           546 ext/standard/http_fopen_wrapper.c 		strcat(scratch, ":");
scratch           551 ext/standard/http_fopen_wrapper.c 			strcat(scratch, resource->pass);
scratch           554 ext/standard/http_fopen_wrapper.c 		stmp = php_base64_encode((unsigned char*)scratch, strlen(scratch));
scratch           556 ext/standard/http_fopen_wrapper.c 		if (snprintf(scratch, scratch_len, "Authorization: Basic %s\r\n", ZSTR_VAL(stmp)) > 0) {
scratch           557 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, strlen(scratch));
scratch           566 ext/standard/http_fopen_wrapper.c 		if (snprintf(scratch, scratch_len, "From: %s\r\n", FG(from_address)) > 0)
scratch           567 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, strlen(scratch));
scratch           574 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s:%i\r\n", resource->host, resource->port) > 0)
scratch           575 ext/standard/http_fopen_wrapper.c 				php_stream_write(stream, scratch, strlen(scratch));
scratch           577 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s\r\n", resource->host) > 0) {
scratch           578 ext/standard/http_fopen_wrapper.c 				php_stream_write(stream, scratch, strlen(scratch));
scratch           632 ext/standard/http_fopen_wrapper.c 			scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_P(tmpzval));
scratch           633 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, scratch_len);
scratch           647 ext/standard/http_fopen_wrapper.c 			scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_P(tmpzval));
scratch           648 ext/standard/http_fopen_wrapper.c 			php_stream_write(stream, scratch, scratch_len);
scratch           904 ext/standard/http_fopen_wrapper.c 	if (scratch) {
scratch           905 ext/standard/http_fopen_wrapper.c 		efree(scratch);