Searched +refs:list +refs:length (Results 1 - 25 of 1114) sorted by relevance

1234567891011>>

/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/buckets/
H A Dapr_buckets_simple.c22 *b = apr_bucket_alloc(sizeof(**b), a->list); /* XXX: check for failure? */
33 if (point > a->length) {
39 a->length = point;
40 b->length -= point;
52 *len = b->length;
58 apr_size_t length)
61 b->length = length;
69 apr_size_t length,
70 apr_bucket_alloc_t *list)
56 apr_bucket_immortal_make(apr_bucket *b, const char *buf, apr_size_t length) argument
68 apr_bucket_immortal_create(const char *buf, apr_size_t length, apr_bucket_alloc_t *list) argument
98 apr_bucket_transient_make(apr_bucket *b, const char *buf, apr_size_t length) argument
109 apr_bucket_transient_create(const char *buf, apr_size_t length, apr_bucket_alloc_t *list) argument
[all...]
H A Dapr_buckets_heap.c27 *len = b->length;
44 apr_size_t length,
49 h = apr_bucket_alloc(sizeof(*h), b->list);
52 h->alloc_len = length;
53 h->base = apr_bucket_alloc(h->alloc_len, b->list);
59 memcpy(h->base, buf, length);
66 h->alloc_len = length;
70 b = apr_bucket_shared_make(b, h, 0, length);
77 apr_size_t length,
79 apr_bucket_alloc_t *list)
43 apr_bucket_heap_make(apr_bucket *b, const char *buf, apr_size_t length, void (*free_func)(void *data)) argument
76 apr_bucket_heap_create(const char *buf, apr_size_t length, void (*free_func)(void *data), apr_bucket_alloc_t *list) argument
[all...]
H A Dapr_buckets_pool.c37 p->heap.base = apr_bucket_alloc(p->heap.alloc_len, p->list);
60 *len = b->length;
94 const char *buf, apr_size_t length, apr_pool_t *pool)
98 p = apr_bucket_alloc(sizeof(*p), b->list);
107 p->list = b->list;
109 b = apr_bucket_shared_make(b, p, 0, length);
113 p->heap.alloc_len = length;
123 apr_size_t length,
125 apr_bucket_alloc_t *list)
93 apr_bucket_pool_make(apr_bucket *b, const char *buf, apr_size_t length, apr_pool_t *pool) argument
122 apr_bucket_pool_create(const char *buf, apr_size_t length, apr_pool_t *pool, apr_bucket_alloc_t *list) argument
[all...]
H A Dapr_buckets_eos.c29 b->length = 0;
37 APU_DECLARE(apr_bucket *) apr_bucket_eos_create(apr_bucket_alloc_t *list) argument
39 apr_bucket *b = apr_bucket_alloc(sizeof(*b), list);
43 b->list = list;
H A Dapr_buckets_flush.c29 b->length = 0;
37 APU_DECLARE(apr_bucket *) apr_bucket_flush_create(apr_bucket_alloc_t *list) argument
39 apr_bucket *b = apr_bucket_alloc(sizeof(*b), list);
43 b->list = list;
/macosx-10.9.5/apr-30/apr-util/apr-util/buckets/
H A Dapr_buckets_simple.c22 *b = apr_bucket_alloc(sizeof(**b), a->list); /* XXX: check for failure? */
33 if (point > a->length) {
39 a->length = point;
40 b->length -= point;
52 *len = b->length;
58 apr_size_t length)
61 b->length = length;
69 apr_size_t length,
70 apr_bucket_alloc_t *list)
56 apr_bucket_immortal_make(apr_bucket *b, const char *buf, apr_size_t length) argument
68 apr_bucket_immortal_create(const char *buf, apr_size_t length, apr_bucket_alloc_t *list) argument
98 apr_bucket_transient_make(apr_bucket *b, const char *buf, apr_size_t length) argument
109 apr_bucket_transient_create(const char *buf, apr_size_t length, apr_bucket_alloc_t *list) argument
[all...]
H A Dapr_buckets_heap.c27 *len = b->length;
44 apr_size_t length,
49 h = apr_bucket_alloc(sizeof(*h), b->list);
52 h->alloc_len = length;
53 h->base = apr_bucket_alloc(h->alloc_len, b->list);
59 memcpy(h->base, buf, length);
66 h->alloc_len = length;
70 b = apr_bucket_shared_make(b, h, 0, length);
77 apr_size_t length,
79 apr_bucket_alloc_t *list)
43 apr_bucket_heap_make(apr_bucket *b, const char *buf, apr_size_t length, void (*free_func)(void *data)) argument
76 apr_bucket_heap_create(const char *buf, apr_size_t length, void (*free_func)(void *data), apr_bucket_alloc_t *list) argument
[all...]
H A Dapr_buckets_pool.c37 p->heap.base = apr_bucket_alloc(p->heap.alloc_len, p->list);
60 *len = b->length;
94 const char *buf, apr_size_t length, apr_pool_t *pool)
98 p = apr_bucket_alloc(sizeof(*p), b->list);
107 p->list = b->list;
109 b = apr_bucket_shared_make(b, p, 0, length);
113 p->heap.alloc_len = length;
123 apr_size_t length,
125 apr_bucket_alloc_t *list)
93 apr_bucket_pool_make(apr_bucket *b, const char *buf, apr_size_t length, apr_pool_t *pool) argument
122 apr_bucket_pool_create(const char *buf, apr_size_t length, apr_pool_t *pool, apr_bucket_alloc_t *list) argument
[all...]
H A Dapr_buckets_eos.c29 b->length = 0;
37 APU_DECLARE(apr_bucket *) apr_bucket_eos_create(apr_bucket_alloc_t *list) argument
39 apr_bucket *b = apr_bucket_alloc(sizeof(*b), list);
43 b->list = list;
/macosx-10.9.5/emacs-92/emacs/lisp/
H A Dexpand.el39 ;; (defconst c-expand-list
56 ;; (expand-add-abbrevs c-mode-abbrev-table c-expand-list)
107 (defconst expand-c-sample-expand-list
121 (defconst expand-sample-lisp-mode-expand-list
122 (list
123 (list
133 (list 8 11 16 32 43 59))
135 (list
142 (list 11 14 19 23 39))
144 (list
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dulist.c33 static void ulist_addFirstItem(UList *list, UListNode *newItem);
58 * Function called by addItemEndList or addItemBeginList when the first item is added to the list.
61 static void ulist_addFirstItem(UList *list, UListNode *newItem) { argument
64 list->head = newItem;
65 list->tail = newItem;
66 list->currentIndex = 0;
69 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UErrorCode *status) { argument
72 if (U_FAILURE(*status) || list == NULL || data == NULL) {
84 if (list->size == 0) {
85 ulist_addFirstItem(list, newIte
96 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErrorCode *status) argument
124 ulist_containsString(const UList *list, const char *data, int32_t length) argument
146 ulist_getNext(UList *list) argument
160 ulist_getListSize(const UList *list) argument
168 ulist_resetList(UList *list) argument
175 ulist_deleteList(UList *list) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/iokit/IOKit/
H A DIODeviceMemory.h53 @field length Length of the range.
58 IOPhysicalLength length; member in struct:IODeviceMemory::InitElement
64 @discussion This method creates IODeviceMemory instances for each physical range passed in an IODeviceMemory::InitElement array. Each element consists of a physical address, length and tag value for the IODeviceMemory. The instances are returned as a created OSArray.
65 @param list An array of IODeviceMemory::InitElement structures.
66 @param count The number of elements in the list.
70 InitElement list[],
75 @discussion This method creates an IODeviceMemory instance for one physical range passed as a physical address and length. It just calls IOMemoryDescriptor::withPhysicalAddress.
77 @param withLength The length of memory.
82 IOPhysicalLength length );
86 @discussion This method creates an IODeviceMemory instance for a subset of an existing IODeviceMemory range, passed as a physical address offset and length
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Ddhcp_options.c93 ptrlist_init(ptrlist_t * list) argument
95 bzero(list, sizeof(*list));
100 ptrlist_free(ptrlist_t * list) argument
102 if (list->array)
103 my_free(list->array);
104 ptrlist_init(list);
109 ptrlist_count(ptrlist_t * list) argument
111 if (list == NULL || list
118 ptrlist_element(ptrlist_t * list, int i) argument
129 ptrlist_grow(ptrlist_t * list) argument
150 ptrlist_add(ptrlist_t * list, const void * element) argument
161 ptrlist_concat(ptrlist_t * list, ptrlist_t * extra) argument
192 dhcpol_add(dhcpol_t * list, const void * element) argument
198 dhcpol_count(dhcpol_t * list) argument
204 dhcpol_element(dhcpol_t * list, int i) argument
210 dhcpol_init(dhcpol_t * list) argument
216 dhcpol_free(dhcpol_t * list) argument
222 dhcpol_concat(dhcpol_t * list, dhcpol_t * extra) argument
237 dhcpol_parse_buffer(dhcpol_t * list, const void * buffer, int length) argument
294 dhcpol_find(dhcpol_t * list, int tag, int * len_p, int * start) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/test/psych/
H A Dtest_stream.rb16 list = []
18 list << doc.to_ruby
20 assert_equal %w{ foo bar }, list
24 list = []
26 list << doc.to_ruby
29 assert_equal %w{ foo }, list
33 list = []
35 list << ruby
37 assert_equal %w{ foo bar }, list
41 list
[all...]
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/
H A DIODeviceMemory.cpp36 IOPhysicalLength length )
39 start, length, kIODirectionNone | kIOMemoryMapperNone, NULL ));
46 IOPhysicalLength length )
49 of, offset, length, kIODirectionNone ));
54 InitElement list[],
66 range = IODeviceMemory::withRange( list[i].start, list[i].length );
68 range->setTag( list[i].tag );
53 arrayFromList( InitElement list[], IOItemCount count ) argument
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/
H A Dtkbrowse.rb24 list = TkScrollbox.new(top) {
31 list.insert 'end', *`ls #{dir}`.split
35 list.focus
36 list.bind "Control-q", proc{exit}
37 list.bind "Control-c", proc{exit}
38 list.bind "Control-p", proc{
42 list.bind "Double-Button-1", proc{
48 $dirlist[dir] = list
69 # Fill the listbox with a list of all the files in the directory (run
72 if ARGV.length>
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_utilities/
H A Dacl_codesigning.cpp57 TypedList list(alloc, CSSM_ACL_SUBJECT_TYPE_CODE_SIGNATURE,
64 list += new(alloc) ListElement(alloc,
68 list += new(alloc) ListElement(alloc, CssmData(*it->second));
69 return list;
76 CodeSignatureAclSubject *CodeSignatureAclSubject::Maker::make(const TypedList &list) const
78 // there once was a format with only a hash (length 2+1). It is no longer supported
79 unsigned total = list.length(); // includes subject type header
81 && list[1].is(CSSM_LIST_ELEMENT_WORDID) // [1] == signature type
82 && list[
116 const void *data; size_t length; pub.countedData(data, length); local
[all...]
H A Dcssmlist.h46 // you mustn't (for example) call the data() method on a list element that
56 // list element chaining
80 explicit ListElement(const CssmList &list);
81 CssmList &list();
82 const CssmList &list() const;
85 ListElement &operator = (const CssmList &list);
86 operator CssmList &() { return list(); }
123 CssmList(const CssmList &list) { *(CssmList *)this = list; } argument
129 unsigned int length() cons
150 destroy(CssmList *list, Allocator &alloc) argument
164 TypedList(const CSSM_LIST &list) argument
176 overlay(CSSM_LIST &list) argument
178 overlay(const CSSM_LIST &list) argument
224 enumerate(Action &operate, CssmList &list) argument
234 walk(Action &operate, CssmList * &list) argument
242 walk(Action &operate, CssmList &list) argument
249 walk(Action &operate, CSSM_LIST &list) argument
253 walk(Action &operate, CSSM_LIST * &list) argument
257 walk(Action &operate, TypedList * &list) argument
261 walk(Action &operate, TypedList &list) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_utilities/lib/
H A Dacl_codesigning.cpp57 TypedList list(alloc, CSSM_ACL_SUBJECT_TYPE_CODE_SIGNATURE,
64 list += new(alloc) ListElement(alloc,
68 list += new(alloc) ListElement(alloc, CssmData(*it->second));
69 return list;
76 CodeSignatureAclSubject *CodeSignatureAclSubject::Maker::make(const TypedList &list) const
78 // there once was a format with only a hash (length 2+1). It is no longer supported
79 unsigned total = list.length(); // includes subject type header
81 && list[1].is(CSSM_LIST_ELEMENT_WORDID) // [1] == signature type
82 && list[
116 const void *data; size_t length; pub.countedData(data, length); local
[all...]
H A Dcssmlist.h46 // you mustn't (for example) call the data() method on a list element that
56 // list element chaining
80 explicit ListElement(const CssmList &list);
81 CssmList &list();
82 const CssmList &list() const;
85 ListElement &operator = (const CssmList &list);
86 operator CssmList &() { return list(); }
123 CssmList(const CssmList &list) { *(CssmList *)this = list; } argument
129 unsigned int length() cons
150 destroy(CssmList *list, Allocator &alloc) argument
164 TypedList(const CSSM_LIST &list) argument
176 overlay(CSSM_LIST &list) argument
178 overlay(const CSSM_LIST &list) argument
224 enumerate(Action &operate, CssmList &list) argument
234 walk(Action &operate, CssmList * &list) argument
242 walk(Action &operate, CssmList &list) argument
249 walk(Action &operate, CSSM_LIST &list) argument
253 walk(Action &operate, CSSM_LIST * &list) argument
257 walk(Action &operate, TypedList * &list) argument
261 walk(Action &operate, TypedList &list) argument
[all...]
/macosx-10.9.5/WebKit-7537.78.2/gtk/tests/
H A Dtestdomnode.c68 WebKitDOMNodeList* list; local
70 gulong i, length; local
81 list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(head));
82 g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1);
83 ptr = webkit_dom_node_list_item(list, 0);
86 g_object_unref(list);
105 list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(body));
106 length = webkit_dom_node_list_get_length(list);
107 g_assert_cmpint(length,
129 WebKitDOMNodeList* list; local
[all...]
/macosx-10.9.5/tcl-102/tcl/tcl/generic/
H A DtclHistory.c26 * This procedure adds its command argument to the current list of
50 int length = strlen(cmd);
53 if (length > 0) {
58 cmdPtr = Tcl_NewStringObj(cmd, length);
92 * current list of recorded events and then executes the command by
118 Tcl_Obj *list[3];
139 TclNewLiteralStringObj(list[0], "history");
140 TclNewLiteralStringObj(list[1], "add");
141 list[2] = cmdPtr;
143 objPtr = Tcl_NewListObj(3, list);
49 int length = strlen(cmd); local
116 Tcl_Obj *list[3]; local
[all...]
/macosx-10.9.5/tcl-102/tcl84/tcl/generic/
H A DtclHistory.c28 * This procedure adds its command argument to the current list of
53 int length = strlen(cmd);
56 if (length > 0) {
61 cmdPtr = Tcl_NewStringObj(cmd, length);
96 * current list of recorded events and then executes the command by
122 Tcl_Obj *list[3];
129 list[0] = Tcl_NewStringObj("history", -1);
130 list[1] = Tcl_NewStringObj("add", -1);
131 list[2] = cmdPtr;
133 objPtr = Tcl_NewListObj(3, list);
52 int length = strlen(cmd); local
120 Tcl_Obj *list[3]; local
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/java/CyrusSasl/
H A DServerFactory.java19 /* these parameters aren't needed for getting mech list */
73 String list = jni_sasl_server_getlist(localptr, "",
80 while (pos < list.length()) {
81 if (list.charAt(pos)=='\n')
92 while (pos < list.length()) {
93 if (list.charAt(pos)=='\n') {
97 temp+=list.charAt(pos);
/macosx-10.9.5/apache-786.1/httpd/server/
H A Deoc_bucket.c30 b->length = 0;
38 AP_DECLARE(apr_bucket *) ap_bucket_eoc_create(apr_bucket_alloc_t *list) argument
40 apr_bucket *b = apr_bucket_alloc(sizeof(*b), list);
44 b->list = list;

Completed in 364 milliseconds

1234567891011>>