HomeSort by relevance Sort by last modified time
    Searched refs:c_buffer (Results 1 - 10 of 10) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_stringptr.py 17 b = c_buffer("Hello, World")
24 # POINTER(c_char) and c_buffer() is compatible
36 # c_char_p and c_buffer is NOT compatible
40 b = c_buffer("Hello, World")
49 # c_char_p and c_buffer are now compatible
52 self.assertEqual(strchr(c_buffer("abcdef"), "c"), "cdef")
55 # POINTER(c_char) and c_buffer() is compatible
57 buf = c_buffer("abcdef")
66 buf = c_buffer("abcdef")
test_prototypes.py 99 self.assertEqual("123", func(c_buffer("123")))
114 self.assertEqual("123", func(c_buffer("123")))
129 self.assertEqual("123", func(c_buffer("123")))
test_python_api.py 74 buf = c_buffer(256)
test_strings.py 29 buf = c_buffer(32)
39 buf = c_buffer(32)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_stringptr.py 17 b = c_buffer("Hello, World")
24 # POINTER(c_char) and c_buffer() is compatible
36 # c_char_p and c_buffer is NOT compatible
40 b = c_buffer("Hello, World")
49 # c_char_p and c_buffer are now compatible
52 self.assertEqual(strchr(c_buffer("abcdef"), "c"), "cdef")
55 # POINTER(c_char) and c_buffer() is compatible
57 buf = c_buffer("abcdef")
66 buf = c_buffer("abcdef")
test_prototypes.py 99 self.assertEqual("123", func(c_buffer("123")))
114 self.assertEqual("123", func(c_buffer("123")))
129 self.assertEqual("123", func(c_buffer("123")))
test_python_api.py 74 buf = c_buffer(256)
test_strings.py 29 buf = c_buffer(32)
39 buf = c_buffer(32)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 70 def c_buffer(init, size=None): function
73 ## warnings.warn("c_buffer is deprecated, use create_string_buffer instead",
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 70 def c_buffer(init, size=None): function
73 ## warnings.warn("c_buffer is deprecated, use create_string_buffer instead",

Completed in 104 milliseconds