Searched +refs:buffer +refs:end (Results 1 - 25 of 865) sorted by relevance

1234567891011>>

/macosx-10.10.1/OpenSSH-189/openssh/
H A Dbuffer.c1 /* $OpenBSD: buffer.c,v 1.32 2010/02/09 03:56:28 djm Exp $ */
24 #include "buffer.h"
31 /* Initializes the buffer structure. */
34 buffer_init(Buffer *buffer) argument
38 buffer->alloc = 0;
39 buffer->buf = xmalloc(len);
40 buffer->alloc = len;
41 buffer->offset = 0;
42 buffer->end
48 buffer_free(Buffer *buffer) argument
63 buffer_clear(Buffer *buffer) argument
72 buffer_append(Buffer *buffer, const void *data, u_int len) argument
80 buffer_compact(Buffer *buffer) argument
103 buffer_append_space(Buffer *buffer, u_int len) argument
144 buffer_check_alloc(Buffer *buffer, u_int len) argument
163 buffer_len(const Buffer *buffer) argument
171 buffer_get_ret(Buffer *buffer, void *buf, u_int len) argument
184 buffer_get(Buffer *buffer, void *buf, u_int len) argument
193 buffer_consume_ret(Buffer *buffer, u_int bytes) argument
204 buffer_consume(Buffer *buffer, u_int bytes) argument
213 buffer_consume_end_ret(Buffer *buffer, u_int bytes) argument
222 buffer_consume_end(Buffer *buffer, u_int bytes) argument
231 buffer_ptr(const Buffer *buffer) argument
239 buffer_dump(const Buffer *buffer) argument
[all...]
/macosx-10.10.1/postfix-255/postfix/src/global/
H A Dsmtp_reply_footer.c9 /* int smtp_reply_footer(buffer, start, template, filter,
11 /* VSTRING *buffer;
22 /* .IP buffer
23 /* Result buffer. This should contain a properly formatted
28 /* reply ends in <CR><LF>, the result text will also end in
32 /* appended to. This supports applications that buffer up
33 /* multiple responses in one buffer.
88 int smtp_reply_footer(VSTRING *buffer, ssize_t start, argument
97 char *end; local
105 if (start < 0 || start > VSTRING_LEN(buffer))
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/erc/
H A Derc-truncate.el27 ;; This implements buffer truncation (and optional log file writing
40 (defcustom erc-max-buffer-size 30000
41 "*Maximum size in chars of each ERC buffer.
43 \(see `erc-truncate-buffer' and `erc-insert-post-hook')."
49 "Truncate a query buffer if it gets too large.
50 This prevents the query buffer from getting too large, which can
54 ((add-hook 'erc-insert-post-hook 'erc-truncate-buffer))
56 ((remove-hook 'erc-insert-post-hook 'erc-truncate-buffer)))
59 (defun erc-truncate-buffer-to-size (size &optional buffer)
[all...]
H A Derc-spelling.el41 ;; called AFTER the server buffer is initialized.
43 (dolist (buffer (erc-buffer-list))
44 (erc-spelling-init buffer)))
46 (dolist (buffer (erc-buffer-list))
47 (with-current-buffer buffer (flyspell-mode 0)))))
50 "An alist mapping buffer names to dictionaries.
51 The `car' of every cell is a buffer nam
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/antlr/
H A DCharInputBuffer.hpp29 /** Construct a CharInputBuffer.hpp object with a char* buffer of 'size'
30 * if 'owner' is true, then the buffer will be delete[]-ed on destruction.
31 * @note it is assumed the buffer was allocated with new[]!
34 : buffer(buf)
36 , end(buf + size)
47 if( delete_buffer && buffer )
48 delete [] buffer;
58 ptr = buffer;
63 return (ptr < end) ? *ptr++ : EOF;
67 unsigned char* buffer; ///< th member in class:antlr::CharInputBuffer
69 unsigned char* end; ///< end sentry for buffer member in class:antlr::CharInputBuffer
[all...]
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/
H A Ddnssd_ipc.c35 static char buffer[1024]; local
37 memset(buffer, 0, sizeof(buffer));
43 buffer,
44 sizeof(buffer),
49 while ((n > 0) && isspace(((unsigned char *) buffer)[n - 1]))
50 buffer[--n] = '\0';
52 return buffer;
66 uint32_t get_uint32(const char **ptr, const char *end) argument
68 if (!*ptr || *ptr + sizeof(uint32_t) > end)
88 get_uint16(const char **ptr, const char *end) argument
111 get_string(const char **ptr, const char *const end, char *buffer, int buflen) argument
139 get_rdata(const char **ptr, const char *end, int rdlen) argument
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/tools/pkgdata/
H A Dpkgtypes.c30 char buffer[1024]; local
35 uprv_strncpy(buffer, l->str, 1020);
36 buffer[1019]=0;
39 if(buffer[uprv_strlen(buffer)-1] == '"') {
40 buffer[uprv_strlen(buffer)-1] = '\0';
42 if(buffer[0] == '"') {
43 uprv_strcpy(buffer, buffer
75 char buffer[1024]; local
155 pkg_appendToList(CharList *l, CharList** end, const char *str) argument
209 pkg_appendUniqueDirToList(CharList *l, CharList** end, const char *strAlias) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter2/
H A Dlexer.ml11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer stream
21 (* Comment until end of line. *)
29 (* end of stream. *)
32 and lex_number buffer = parser
34 Buffer.add_char buffer
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter3/
H A Dlexer.ml11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer stream
21 (* Comment until end of line. *)
29 (* end of stream. *)
32 and lex_number buffer = parser
34 Buffer.add_char buffer
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter4/
H A Dlexer.ml11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer stream
21 (* Comment until end of line. *)
29 (* end of stream. *)
32 and lex_number buffer = parser
34 Buffer.add_char buffer
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter5/
H A Dlexer.ml11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer stream
21 (* Comment until end of line. *)
29 (* end of stream. *)
32 and lex_number buffer = parser
34 Buffer.add_char buffer
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter6/
H A Dlexer.ml11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer stream
21 (* Comment until end of line. *)
29 (* end of stream. *)
32 and lex_number buffer = parser
34 Buffer.add_char buffer
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter7/
H A Dlexer.ml11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer stream
21 (* Comment until end of line. *)
29 (* end of stream. *)
32 and lex_number buffer = parser
34 Buffer.add_char buffer
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/memchan/memchan/tools/rules/
H A Dxmlrules.tcl38 # Return end-tag for element $gi.
117 # Returns: sequence of end-tags for each element popped.
123 && [lsearch $gis [set current [lindex $elementStack end]]] < 0
126 set elementStack [lreplace $elementStack end end]
131 # end ? gi ? --
132 # Generate markup to close element $gi, including end-tags
137 proc end {{gi {}}} { procedure
140 set gi [lindex $elementStack end]
143 set elementStack [lreplace $elementStack end en
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/trf/trf/tools/rules/
H A Dxmlrules.tcl38 # Return end-tag for element $gi.
117 # Returns: sequence of end-tags for each element popped.
123 && [lsearch $gis [set current [lindex $elementStack end]]] < 0
126 set elementStack [lreplace $elementStack end end]
131 # end ? gi ? --
132 # Generate markup to close element $gi, including end-tags
137 proc end {{gi {}}} { procedure
140 set gi [lindex $elementStack end]
143 set elementStack [lreplace $elementStack end en
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.h43 vm_map_offset_t end,
48 vm_map_offset_t end,
55 extern void kern_collectth_state(thread_t thread, void *buffer, size_t size);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/virtchannel_transform/
H A Dbase64.tcl84 upvar 1 $bufvar buffer
86 append buffer $data
88 set n [my Complete $buffer $n]
95 [string range $buffer 0 $n]]
97 set buffer \
98 [string range $buffer $n end]
103 method Complete {buffer n} {
104 set len [string length $buffer]
/macosx-10.10.1/curl-83.1.2/curl/tests/server/
H A Dgetpart.c72 * Reads a complete line from a file into a dynamically allocated buffer.
74 * Calling function may call this multiple times with same 'buffer'
75 * and 'bufsize' pointers to avoid multiple buffer allocations. Buffer
77 * buffer before returning it.
79 * Calling function is responsible to free allocated buffer.
87 static int readline(char **buffer, size_t *bufsize, FILE *stream) argument
93 if(!*buffer) {
94 *buffer = malloc(128);
95 if(!*buffer)
103 if(!fgets(*buffer
259 char *buffer = NULL; local
261 char *end; local
[all...]
/macosx-10.10.1/vim-55/runtime/ftplugin/
H A Dvhdl.vim7 " Only do this when not done yet for this buffer
12 " Don't load another plugin for this buffer
36 let s:notend = '\%(\<end\s\+\)\@<!'
38 \ s:notend.'\<if\>:\<elsif\>:\<else\>:\<end\s\+if\>,'.
39 \ s:notend.'\<case\>:\<when\>:\<end\s\+case\>,'.
40 \ s:notend.'\<loop\>:\<end\s\+loop\>,'.
41 \ s:notend.'\<for\>:\<end\s\+for\>,'.
42 \ s:notend.'\<generate\>:\<end\s\+generate\>,'.
43 \ s:notend.'\<record\>:\<end\s\+record\>,'.
44 \ s:notend.'\<units\>:\<end\
[all...]
/macosx-10.10.1/libiconv-42/libiconv/tests/
H A Duniq-u.c68 char *buffer; member in struct:linebuffer
78 linebuffer->buffer = (char *) xmalloc (linebuffer->size);
84 Return LINEBUFFER, except at end of file return 0. */
90 char *buffer = linebuffer->buffer; local
91 char *p = linebuffer->buffer;
92 char *end = buffer + linebuffer->size - 1; /* Sentinel. */ local
102 if (p == buffer)
108 if (p == end)
[all...]
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/Modules/objc/
H A DOC_PythonData.h29 const void *buffer; variable
34 * @abstract Create a new OC_PythonData for a specific Python buffer
35 * @param value A python buffer
44 * @abstract Initialise a OC_PythonData for a specific Python buffer
45 * @param value A python buffer
60 * @abstract Access the wrapped Python buffer
61 * @result Returns a new reference to the wrapped Python buffer.
67 * @result Returns the length of the wrapped Python buffer
73 * @result Returns a pointer to the contents of the Python buffer
77 @end
[all...]
H A DOC_PythonString.h67 -(void)getCharacters:(unichar *)buffer range:(NSRange)aRange;
69 @end
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/Modules/objc/
H A DOC_PythonData.h29 const void *buffer; variable
34 * @abstract Create a new OC_PythonData for a specific Python buffer
35 * @param value A python buffer
44 * @abstract Initialise a OC_PythonData for a specific Python buffer
45 * @param value A python buffer
60 * @abstract Access the wrapped Python buffer
61 * @result Returns a new reference to the wrapped Python buffer.
67 * @result Returns the length of the wrapped Python buffer
73 * @result Returns a pointer to the contents of the Python buffer
77 @end
[all...]
H A DOC_PythonString.h67 -(void)getCharacters:(unichar *)buffer range:(NSRange)aRange;
69 @end
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Modules/objc/
H A DOC_PythonData.h29 const void *buffer; variable
34 * @abstract Create a new OC_PythonData for a specific Python buffer
35 * @param value A python buffer
44 * @abstract Initialise a OC_PythonData for a specific Python buffer
45 * @param value A python buffer
60 * @abstract Access the wrapped Python buffer
61 * @result Returns a new reference to the wrapped Python buffer.
67 * @result Returns the length of the wrapped Python buffer
73 * @result Returns a pointer to the contents of the Python buffer
77 @end
[all...]

Completed in 303 milliseconds

1234567891011>>