/external/protobuf/gtest/samples/ |
D | sample2.cc | 39 const char * MyString::CloneCString(const char * c_string) { in CloneCString() argument 40 if (c_string == NULL) return NULL; in CloneCString() 42 const size_t len = strlen(c_string); in CloneCString() 44 memcpy(clone, c_string, len + 1); in CloneCString() 51 void MyString::Set(const char * c_string) { in Set() argument 53 const char * const temp = MyString::CloneCString(c_string); in Set()
|
D | sample2_unittest.cc | 72 EXPECT_STREQ(NULL, s.c_string()); in TEST() 82 EXPECT_TRUE(strcmp(s.c_string(), kHelloString) == 0); in TEST() 91 EXPECT_TRUE(strcmp(s2.c_string(), kHelloString) == 0); in TEST() 99 EXPECT_TRUE(strcmp(s.c_string(), kHelloString) == 0); in TEST() 103 s.Set(s.c_string()); in TEST() 104 EXPECT_TRUE(strcmp(s.c_string(), kHelloString) == 0); in TEST() 108 EXPECT_STREQ(NULL, s.c_string()); in TEST()
|
D | sample2.h | 49 static const char * CloneCString(const char * c_string); 59 explicit MyString(const char * c_string) : c_string_(NULL) { in MyString() argument 60 Set(c_string); in MyString() 75 const char * c_string() const { return c_string_; } in c_string() function 82 void Set(const char * c_string);
|
/external/chromium_org/testing/gtest/samples/ |
D | sample2_unittest.cc | 72 EXPECT_STREQ(NULL, s.c_string()); in TEST() 82 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST() 91 EXPECT_EQ(0, strcmp(s2.c_string(), kHelloString)); in TEST() 99 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST() 103 s.Set(s.c_string()); in TEST() 104 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST() 108 EXPECT_STREQ(NULL, s.c_string()); in TEST()
|
D | sample2.h | 74 const char* c_string() const { return c_string_; } in c_string() function 81 void Set(const char* c_string);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/ |
D | d3d1xstutil.h | 729 struct c_string 732 c_string(const char* p) 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) const
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/ |
D | d3d1xstutil.h | 729 struct c_string 732 c_string(const char* p) 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) const
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | JS_Value.cpp | 403 void CJS_PropValue::operator <<(FX_LPCWSTR c_string) in operator <<() argument 406 CJS_Value::operator =(c_string); in operator <<()
|
/external/pdfium/fpdfsdk/include/javascript/ |
D | JS_Value.h | 105 void operator<<(FX_LPCWSTR c_string);
|
/external/chromium_org/ppapi/tests/ |
D | test_case.h | 341 inline std::string ToString(const char* c_string) { in ToString() argument 342 return std::string(c_string); in ToString()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_screen.h | 660 typedef std::unordered_map<std::pair<c_string, unsigned>, unsigned> semantic_to_idx_map_t; in CreateInputLayout() 663 …semantic_to_idx_map[std::make_pair(c_string(input_element_descs[i].SemanticName), input_element_de… in CreateInputLayout() 700 …semantic_to_idx_map_t::iterator iter = semantic_to_idx_map.find(std::make_pair(c_string(params[i].… in CreateInputLayout()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_screen.h | 660 typedef std::unordered_map<std::pair<c_string, unsigned>, unsigned> semantic_to_idx_map_t; in CreateInputLayout() 663 …semantic_to_idx_map[std::make_pair(c_string(input_element_descs[i].SemanticName), input_element_de… in CreateInputLayout() 700 …semantic_to_idx_map_t::iterator iter = semantic_to_idx_map.find(std::make_pair(c_string(params[i].… in CreateInputLayout()
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
D | Code.py | 1095 c_string = self.get_string_const(text, py_version=2) 1097 c_string = self.get_string_const(text) 1098 py_string = c_string.get_py_string_const(
|
/external/stlport/stlport/stl/ |
D | _rope.h | 1878 iterator insert(const iterator& __p, const _CharT* c_string) 1879 { insert(__p.index(), c_string); return __p; }
|
/external/chromium_org/v8/src/ |
D | hydrogen.cc | 6798 HConstant* c_string = HConstant::cast(string); in AddLoadStringInstanceType() local 6799 if (c_string->HasStringValue()) { in AddLoadStringInstanceType() 6800 return Add<HConstant>(c_string->StringValue()->map()->instance_type()); in AddLoadStringInstanceType() 6812 HConstant* c_string = HConstant::cast(string); in AddLoadStringLength() local 6813 if (c_string->HasStringValue()) { in AddLoadStringLength() 6814 return Add<HConstant>(c_string->StringValue()->length()); in AddLoadStringLength() 10098 HConstant* c_string = HConstant::cast(string); in BuildStringCharCodeAt() local 10100 if (c_string->HasStringValue() && c_index->HasNumberValue()) { in BuildStringCharCodeAt() 10102 Handle<String> s = c_string->StringValue(); in BuildStringCharCodeAt()
|
D | hydrogen-instructions.cc | 4416 HConstant* c_string = HConstant::cast(string); in New() local 4418 if (c_string->HasStringValue() && c_index->HasInteger32Value()) { in New() 4419 Handle<String> s = c_string->StringValue(); in New()
|
/external/chromium_org/v8/test/cctest/ |
D | test-api.cc | 15197 const char* c_string = "Now is the time for all good men" in THREADED_TEST() local 15199 uint16_t* two_byte_string = AsciiToTwoByteString(c_string); in THREADED_TEST() 15205 i::Vector<const char>(c_string, i::StrLength(c_string))); in THREADED_TEST() 15208 i::StrLength(c_string))); in THREADED_TEST()
|