Lines Matching defs:of
4 * Copyright (c) 1990,1993 Regents of The University of Michigan.
59 /* can only get the length of the opened fork */
711 /* if the file is a read-only file, we use read locks instead of
753 static int crlf(struct ofork *of)
757 if ( ad_meta_fileno( of->of_ad ) == -1 || !memcmp( ufinderi, ad_entry( of->of_ad, ADEID_FINDERI),8)) { /* META */
759 if (!( em = getextmap( of_name(of) )) || memcmp( "TEXT", em->em_type, sizeof( em->em_type ))) {
765 } else if ( !memcmp( "TEXT", ad_entry( of->of_ad, ADEID_FINDERI ), 4 )) {
807 * If this file is of type TEXT, then swap \012 to \015.
829 * so return EOF only if read actually past end of file not
830 * if offset +reqcount > size of file
917 * for an end-of-line character. oh well. */
934 /* dsi_readinit() returns size of next read buffer. by this point,
940 /* due to the nature of afp packets, we have to exit if we get
971 /* dsi_read() also returns buffer size of next allocation */
1149 * If this file is of type TEXT, swap \015 to \012.
1182 * the client may have sent us a bunch of data that's not reflected
1247 if (!reqcount) { /* handle request counts of 0 */