Home
last modified time | relevance | path

Searched full:length (Results 1 – 25 of 8760) sorted by relevance

12345678910>>...351

/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/
H A Dccm.h130 * \p tag = \p output + \p length, and make sure that the
131 * output buffer is at least \p length + \p tag_len wide.
135 * \param length The length of the input data in Bytes.
138 * \param iv_len The length of the nonce in Bytes: 7, 8, 9, 10, 11, 12,
139 * or 13. The length L of the message length field is
143 * length.
144 * \param add_len The length of additional data in Bytes.
146 * \param input The buffer holding the input data. If \p length is greater
148 * that length.
149 * \param output The buffer holding the output data. If \p length is greater
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/
H A Dccm.h130 * \p tag = \p output + \p length, and make sure that the
131 * output buffer is at least \p length + \p tag_len wide.
135 * \param length The length of the input data in Bytes.
138 * \param iv_len The length of the nonce in Bytes: 7, 8, 9, 10, 11, 12,
139 * or 13. The length L of the message length field is
143 * length.
144 * \param add_len The length of additional data in Bytes.
146 * \param input The buffer holding the input data. If \p length is greater
148 * that length.
149 * \param output The buffer holding the output data. If \p length is greater
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/
H A Dccm.h130 * \p tag = \p output + \p length, and make sure that the
131 * output buffer is at least \p length + \p tag_len wide.
135 * \param length The length of the input data in Bytes.
138 * \param iv_len The length of the nonce in Bytes: 7, 8, 9, 10, 11, 12,
139 * or 13. The length L of the message length field is
143 * length.
144 * \param add_len The length of additional data in Bytes.
146 * \param input The buffer holding the input data. If \p length is greater
148 * that length.
149 * \param output The buffer holding the output data. If \p length is greater
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/
H A Dccm.h130 * \p tag = \p output + \p length, and make sure that the
131 * output buffer is at least \p length + \p tag_len wide.
135 * \param length The length of the input data in Bytes.
138 * \param iv_len The length of the nonce in Bytes: 7, 8, 9, 10, 11, 12,
139 * or 13. The length L of the message length field is
143 * length.
144 * \param add_len The length of additional data in Bytes.
146 * \param input The buffer holding the input data. If \p length is greater
148 * that length.
149 * \param output The buffer holding the output data. If \p length is greater
[all …]
/OK3568_Linux_fs/kernel/sound/usb/line6/
H A Dmidibuf.c19 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; in midibuf_message_length() local
21 message_length = length[(code >> 4) - 8]; in midibuf_message_length()
28 static const int length[] = { -1, 2, -1, 2, -1, -1, 1, 1, 1, 1, in midibuf_message_length() local
31 message_length = length[code & 0x0f]; in midibuf_message_length()
85 int length) in line6_midibuf_write() argument
91 if (midibuf_is_full(this) || (length <= 0)) in line6_midibuf_write()
95 if (data[length - 1] == 0xfe) { in line6_midibuf_write()
96 --length; in line6_midibuf_write()
102 if (length > bytes_free) in line6_midibuf_write()
103 length = bytes_free; in line6_midibuf_write()
[all …]
/OK3568_Linux_fs/kernel/security/selinux/
H A Dselinuxfs.c129 ssize_t length; in sel_read_enforce() local
131 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce()
133 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
144 ssize_t length; in sel_write_enforce() local
158 length = -EINVAL; in sel_write_enforce()
166 length = avc_has_perm(&selinux_state, in sel_write_enforce()
170 if (length) in sel_write_enforce()
186 length = count; in sel_write_enforce()
189 return length; in sel_write_enforce()
207 ssize_t length; in sel_read_handle_unknown() local
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c25 if (var->bits_per_pixel == 16 && var->red.length == 8 && in var_to_pixfmt()
26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt()
36 if (var->bits_per_pixel == 12 && var->red.length == 8 && in var_to_pixfmt()
37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt()
47 if (var->bits_per_pixel == 16 && var->red.length == 16 && in var_to_pixfmt()
48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt()
60 if (var->bits_per_pixel == 16 && var->red.length <= 5 && in var_to_pixfmt()
61 var->green.length <= 6 && var->blue.length <= 5) { in var_to_pixfmt()
62 if (var->transp.length == 0) { in var_to_pixfmt()
73 if (var->bits_per_pixel <= 32 && var->red.length <= 8 && in var_to_pixfmt()
[all …]
/OK3568_Linux_fs/external/recovery/minzip/
H A DSysUtil.c28 * Create an anonymous shared memory segment large enough to hold "length"
32 static void* sysCreateAnonShmem(size_t length) in sysCreateAnonShmem() argument
36 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, in sysCreateAnonShmem()
39 LOGW("mmap(%d, RW, SHARED|ANON) failed: %s\n", (int) length, in sysCreateAnonShmem()
50 size_t length; in getFileStartAndLength() local
60 LOGE("could not determine length of file\n"); in getFileStartAndLength()
64 length = end - start; in getFileStartAndLength()
65 if (length == 0) { in getFileStartAndLength()
71 *length_ = length; in getFileStartAndLength()
80 * We need to know the length ahead of time so we can allocate a segment
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/
H A DSysUtil.c28 * Create an anonymous shared memory segment large enough to hold "length"
32 static void* sysCreateAnonShmem(size_t length) in sysCreateAnonShmem() argument
36 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, in sysCreateAnonShmem()
39 LOGW("mmap(%d, RW, SHARED|ANON) failed: %s\n", (int) length, in sysCreateAnonShmem()
50 size_t length; in getFileStartAndLength() local
60 LOGE("could not determine length of file\n"); in getFileStartAndLength()
64 length = end - start; in getFileStartAndLength()
65 if (length == 0) { in getFileStartAndLength()
71 *length_ = length; in getFileStartAndLength()
80 * We need to know the length ahead of time so we can allocate a segment
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A Dexstorob.c33 u32 length; in acpi_ex_store_buffer_to_buffer() local
47 length = source_desc->buffer.length; in acpi_ex_store_buffer_to_buffer()
50 * If target is a buffer of length zero or is a static buffer, in acpi_ex_store_buffer_to_buffer()
51 * allocate a new buffer of the proper length in acpi_ex_store_buffer_to_buffer()
53 if ((target_desc->buffer.length == 0) || in acpi_ex_store_buffer_to_buffer()
55 target_desc->buffer.pointer = ACPI_ALLOCATE(length); in acpi_ex_store_buffer_to_buffer()
60 target_desc->buffer.length = length; in acpi_ex_store_buffer_to_buffer()
65 if (length <= target_desc->buffer.length) { in acpi_ex_store_buffer_to_buffer()
70 target_desc->buffer.length); in acpi_ex_store_buffer_to_buffer()
71 memcpy(target_desc->buffer.pointer, buffer, length); in acpi_ex_store_buffer_to_buffer()
[all …]
H A Dacpredef.h19 * ACPI_PTYPE1_FIXED: Fixed-length length, 1 or 2 object types:
25 * ACPI_PTYPE1_VAR: Variable-length length. Zero-length package is allowed:
32 * 2) PTYPE2 packages contain a Variable-length number of subpackages. Each
35 * ACPI_PTYPE2: Each subpackage contains 1 or 2 object types. Zero-length
44 * Zero-length parent package is allowed:
55 * ACPI_PTYPE2_FIXED: Each subpackage is of Fixed-length. Zero-length
59 * ACPI_PTYPE2_MIN: Each subpackage has a Variable-length but minimum length.
60 * Zero-length parent package is allowed:
63 * ACPI_PTYPE2_REV_FIXED: Revision at start, each subpackage is Fixed-length
66 * ACPI_PTYPE2_FIX_VAR: Each subpackage consists of some fixed-length elements
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ctrl.c23 unsigned int length, unsigned int offset, in nfp_net_tls_parse_crypto_ops() argument
30 if (length < 32) { in nfp_net_tls_parse_crypto_ops()
33 length, offset); in nfp_net_tls_parse_crypto_ops()
58 unsigned int length, offset; in nfp_net_tlv_caps_parse() local
61 length = FIELD_GET(NFP_NET_CFG_TLV_HEADER_LENGTH, hdr); in nfp_net_tlv_caps_parse()
67 if (length % NFP_NET_CFG_TLV_LENGTH_INC) { in nfp_net_tlv_caps_parse()
69 NFP_NET_CFG_TLV_LENGTH_INC, offset, length); in nfp_net_tlv_caps_parse()
72 if (data + length > end) { in nfp_net_tlv_caps_parse()
74 offset, length); in nfp_net_tlv_caps_parse()
85 if (!length) in nfp_net_tlv_caps_parse()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe_mr.c27 int mem_check_range(struct rxe_mem *mem, u64 iova, size_t length) in mem_check_range() argument
36 length > mem->length || in mem_check_range()
37 iova > mem->iova + mem->length - length) in mem_check_range()
127 u64 length, u64 iova, int access, struct ib_udata *udata, in rxe_mem_init_user() argument
138 umem = ib_umem_get(pd->ibpd.device, start, length, access); in rxe_mem_init_user()
163 if (length > 0) { in rxe_mem_init_user()
192 mem->length = length; in rxe_mem_init_user()
240 u64 length; in lookup_iova() local
251 length = mem->map[map_index]->buf[buf_index].size; in lookup_iova()
253 while (offset >= length) { in lookup_iova()
[all …]
H A Drxe_opcode.c106 .length = RXE_BTH_BYTES,
116 .length = RXE_BTH_BYTES,
126 .length = RXE_BTH_BYTES,
136 .length = RXE_BTH_BYTES + RXE_IMMDT_BYTES,
149 .length = RXE_BTH_BYTES,
160 .length = RXE_BTH_BYTES + RXE_IMMDT_BYTES,
172 .length = RXE_BTH_BYTES + RXE_RETH_BYTES,
184 .length = RXE_BTH_BYTES,
194 .length = RXE_BTH_BYTES,
205 .length = RXE_BTH_BYTES + RXE_IMMDT_BYTES,
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/
H A Dwlan_bssdef.h60 ULONG Length; // Length of structure member
73 ULONG Length; // Length of structure member
108 UCHAR Length; member
118 Length is the 4 bytes multiples of the sume of
123 Except the IELength, all other fields are fixed length. Therefore, we can define a marco to present…
130 ULONG Length;
207 ULONG Length; member
227 ULONG Length; // Length of this structure member
229 ULONG KeyLength; // length of key in bytes
232 UCHAR KeyMaterial[32]; // variable length depending on above field
[all …]
/OK3568_Linux_fs/kernel/drivers/net/fjes/
H A Dfjes_trace.h54 __field(int, length)
62 __entry->length = res_buf->info.length;
71 TP_printk("res_buf=[length=%d, code=%d, es_zones=%s, es_status=%s]",
72 __entry->length, __entry->code,
98 __field(int, length)
110 __entry->length = req_buf->share_buffer.length;
119 …TP_printk("req_buf=[length=%d, epid=%d], TX=[phy=0x%016llx, size=%zu], RX=[phy=0x%016llx, size=%zu…
120 __entry->length, __entry->epid, __entry->tx, __entry->tx_size,
128 __field(int, length)
133 __entry->length = res_buf->share_buffer.length;
[all …]
/OK3568_Linux_fs/kernel/fs/squashfs/
H A Dblock.c76 static int squashfs_bio_read(struct super_block *sb, u64 index, int length, in squashfs_bio_read() argument
82 const u64 read_end = round_up(index + length, msblk->devblksize); in squashfs_bio_read()
134 * Read and decompress a metadata block or datablock. Length is non-zero
136 * filesystem), otherwise the length is obtained from the first two bytes of
137 * the metadata block. A bit in the length field indicates if the block
142 int squashfs_read_data(struct super_block *sb, u64 index, int length, in squashfs_read_data() argument
151 if (length) { in squashfs_read_data()
155 compressed = SQUASHFS_COMPRESSED_BLOCK(length); in squashfs_read_data()
156 length = SQUASHFS_COMPRESSED_SIZE_BLOCK(length); in squashfs_read_data()
158 index, compressed ? "" : "un", length, output->length); in squashfs_read_data()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/
H A Dlength.hpp63 namespace detail { namespace length namespace
84 \brief Internal, calculates length of a linestring using iterator pairs and
125 }} // namespace detail::length
135 struct length : detail::calculate_null struct
148 struct length<Geometry, linestring_tag> struct
149 : detail::length::range_length<Geometry, closed>
153 // RING: length is currently 0; it might be argued that it is the "perimeter"
157 struct length<Geometry, segment_tag> struct
158 : detail::length::segment_length<Geometry>
163 struct length<MultiLinestring, multi_linestring_tag> : detail::multi_sum struct
[all …]
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A DMPQMUX.h110 USHORT Length; member
138 USHORT Length; member
169 USHORT Length; member
177 USHORT Length; member
192 USHORT Length; // 0x0000
198 USHORT Length;
214 USHORT Length;
234 USHORT Length;
246 USHORT Length;
263 USHORT Length;
[all …]
/OK3568_Linux_fs/external/xserver/os/
H A Dxdmcp.c150 unsigned length);
154 static void recv_accept_msg(unsigned length);
156 static void recv_decline_msg(unsigned length);
160 static void recv_refuse_msg(unsigned length);
162 static void recv_failed_msg(unsigned length);
166 static void recv_alive_msg(unsigned length );
204 XdmcpRegisterManufacturerDisplayID(const char *name, int length) in XdmcpRegisterManufacturerDisplayID() argument
209 if (!XdmcpAllocARRAY8(&ManufacturerDisplayID, length)) in XdmcpRegisterManufacturerDisplayID()
211 for (i = 0; i < length; i++) in XdmcpRegisterManufacturerDisplayID()
392 AuthenticationNames.length + 1) && in XdmcpRegisterAuthentication()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/
H A Dwlan_bssdef.h60 ULONG Length; // Length of structure member
73 ULONG Length; // Length of structure member
108 UCHAR Length; member
118 Length is the 4 bytes multiples of the sume of
123 Except the IELength, all other fields are fixed length. Therefore, we can define a marco to present…
130 ULONG Length;
207 ULONG Length; member
227 ULONG Length; // Length of this structure member
229 ULONG KeyLength; // length of key in bytes
232 UCHAR KeyMaterial[32]; // variable length depending on above field
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/
H A Dwlan_bssdef.h52 ULONG Length; /* Length of structure */ member
64 ULONG Length; /* Length of structure */ member
96 UCHAR Length; member
106 Length is the 4 bytes multiples of the sume of
111 Except the IELength, all other fields are fixed length. Therefore, we can define a marco to present…
117 ULONG Length;
188 ULONG Length; member
206 ULONG Length; /* Length of this structure */ member
208 ULONG KeyLength; /* length of key in bytes */
211 UCHAR KeyMaterial[32]; /* variable length depending on above field */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/
H A Dwlan_bssdef.h57 ULONG Length; /* Length of structure */ member
69 ULONG Length; /* Length of structure */ member
101 UCHAR Length; member
111 Length is the 4 bytes multiples of the sume of
116 Except the IELength, all other fields are fixed length. Therefore, we can define a marco to present…
122 ULONG Length;
193 ULONG Length; member
211 ULONG Length; /* Length of this structure */ member
213 ULONG KeyLength; /* length of key in bytes */
216 UCHAR KeyMaterial[32]; /* variable length depending on above field */
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroutexmlparser/
H A Droute1.xml1Length>15895.0</Length><TravelTime>812.2</TravelTime><Maneuver xmlns:xsi="http://www.w3.org/2001/X…
/OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/
H A Dglxcmdsswap.c59 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateContext()
75 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateNewContext()
91 __GLX_SWAP_SHORT(&req->length); in __glXSwapCreateContextWithConfigSGIX()
107 __GLX_SWAP_SHORT(&req->length); in __glXSwapQueryMaxSwapBarriersSGIX()
120 __GLX_SWAP_SHORT(&req->length); in __glXSwapBindSwapBarrierSGIX()
134 __GLX_SWAP_SHORT(&req->length); in __glXSwapJoinSwapGroupSGIX()
148 __GLX_SWAP_SHORT(&req->length); in __glXSwapDestroyContext()
161 __GLX_SWAP_SHORT(&req->length); in __glXSwapMakeCurrent()
176 __GLX_SWAP_SHORT(&req->length); in __glXSwapMakeContextCurrent()
192 __GLX_SWAP_SHORT(&req->length); in __glXSwapMakeCurrentReadSGI()
[all …]

12345678910>>...351