Searched refs:array (Results 1 - 25 of 526) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dptrarray.h30 * @brief simple pointer array that resizes itself dynamically.
48 void tr_ptrArrayForeach( tr_ptrArray * array,
54 tr_ptrArrayNth( tr_ptrArray * array, int i ) argument
56 assert( array );
58 assert( i < array->n_items );
60 return array->items[i];
63 /** @brief Remove the last item from the array and return it
64 @return the pointer that's been removed from the array
66 void* tr_ptrArrayPop( tr_ptrArray * array );
69 @return the last item in a tr_ptrArray, or NULL if the array i
94 tr_ptrArrayAppend( tr_ptrArray * array, void * appendMe ) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_stack.c28 void *array[200]; local
37 size = backtrace(array, sizeof(array) / sizeof(array[0]));
38 strings = backtrace_symbols(array, size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/tests/
H A Dmacros.h59 /* SIZEOF (array)
60 returns the number of elements of an array. It works for arrays that are
61 declared outside functions and for local variables of array type. It does
62 *not* work for function parameters of array type, because they are actually
64 #define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/uniconv/
H A Du16-strconv-to-enc.c31 #define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
H A Du32-conv-to-enc.c31 #define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
H A Du32-strconv-to-enc.c31 #define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/t/
H A Drecno.t88 # Check simple env works with a array.
115 my @array ;
182 my @array ;
184 ok 46, $db = tie @array, 'BerkeleyDB::Recno', -Filename => $Dfile,
189 ok 47, my $cursor = (tied @array)->db_cursor() ;
199 ok 50, @array == 0 ;
203 $array[1] = "some value";
204 ok 51, (tied @array)->status() == 0 ;
205 ok 52, $array[1] eq "some value";
206 ok 53, defined $array[
[all...]
H A Dqueue.t101 # Check simple env works with a array.
130 my @array ;
198 my @array ;
201 ok $db = tie @array, 'BerkeleyDB::Queue', -Filename => $Dfile,
206 ok my $cursor = (tied @array)->db_cursor() ;
216 ok @array == 0 ;
220 $array[1] = "some value";
221 ok ((tied @array)->status() == 0) ;
222 ok $array[1] eq fillout("some value", $rec_len);
223 ok defined $array[
[all...]
H A Dunknown.t80 my @array ;
81 eval { $db->Tie(\@array)} ;
119 my @array ;
120 eval { $db->Tie(\@array)} ;
161 ok 40, $@ =~ /^Tie needs a reference to an array/ ;
163 my @array ;
164 $db->Tie(\@array) ;
165 ok 41, $array[1] eq "value" ;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/impl/
H A DRawArrayInput.java16 * Extends RawAbstractInput to convert array (ObjectArrayFormat and
23 private Object[] array; field in class:RawArrayInput
33 array = raw.getElements();
39 return array.length;
44 Object o = array[index++];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/log/
H A Dlog_archive.c82 char **array, **arrayp, *name, *p, *pref; local
89 array = NULL;
185 sizeof(char *) * array_size, &array)) != 0)
187 array[0] = NULL;
189 /* Build an array of the file names. */
206 sizeof(char *) * array_size, &array)) != 0)
212 __absname(env, pref, name, &array[n])) != 0)
216 if ((ret = __os_strdup(env, p + 1, &array[n])) != 0)
220 array[n] = name;
223 array[
369 char **array, **arrayp, **list, **lp, *p, *real_name; local
578 char **array, **arrayp, **orig, *strp; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/qam/
H A Dqam_files.c43 MPFARRAY *array; local
84 array = &qp->array1;
85 if (array->n_extent == 0) {
87 array->n_extent = 4;
88 array->low_extent = extid;
95 if (extid < array->low_extent) {
97 offset = array->low_extent - extid;
100 offset = extid - array->low_extent;
106 array = &qp->array2;
107 if (extid < array
350 MPFARRAY *array; local
399 MPFARRAY *array; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/xen/
H A Ddebugfs.h8 u32 *array, unsigned elements);
H A Ddebugfs.c24 void *array; member in struct:array_data
35 u32 *array, unsigned array_size)
43 len = snprintf(buf, bufsize, fmt, array[i]);
61 static char *format_array_alloc(const char *fmt, u32 *array, unsigned array_size) argument
63 size_t len = format_array(NULL, 0, fmt, array, array_size);
70 format_array(ret, len, fmt, array, array_size);
87 file->private_data = format_array_alloc("%u", data->array, data->elements);
113 u32 *array, unsigned elements)
120 data->array = array;
34 format_array(char *buf, size_t bufsize, const char *fmt, u32 *array, unsigned array_size) argument
111 xen_debugfs_create_u32_array(const char *name, mode_t mode, struct dentry *parent, u32 *array, unsigned elements) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/dnsmasq/contrib/dbus-test/
H A Ddbus-test.py9 array = dbus.Array() variable
10 array.append(["1.2.3.5"])
11 array.append(["1.2.3.4#664", "foobar.com"])
12 array.append(["1003:1234:abcd::1%eth0", "eng.mycorp.com", "lab.mycorp.com"])
13 print l.SetServersEx(array)
17 # instead of an array of variants
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c113 * serialize access to the array.
118 void *mthca_array_get(struct mthca_array *array, int index) argument
122 if (array->page_list[p].page)
123 return array->page_list[p].page[index & MTHCA_ARRAY_MASK];
128 int mthca_array_set(struct mthca_array *array, int index, void *value) argument
133 if (!array->page_list[p].page)
134 array->page_list[p].page = (void **) get_zeroed_page(GFP_ATOMIC);
136 if (!array->page_list[p].page)
139 array->page_list[p].page[index & MTHCA_ARRAY_MASK] = value;
140 ++array
145 mthca_array_clear(struct mthca_array *array, int index) argument
160 mthca_array_init(struct mthca_array *array, int nent) argument
177 mthca_array_cleanup(struct mthca_array *array, int nent) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/tests/arrays/
H A Darrays.cpp30 #define COMPARE_VALUE( array , index , value ) ( array.Item( index ) == value )
32 #define COMPARE_2_VALUES( array , p0 , p1 ) \
33 COMPARE_VALUE( array , 0 , p0 ) && \
34 COMPARE_VALUE( array , 1 , p1 )
36 #define COMPARE_3_VALUES( array , p0 , p1 , p2 ) \
37 COMPARE_2_VALUES( array , p0 , p1 ) && \
38 COMPARE_VALUE( array , 2 , p2 )
40 #define COMPARE_4_VALUES( array , p0 , p1 , p2 , p3 ) \
41 COMPARE_3_VALUES( array , p
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dmbuf.c48 ALLOC_ARRAY (ret->array, struct mbuf_item, ret->capacity);
60 struct mbuf_item *item = &ms->array[MBUF_INDEX(ms->head, i, ms->capacity)];
63 free (ms->array);
106 ms->array[MBUF_INDEX(ms->head, ms->len, ms->capacity)] = *item;
120 *item = ms->array[ms->head];
142 struct mbuf_item *item = &ms->array[MBUF_INDEX(ms->head, i, ms->capacity)];
161 struct mbuf_item *item = &ms->array[MBUF_INDEX(ms->head, i, ms->capacity)];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/gspca/stv06xx/
H A Dstv06xx_hdcs.c132 /* visible area of the sensor array */
137 } array; member in struct:hdcs
384 if (width > hdcs->array.width)
385 width = hdcs->array.width;
389 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP
390 > hdcs->array.height)
391 height = hdcs->array.height - 2 * hdcs->array.border -
394 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2
395 + hdcs->array
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/
H A Darrstrng.tex9 doesn't take more space than a C array {\it wxString[]} type (wxArrayString
14 string is added or inserted in the array, a copy of the string is created, so
23 array elements may be modified in place like this
26 array.Last().MakeUpper();
34 the array rarely (because, of course, you have to pay for Index() efficiency
36 not be used with sorted array (basically, all which break the order of items)
65 \func{}{wxArrayString}{\param{const wxArrayString\&}{ array}}
67 Copy constructor. Note that when an array is assigned to a sorted array, its contents is
72 Constructor from a C string array
[all...]
H A Darray.tex2 %% Name: array.tex
7 %% RCS-ID: $Id: array.tex 43029 2006-11-04 12:42:03Z VZ $
15 array-like data structure i.e. the member access time is constant (and not
23 automatically expand the array but provokes an assertion failure instead in
27 The array classes were designed to be reasonably efficient, both in terms of
29 array item access is, of course, constant (independent of the number of elements)
36 wxWidgets has three different kinds of array. All of them derive from
49 deleted when the element is removed from the array. It should be noted that
51 many array types as you want (either in terms of the executable size or the
63 array i
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/include/asm/
H A Dtlb.h23 void *array[TLB_NR_PTRS]; member in struct:mmu_gather
48 pte_free(tlb->mm, tlb->array[--tlb->nr_ptes]);
51 pgd_free(tlb->mm, tlb->array[tlb->nr_pxds++]);
83 tlb->array[tlb->nr_ptes++] = pte;
104 tlb->array[--tlb->nr_pxds] = pmd;
126 tlb->array[--tlb->nr_pxds] = pud;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/classic/
H A Dclipbrd.cpp232 wxDataFormat *array = new wxDataFormat[ m_data->GetFormatCount() ]; local
233 m_data->GetAllFormats( array );
239 array[i].GetId().c_str() );
246 size_t sz = data->GetDataSize( array[i] ) ;
250 data->GetDataHere( array[i] , buf ) ;
252 switch ( array[i].GetType() )
280 delete[] array;
344 wxDataFormat *array = new wxDataFormat[ formatcount ]; local
345 array[0] = data.GetPreferredFormat();
346 data.GetAllFormats( &array[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/flex/
H A Dmisc.c79 /* allocate_array - allocate memory for an integer array of the given size */
129 /* bubble - bubble sort an integer array in increasing order
136 * sorts the first n elements of array v and replaces them in
140 * v - the array to be sorted
239 /* cshell - shell sort a character array in increasing order
248 * Does a shell sort of the first n elements of array v.
253 * v - array to be sorted
437 /* mark_defs1 - mark the current position in the action array as
450 /* mark_prolog - mark the current position in the action array as
461 /* mk2data - generate a data statement for a two-dimensional array
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/flex/
H A Dmisc.c79 /* allocate_array - allocate memory for an integer array of the given size */
129 /* bubble - bubble sort an integer array in increasing order
136 * sorts the first n elements of array v and replaces them in
140 * v - the array to be sorted
239 /* cshell - shell sort a character array in increasing order
248 * Does a shell sort of the first n elements of array v.
253 * v - array to be sorted
437 /* mark_defs1 - mark the current position in the action array as
450 /* mark_prolog - mark the current position in the action array as
461 /* mk2data - generate a data statement for a two-dimensional array
[all...]

Completed in 224 milliseconds

1234567891011>>