Searched refs:bytes (Results 1 - 25 of 1384) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/
H A Dudev_sysdeps.c33 size_t bytes = 0; local
39 if (bytes+1 < size)
41 bytes++;
47 return bytes;
52 size_t bytes = 0; local
57 while (bytes < size && *q) {
59 bytes++;
61 if (bytes == size)
62 return (bytes + strlen(src));
65 if (bytes
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/bind/
H A DByteArrayBinding.java39 byte[] bytes = new byte[len];
41 bytes, 0, bytes.length);
42 return bytes;
49 byte[] bytes = (byte[]) object;
50 entry.setData(bytes, 0, bytes.length);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dextended.c108 wxFloat64 ConvertFromIeeeExtended(const wxInt8 *bytes) argument
114 expon = ((bytes[0] & 0x7F) << 8) | (bytes[1] & 0xFF);
115 hiMant = ((wxUint32)(bytes[2] & 0xFF) << 24)
116 | ((wxUint32)(bytes[3] & 0xFF) << 16)
117 | ((wxUint32)(bytes[4] & 0xFF) << 8)
118 | ((wxUint32)(bytes[5] & 0xFF));
119 loMant = ((wxUint32)(bytes[6] & 0xFF) << 24)
120 | ((wxUint32)(bytes[7] & 0xFF) << 16)
121 | ((wxUint32)(bytes[
148 ConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes) argument
[all...]
H A Dipcbase.cpp28 wxConnectionBase::wxConnectionBase(wxChar *buffer, int bytes) argument
31 m_buffersize(bytes),
68 wxChar *wxConnectionBase::GetBufferAtLeast( size_t bytes )
70 if ( m_buffersize >= bytes )
79 // bytes / sizeof(wxChar) rounded upwards.
80 m_buffer = new wxChar[(bytes + sizeof(wxChar) - 1) / sizeof(wxChar)];
81 m_buffersize = bytes;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/
H A Dlpfc_compat.h30 However on a big-endian host, copy 4 bytes at a time,
38 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes) argument
48 /* write input bytes, 4 bytes at a time */
49 for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) {
60 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) argument
70 /* read input bytes, 4 bytes at a time */
71 for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) {
83 lpfc_memcpy_to_slim( void __iomem *dest, void *src, unsigned int bytes) argument
89 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/util/
H A DUtfOps.java26 * @param bytes the data containing the UTF string.
32 * @return the number of bytes.
34 public static int getZeroTerminatedByteLength(byte[] bytes, int offset) argument
38 while (bytes[offset++] != 0) {
89 * @param bytes the UTF string.
99 public static int getCharLength(byte[] bytes) argument
102 return getCharLength(bytes, 0, bytes.length);
108 * @param bytes the data containing the UTF string.
120 public static int getCharLength(byte[] bytes, in argument
167 bytesToChars(byte[] bytes, int byteOffset, char[] chars, int charOffset, int len, boolean isByteLen) argument
218 charsToBytes(char[] chars, int charOffset, byte[] bytes, int byteOffset, int charLength) argument
255 bytesToString(byte[] bytes, int offset, int length) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libid3tag-0.15.0b/
H A Dparse.c41 signed long id3_parse_int(id3_byte_t const **ptr, unsigned int bytes) argument
45 assert(bytes >= 1 && bytes <= 4);
50 switch (bytes) {
60 unsigned long id3_parse_uint(id3_byte_t const **ptr, unsigned int bytes) argument
64 assert(bytes >= 1 && bytes <= 4);
66 switch (bytes) {
76 unsigned long id3_parse_syncsafe(id3_byte_t const **ptr, unsigned int bytes) argument
80 assert(bytes
93 id3_parse_immediate(id3_byte_t const **ptr, unsigned int bytes, char *value) argument
[all...]
H A Drender.c43 char const *value, unsigned int bytes)
46 assert(bytes == 8 || bytes == 4 || bytes == 3);
49 switch (bytes) {
61 return bytes;
65 unsigned long num, unsigned int bytes)
67 assert(bytes == 4 || bytes == 5);
70 switch (bytes) {
42 id3_render_immediate(id3_byte_t **ptr, char const *value, unsigned int bytes) argument
64 id3_render_syncsafe(id3_byte_t **ptr, unsigned long num, unsigned int bytes) argument
82 id3_render_int(id3_byte_t **ptr, signed long num, unsigned int bytes) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/packages/libid3tag-0.15.0b/
H A Dparse.c41 signed long id3_parse_int(id3_byte_t const **ptr, unsigned int bytes) argument
45 assert(bytes >= 1 && bytes <= 4);
50 switch (bytes) {
60 unsigned long id3_parse_uint(id3_byte_t const **ptr, unsigned int bytes) argument
64 assert(bytes >= 1 && bytes <= 4);
66 switch (bytes) {
76 unsigned long id3_parse_syncsafe(id3_byte_t const **ptr, unsigned int bytes) argument
80 assert(bytes
93 id3_parse_immediate(id3_byte_t const **ptr, unsigned int bytes, char *value) argument
[all...]
H A Drender.c43 char const *value, unsigned int bytes)
46 assert(bytes == 8 || bytes == 4 || bytes == 3);
49 switch (bytes) {
61 return bytes;
65 unsigned long num, unsigned int bytes)
67 assert(bytes == 4 || bytes == 5);
70 switch (bytes) {
42 id3_render_immediate(id3_byte_t **ptr, char const *value, unsigned int bytes) argument
64 id3_render_syncsafe(id3_byte_t **ptr, unsigned long num, unsigned int bytes) argument
82 id3_render_int(id3_byte_t **ptr, signed long num, unsigned int bytes) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/sound/
H A Dpcm-indirect.h35 unsigned int sw_io; /* Current software pointer in bytes */
41 struct snd_pcm_indirect *rec, size_t bytes);
66 unsigned int bytes = qsize - rec->hw_ready; local
67 if (rec->sw_ready < (int)bytes)
68 bytes = rec->sw_ready;
69 if (hw_to_end < bytes)
70 bytes = hw_to_end;
71 if (sw_to_end < bytes)
72 bytes = sw_to_end;
73 if (! bytes)
95 int bytes = ptr - rec->hw_io; local
131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local
161 int bytes = ptr - rec->hw_io; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/sn/kernel/sn2/
H A Dcache.c16 * @bytes: number of bytes to flush
20 * @flush_addr to @flush_addr + @bytes are flushed
24 sn_flush_all_caches(long flush_addr, long bytes) argument
32 flush_icache_range(addr, addr + bytes);
38 flush_icache_range(addr, addr + bytes);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/docs/examples/
H A Dsampleconv.c45 size_t bytes = length; local
48 rc = platform_a2e(&tempptrin, &bytes, &tempptrout, &bytes);
59 size_t bytes = length; local
62 rc = platform_e2a(&tempptrin, &bytes, &tempptrout, &bytes);
73 size_t bytes = length; local
76 rc = platform_u2e(&tempptrin, &bytes, &tempptrout, &bytes);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dtask_io_accounting_ops.h10 static inline void task_io_account_read(size_t bytes) argument
12 current->ioac.read_bytes += bytes;
16 * We approximate number of blocks, because we account bytes only.
17 * A 'block' is 512 bytes
24 static inline void task_io_account_write(size_t bytes) argument
26 current->ioac.write_bytes += bytes;
30 * We approximate number of blocks, because we account bytes only.
31 * A 'block' is 512 bytes
38 static inline void task_io_account_cancelled_write(size_t bytes) argument
40 current->ioac.cancelled_write_bytes += bytes;
58 task_io_account_read(size_t bytes) argument
67 task_io_account_write(size_t bytes) argument
76 task_io_account_cancelled_write(size_t bytes) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-omap/
H A Diovmm.c63 /* return total bytes of sg buffers */
73 size_t bytes; local
75 bytes = sg_dma_len(sg);
77 if (!iopgsz_ok(bytes)) {
79 __func__, i, bytes);
83 total += bytes;
91 * calculate the optimal number sg elements from total bytes based on
94 static unsigned int sgtable_nents(size_t bytes) argument
100 if (!IS_ALIGNED(bytes, PAGE_SIZE)) {
101 pr_err("%s: wrong size %08x\n", __func__, bytes);
118 sgtable_alloc(const size_t bytes, u32 flags) argument
188 size_t bytes; local
262 alloc_iovm_area(struct iommu *obj, u32 da, size_t bytes, u32 flags) argument
337 size_t bytes; local
387 const size_t bytes = PAGE_SIZE; local
420 size_t bytes; local
462 size_t bytes; local
490 size_t bytes; local
511 size_t bytes; local
570 map_iommu_region(struct iommu *obj, u32 da, const struct sg_table *sgt, void *va, size_t bytes, u32 flags) argument
603 __iommu_vmap(struct iommu *obj, u32 da, const struct sg_table *sgt, void *va, size_t bytes, u32 flags) argument
621 size_t bytes; local
683 iommu_vmalloc(struct iommu *obj, u32 da, size_t bytes, u32 flags) argument
743 __iommu_kmap(struct iommu *obj, u32 da, u32 pa, void *va, size_t bytes, u32 flags) argument
773 iommu_kmap(struct iommu *obj, u32 da, u32 pa, size_t bytes, u32 flags) argument
831 iommu_kmalloc(struct iommu *obj, u32 da, size_t bytes, u32 flags) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/include/asm/
H A Dxor_32.h24 sparc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) argument
26 int lines = bytes / (sizeof (long)) / 8;
61 sparc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, argument
64 int lines = bytes / (sizeof (long)) / 8;
112 sparc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, argument
115 int lines = bytes / (sizeof (long)) / 8;
176 sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, argument
179 int lines = bytes / (sizeof (long)) / 8;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dstats.h27 uint32_t bytes );
30 uint32_t bytes );
/netgear-R7000-V1.0.7.12_1.2.5/src/include/
H A Dflashutl.h27 int sysFlashRead(uint off, uchar *dst, uint bytes);
28 int sysFlashWrite(uint off, uchar *src, uint bytes);
H A Dbcmendian.h29 /* Reverse the bytes in a 16-bit value */
34 /* Reverse the bytes in a 32-bit value */
46 /* Reverse the bytes in a 64-bit value */
182 #define htol16_ua_store(val, bytes) ({ \
184 uint8 *_bytes = (uint8 *)(bytes); \
189 #define htol32_ua_store(val, bytes) ({ \
191 uint8 *_bytes = (uint8 *)(bytes); \
198 #define hton16_ua_store(val, bytes) ({ \
200 uint8 *_bytes = (uint8 *)(bytes); \
205 #define hton32_ua_store(val, bytes) ({ \
279 htol16_ua_store(uint16 val, uint8 *bytes) argument
289 htol32_ua_store(uint32 val, uint8 *bytes) argument
301 hton16_ua_store(uint16 val, uint8 *bytes) argument
311 hton32_ua_store(uint32 val, uint8 *bytes) argument
323 ltoh16_ua(const void *bytes) argument
332 ltoh32_ua(const void *bytes) argument
341 ntoh16_ua(const void *bytes) argument
350 ntoh32_ua(const void *bytes) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Dfree-space-cache.h25 u64 bytes; member in struct:btrfs_free_space
37 u64 offset, u64 bytes, u64 empty_size);
39 u64 bytes);
45 u64 offset, u64 bytes, u64 empty_size);
48 struct btrfs_free_cluster *cluster, u64 bytes,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rtc/
H A Drtc-dm355evm.c26 * counter bytes atomically: the count may increment in the middle
32 u8 bytes[4]; member in union:evm_time
44 * Read LSB(0) to MSB(3) bytes. Defend against the counter
51 if (tries && time.bytes[0] == status)
53 time.bytes[0] = status;
58 if (tries && time.bytes[1] == status)
60 time.bytes[1] = status;
65 if (tries && time.bytes[2] == status)
67 time.bytes[2] = status;
72 if (tries && time.bytes[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/xen/
H A Dxencomm.c29 void *buffer, unsigned long bytes)
34 while ((recorded < bytes) && (i < desc->nr_addrs)) {
41 chunksz = min(PAGE_SIZE - offset, bytes - recorded);
54 if (recorded < bytes) {
56 "%s: could only translate %ld of %ld bytes\n",
57 __func__, recorded, bytes);
71 void *buffer, unsigned long bytes)
76 unsigned long end = (buffer_ulong + bytes) | ~PAGE_MASK;
120 static int xencomm_create(void *buffer, unsigned long bytes, argument
126 pr_debug("%s: %p[%ld]\n", __func__, buffer, bytes);
28 xencomm_init(struct xencomm_desc *desc, void *buffer, unsigned long bytes) argument
70 xencomm_alloc(gfp_t gfp_mask, void *buffer, unsigned long bytes) argument
166 xencomm_create_mini(void *buffer, unsigned long bytes, struct xencomm_mini *xc_desc, struct xencomm_desc **ret) argument
185 xencomm_map(void *ptr, unsigned long bytes) argument
201 __xencomm_map_no_alloc(void *ptr, unsigned long bytes, struct xencomm_mini *xc_desc) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/squashfs/
H A Dsymlink.c55 int bytes, copied; local
63 * Skip index bytes into symlink metadata.
66 bytes = squashfs_read_metadata(sb, NULL, &block, &offset,
68 if (bytes < 0) {
77 * Read length bytes from symlink metadata. Squashfs_read_metadata
80 * squashfs_cache_get routine. As length bytes may overlap metadata
83 for (bytes = 0; bytes < length; offset = 0, bytes += copied) {
94 copied = squashfs_copy_data(pageaddr + bytes, entr
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/
H A Ddbus-memory.h43 void* dbus_malloc (size_t bytes);
48 void* dbus_malloc0 (size_t bytes);
54 size_t bytes);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dmbchar.h40 returns the number of bytes occupied by the multibyte sequence.
164 size_t bytes; /* number of bytes of current character, > 0 */ member in struct:mbchar
167 char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */
170 /* EOF (not a real character) is represented with bytes = 0 and
177 #define mb_len(mbc) ((mbc).bytes)
189 : (mbc1).bytes == (mbc2).bytes \
190 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \
191 : (mbc1).bytes < (mbc
[all...]

Completed in 409 milliseconds

1234567891011>>