HomeSort by relevance Sort by last modified time
    Searched full:c_string (Results 1 - 25 of 52) sorted by null

1 2 3

  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_strings.py 86 cs = c_string("abcdef")
88 # Cannot call len on a c_string any longer
94 self.assertEqual(c_string("abc\000def").value, "abc")
98 self.assertEqual(c_string("abc\000def").raw, "abc\000def\000")
109 self.assertRaises(TypeError, c_string, u"123")
114 self.assertRaises(TypeError, c_string, None)
117 # c_string(number) returns an empty string of size number
118 self.assertTrue(len(c_string(32).raw) == 32)
119 self.assertRaises(ValueError, c_string, -1)
120 self.assertRaises(ValueError, c_string, 0
    [all...]
test_funcptr.py 108 ## strtok.argtypes = (c_string, c_char_p)
110 def c_string(init): function in function:CFuncPtrTestCase.test_dllfunctions
115 b = c_string(s)
120 ## b = c_string(s)
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_strings.py 86 cs = c_string("abcdef")
88 # Cannot call len on a c_string any longer
94 self.assertEqual(c_string("abc\000def").value, "abc")
98 self.assertEqual(c_string("abc\000def").raw, "abc\000def\000")
109 self.assertRaises(TypeError, c_string, u"123")
114 self.assertRaises(TypeError, c_string, None)
117 # c_string(number) returns an empty string of size number
118 self.assertTrue(len(c_string(32).raw) == 32)
119 self.assertRaises(ValueError, c_string, -1)
120 self.assertRaises(ValueError, c_string, 0
    [all...]
test_funcptr.py 108 ## strtok.argtypes = (c_string, c_char_p)
110 def c_string(init): function in function:CFuncPtrTestCase.test_dllfunctions
115 b = c_string(s)
120 ## b = c_string(s)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_strings.py 86 cs = c_string("abcdef")
88 # Cannot call len on a c_string any longer
94 self.assertEqual(c_string("abc\000def").value, "abc")
98 self.assertEqual(c_string("abc\000def").raw, "abc\000def\000")
109 self.assertRaises(TypeError, c_string, u"123")
114 self.assertRaises(TypeError, c_string, None)
117 # c_string(number) returns an empty string of size number
118 self.assertTrue(len(c_string(32).raw) == 32)
119 self.assertRaises(ValueError, c_string, -1)
120 self.assertRaises(ValueError, c_string, 0
    [all...]
test_funcptr.py 108 ## strtok.argtypes = (c_string, c_char_p)
110 def c_string(init): function in function:CFuncPtrTestCase.test_dllfunctions
115 b = c_string(s)
120 ## b = c_string(s)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_strings.py 86 cs = c_string("abcdef")
88 # Cannot call len on a c_string any longer
94 self.assertEqual(c_string("abc\000def").value, "abc")
98 self.assertEqual(c_string("abc\000def").raw, "abc\000def\000")
109 self.assertRaises(TypeError, c_string, u"123")
114 self.assertRaises(TypeError, c_string, None)
117 # c_string(number) returns an empty string of size number
118 self.assertTrue(len(c_string(32).raw) == 32)
119 self.assertRaises(ValueError, c_string, -1)
120 self.assertRaises(ValueError, c_string, 0
    [all...]
test_funcptr.py 108 ## strtok.argtypes = (c_string, c_char_p)
110 def c_string(init): function in function:CFuncPtrTestCase.test_dllfunctions
115 b = c_string(s)
120 ## b = c_string(s)
  /external/google-breakpad/src/testing/gtest/samples/
sample2_unittest.cc 52 // Asserts that s.c_string() returns NULL.
72 EXPECT_STREQ(NULL, s.c_string());
82 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
91 EXPECT_EQ(0, strcmp(s2.c_string(), kHelloString));
99 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
103 s.Set(s.c_string());
104 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
108 EXPECT_STREQ(NULL, s.c_string());
sample2.h 74 const char* c_string() const { return c_string_; } function in class:MyString
81 void Set(const char* c_string);
sample2.cc 52 // Makes sure this works when c_string == c_string_
  /external/protobuf/gtest/samples/
sample2_unittest.cc 52 // Asserts that s.c_string() returns NULL.
72 EXPECT_STREQ(NULL, s.c_string());
82 EXPECT_TRUE(strcmp(s.c_string(), kHelloString) == 0);
91 EXPECT_TRUE(strcmp(s2.c_string(), kHelloString) == 0);
99 EXPECT_TRUE(strcmp(s.c_string(), kHelloString) == 0);
103 s.Set(s.c_string());
104 EXPECT_TRUE(strcmp(s.c_string(), kHelloString) == 0);
108 EXPECT_STREQ(NULL, s.c_string());
sample2.h 75 const char* c_string() const { return c_string_; } function in class:MyString
82 void Set(const char* c_string);
sample2.cc 52 // Makes sure this works when c_string == c_string_
  /external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
sample2_unittest.cc 52 // Asserts that s.c_string() returns NULL.
72 EXPECT_STREQ(NULL, s.c_string());
82 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
91 EXPECT_EQ(0, strcmp(s2.c_string(), kHelloString));
99 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
103 s.Set(s.c_string());
104 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
108 EXPECT_STREQ(NULL, s.c_string());
sample2.h 74 const char* c_string() const { return c_string_; } function in class:MyString
81 void Set(const char* c_string);
  /ndk/sources/third_party/googletest/googletest/samples/
sample2_unittest.cc 52 // Asserts that s.c_string() returns NULL.
72 EXPECT_STREQ(NULL, s.c_string());
82 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
91 EXPECT_EQ(0, strcmp(s2.c_string(), kHelloString));
99 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
103 s.Set(s.c_string());
104 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString));
108 EXPECT_STREQ(NULL, s.c_string());
sample2.h 74 const char* c_string() const { return c_string_; } function in class:MyString
81 void Set(const char* c_string);
  /prebuilts/misc/common/swig/include/2.0.11/ocaml/
class.swg 17 C_string (String.sub x 2 ((String.length x) - 2)))
22 ":classof", (fun args -> C_string "$realname") ;
25 Hashtbl.iter (fun x y -> out := (C_string x) :: !out) h ; !out))
ocaml.swg 27 #define C_string 15
150 case C_string:
361 vv = caml_swig_alloc(1,C_string);
370 vv = caml_swig_alloc(1,C_string);
404 case C_string:
475 case C_string:
509 case C_string:
524 case C_string:
571 case C_string:
swig.mli 22 | C_string of string
swig.ml 24 | C_string of string
86 C_string str -> str
111 let make_string s = C_string s
  /prebuilts/misc/common/swig/include/2.0.11/java/
various.i 36 const char *c_string = JCALL2(GetStringUTFChars, jenv, j_string, 0);
38 $1[i] = new char [strlen(c_string)+1];
40 $1[i] = (char *)calloc(strlen(c_string)+1, sizeof(const char *));
42 strcpy($1[i], c_string);
43 JCALL2(ReleaseStringUTFChars, jenv, j_string, c_string);
  /prebuilts/misc/common/swig/include/2.0.11/chicken/
std_string.i 67 $result = C_string (&space, size, (char *) $1.c_str());
73 $result = C_string (&space, size, (char *) $1->c_str());
94 $result = C_string (&space, size, (char *) $1.c_str());
  /external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/
d3d1xstutil.h 729 struct c_string struct
732 c_string(const char* p) function in struct:c_string
742 static inline bool operator ==(const c_string& a, const c_string& b)
747 static inline bool operator !=(const c_string& a, const c_string& b)
796 struct hash<c_string> : public std::unary_function<c_string, size_t>
798 inline size_t operator()(c_string __val) const;
801 inline size_t hash<c_string>::operator()(c_string __val) cons
    [all...]

Completed in 493 milliseconds

1 2 3