Lines Matching refs:file
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
41 * Description: send a zero-length file with PR_SendFile and
112 PRFileDesc *file;
117 /* Create a zero-length file */
118 file = PR_Open(ZERO_LEN_FILE_NAME,
120 if (NULL == file) {
124 sfd.fd = file;
166 nbytes = PR_TransmitFile(acceptSock, file, header, HEADER_LEN,
177 if (PR_Close(file) == PR_FAILURE) {