HomeSort by relevance Sort by last modified time
    Searched refs:c_byte (Results 1 - 25 of 54) sorted by null

1 2 3

  /cts/tests/tests/rsblas/libbnnmdata/
test_data.cpp 56581 jbyte * c_byte = (jbyte *) env->GetPrimitiveArrayCritical(c, 0); local
    [all...]
  /external/python/cpython2/Lib/ctypes/test/
test_memfunctions.py 43 self.assertEqual(cast(a, POINTER(c_byte))[:7],
45 self.assertEqual(cast(a, POINTER(c_byte))[:7:],
47 self.assertEqual(cast(a, POINTER(c_byte))[6:-1:-1],
49 self.assertEqual(cast(a, POINTER(c_byte))[:7:2],
51 self.assertEqual(cast(a, POINTER(c_byte))[:7:7],
test_cfuncs.py 19 self._dll.tf_b.restype = c_byte
20 self._dll.tf_b.argtypes = (c_byte,)
25 self._dll.tf_bb.restype = c_byte
26 self._dll.tf_bb.argtypes = (c_byte, c_byte)
38 self._dll.tf_bB.argtypes = (c_byte, c_ubyte)
50 self._dll.tf_bh.argtypes = (c_byte, c_short)
62 self._dll.tf_bH.argtypes = (c_byte, c_ushort)
74 self._dll.tf_bi.argtypes = (c_byte, c_int)
86 self._dll.tf_bI.argtypes = (c_byte, c_uint
    [all...]
test_byteswap.py 144 self.assertIs(c_byte.__ctype_le__, c_byte)
145 self.assertIs(c_byte.__ctype_be__, c_byte)
162 ("b", c_byte),
175 ("b1", c_byte, 3),
176 ("b2", c_byte, 3),
177 ("b3", c_byte, 2),
230 _fields_ = [("b", c_byte),
249 _fields_ = [("b", c_byte),
    [all...]
test_unaligned_structures.py 18 _fields_ = [("pad", c_byte),
22 _fields_ = [("pad", c_byte),
test_repr.py 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
test_functions.py 70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
93 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
119 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
131 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
143 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble]
157 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
163 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
test_array_in_pointer.py 14 _fields_ = [("val", c_byte)]
test_pep3118.py 146 (c_byte, "<b", None, c_byte),
170 (POINTER(c_byte), "&<b", None, POINTER(c_byte)),
test_bitfields.py 50 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong)
198 _fields_ = [("a", c_byte, 4),
207 _fields_ = [("a", c_byte, 4),
213 _fields_ = [("a", c_byte, 4),
215 self.assertEqual(sizeof(X), sizeof(c_byte))
236 _fields_ = [("a", c_byte, 4),
test_structures.py 49 "b": c_byte,
166 _fields_ = [("a", c_byte),
174 _fields_ = [("a", c_byte),
185 _fields_ = [("a", c_byte),
192 _fields_ = [("a", c_byte),
206 d = {"_fields_": [("a", c_byte)],
209 d = {"_fields_": [("a", c_byte)],
  /external/python/cpython3/Lib/ctypes/test/
test_memfunctions.py 44 self.assertEqual(cast(a, POINTER(c_byte))[:7],
46 self.assertEqual(cast(a, POINTER(c_byte))[:7:],
48 self.assertEqual(cast(a, POINTER(c_byte))[6:-1:-1],
50 self.assertEqual(cast(a, POINTER(c_byte))[:7:2],
52 self.assertEqual(cast(a, POINTER(c_byte))[:7:7],
test_cfuncs.py 19 self._dll.tf_b.restype = c_byte
20 self._dll.tf_b.argtypes = (c_byte,)
25 self._dll.tf_bb.restype = c_byte
26 self._dll.tf_bb.argtypes = (c_byte, c_byte)
38 self._dll.tf_bB.argtypes = (c_byte, c_ubyte)
50 self._dll.tf_bh.argtypes = (c_byte, c_short)
62 self._dll.tf_bH.argtypes = (c_byte, c_ushort)
74 self._dll.tf_bi.argtypes = (c_byte, c_int)
86 self._dll.tf_bI.argtypes = (c_byte, c_uint
    [all...]
test_byteswap.py 164 self.assertIs(c_byte.__ctype_le__, c_byte)
165 self.assertIs(c_byte.__ctype_be__, c_byte)
182 ("b", c_byte),
195 ("b1", c_byte, 3),
196 ("b2", c_byte, 3),
197 ("b3", c_byte, 2),
250 _fields_ = [("b", c_byte),
269 _fields_ = [("b", c_byte),
    [all...]
test_unaligned_structures.py 18 _fields_ = [("pad", c_byte),
22 _fields_ = [("pad", c_byte),
test_repr.py 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
test_functions.py 70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
93 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
119 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
131 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
143 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble]
157 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
163 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
test_array_in_pointer.py 14 _fields_ = [("val", c_byte)]
test_pep3118.py 149 (c_byte, "<b", (), c_byte),
173 (POINTER(c_byte), "&<b", (), POINTER(c_byte)),
test_bitfields.py 49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong)
197 _fields_ = [("a", c_byte, 4),
206 _fields_ = [("a", c_byte, 4),
212 _fields_ = [("a", c_byte, 4),
214 self.assertEqual(sizeof(X), sizeof(c_byte))
235 _fields_ = [("a", c_byte, 4),
  /cts/tests/tests/rsblas/src/android/renderscript/cts/
BNNMTest.java 68 private boolean testWithTolerance(byte[] c_byte, byte[] c_byte_output) {
85 final boolean areSizesDifferent = (c_byte.length != c_byte_output.length);
86 final int c_count = Math.min(c_byte.length, c_byte_output.length);
91 byte expectedValue = c_byte[i];
331 byte[] c_byte = new byte[c_count];
333 getData(a_byte, b_byte, c_byte);
338 assertTrue(testWithTolerance(c_byte, c_byte_output));
  /external/llvm/bindings/python/llvm/
disassembler.py 13 from ctypes import c_byte
102 out_str = cast((c_byte * 255)(), c_char_p)
123 out_str = cast((c_byte * 255)(), c_char_p)
  /external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/
disassembler.py 13 from ctypes import c_byte
102 out_str = cast((c_byte * 255)(), c_char_p)
123 out_str = cast((c_byte * 255)(), c_char_p)
  /external/squashfs-tools/squashfs-tools/
xattr.c 317 unsigned short c_byte; local
332 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET,
335 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte);
336 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1);
337 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET;
490 unsigned short c_byte; local
514 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, datap,
516 TRACE("Xattr block @ 0x%x, size %d\n", xattr_bytes, c_byte);
517 SQUASHFS_SWAP_SHORTS(&c_byte, xattr_table + xattr_bytes, 1);
518 xattr_bytes += SQUASHFS_COMPRESSED_SIZE(c_byte) + BLOCK_OFFSET
    [all...]
read_fs.c 58 unsigned short c_byte; local
63 res = read_fs_bytes(fd, start, 2, &c_byte);
67 SQUASHFS_INSWAP_SHORTS(&c_byte, 1);
68 compressed = SQUASHFS_COMPRESSED(c_byte);
69 c_byte = SQUASHFS_COMPRESSED_SIZE(c_byte);
76 if (c_byte > outlen)
80 char buffer[c_byte];
83 res = read_fs_bytes(fd, start + 2, c_byte, buffer);
87 res = compressor_uncompress(comp, block, buffer, c_byte,
    [all...]

Completed in 1149 milliseconds

1 2 3