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

1 2 3 4 5 6

  /external/libmojo/mojo/public/cpp/bindings/
array_traits_carray.h 13 struct CArray {
14 CArray() : size(0), max_size(0), data(nullptr) {}
15 CArray(size_t size, size_t max_size, T* data)
23 struct ArrayTraits<CArray<T>> {
26 static bool IsNull(const CArray<T>& input) { return !input.data; }
28 static void SetToNull(CArray<T>* output) { output->data = nullptr; }
30 static size_t GetSize(const CArray<T>& input) { return input.size; }
32 static T* GetData(CArray<T>& input) { return input.data; }
34 static const T* GetData(const CArray<T>& input) { return input.data; }
36 static T& GetAt(CArray<T>& input, size_t index) { return input.data[index];
    [all...]
struct_traits.h 31 // Supported by default: std::vector, WTF::Vector (in blink), CArray.
  /prebuilts/misc/common/swig/include/2.0.11/octave/
std_carray.i 8 struct traits_asptr<std::carray<T, S> > {
9 static int asptr(PyObject *obj, std::carray<T, S> **array) {
10 return traits_asptr_stdseq<std::carray<T, S> >::asptr(obj, array);
16 %warnfilter(SWIGWARN_IGNORE_OPERATOR_INDEX) std::carray::operator[];
18 %extend std::carray {
19 %fragment(SWIG_Traits_frag(std::carray<_Type, _Size >), "header",
24 template <> struct traits<std::carray<_Type, _Size > > {
27 return "std::carray<" #_Type "," #_Size " >";
34 SWIG_Traits_frag(std::carray<_Type, _Size >),
35 std::carray<_Type, _Size >)
    [all...]
octprimtypes.swg 226 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
228 return std::string(carray,carray+size);
  /prebuilts/misc/common/swig/include/2.0.11/python/
std_carray.i 8 struct traits_asptr<std::carray<T, S> > {
9 static int asptr(PyObject *obj, std::carray<T, S> **array) {
10 return traits_asptr_stdseq<std::carray<T, S> >::asptr(obj, array);
16 %warnfilter(SWIGWARN_IGNORE_OPERATOR_INDEX) std::carray::operator[];
18 %extend std::carray {
19 %fragment(SWIG_Traits_frag(std::carray<_Type, _Size >), "header",
24 template <> struct traits<std::carray<_Type, _Size > > {
27 return "std::carray<" #_Type "," #_Size " >";
34 SWIG_Traits_frag(std::carray<_Type, _Size >),
35 std::carray<_Type, _Size >)
    [all...]
pywstrings.swg 53 SWIG_FromWCharPtrAndSize(const wchar_t * carray, size_t size)
55 if (carray) {
59 SWIG_InternalNewPointerObj(%const_cast(carray,wchar_t *), pwchar_descriptor, 0) : SWIG_Py_Void();
61 return PyUnicode_FromWideChar(carray, %numeric_cast(size,int));
pystrings.swg 83 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
85 if (carray) {
89 SWIG_InternalNewPointerObj(%const_cast(carray,char *), pchar_descriptor, 0) : SWIG_Py_Void();
92 return PyUnicode_FromStringAndSize(carray, %numeric_cast(size,int));
94 return PyString_FromStringAndSize(carray, %numeric_cast(size,int));
  /prebuilts/misc/common/swig/include/2.0.11/std/
std_carray.swg 6 // std::carray - is really an extension to the 'std' namespace.
20 class carray
29 carray() { }
31 carray(const carray& c) {
36 carray(_Iterator first, _Iterator last) {
  /prebuilts/misc/common/swig/include/2.0.11/ruby/
rubystrings.swg 42 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
44 if (carray) {
48 SWIG_NewPointerObj(%const_cast(carray,char *), pchar_descriptor, 0) : Qnil;
50 return rb_str_new(carray, %numeric_cast(size,long));
rubywstrings.swg 55 SWIG_FromWCharPtrAndSize(const wchar_t * carray, size_t size)
57 return SWIG_FromCharPtrAndSize( (const char*)carray, size);
58 // if (carray) {
62 // SWIG_NewPointerObj(%const_cast(carray,wchar_t *), pwchar_descriptor, 0) : Qnil;
64 // return SWIG_Unicode_FromWideChar(carray, %numeric_cast(size,int));
  /prebuilts/misc/common/swig/include/2.0.11/perl5/
perlstrings.swg 48 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
51 if (carray) {
52 sv_setpvn(obj, carray, size);
  /prebuilts/misc/common/swig/include/2.0.11/tcl/
tclstrings.swg 25 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
27 return (size < INT_MAX) ? Tcl_NewStringObj(carray, %numeric_cast(size,int)) : NULL;
tclwstrings.swg 43 SWIG_FromWCharPtrAndSize(const wchar_t* carray, size_t size)
48 char *src = (char *) carray;
  /external/clang/test/SemaObjC/
severe-syntax-error.m 19 static char* cArray[] = "BEGIN:", "END"; // expected-error {{array initializer must be an initializer list}} \
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
Hex.java 59 char[] cArray = new char[array.length * 2];
68 cArray[j++] = FIRST_CHAR[index];
69 cArray[j++] = SECOND_CHAR[index];
72 return new String(cArray, 0, j);
  /prebuilts/misc/common/swig/include/2.0.11/r/
rfragments.swg 161 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
164 if (!carray) return R_NilValue;
174 c = Rf_mkCharLen(carray, size);
177 strncpy((char *)CHAR(c), carray, size);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
BufferedReaderTest.java 151 char[] carray = new char[3]; local
152 int result = br.read(carray);
154 assertEquals("Assert 0:", '0', carray[0]);
155 assertEquals("Assert 1:", '1', carray[1]);
156 assertEquals("Assert 2:", '2', carray[2]);
161 carray = new char[4];
162 result = br.read(carray);
164 assertEquals("Assert 5:", '0', carray[0]);
165 assertEquals("Assert 6:", '1', carray[1]);
166 assertEquals("Assert 7:", '2', carray[2])
    [all...]
  /sdk/find_java/src/source/
utils.h 41 template <class T> class CArray {
45 explicit CArray(int size) {
50 ~CArray() {
174 CArray<CString> * split(char sep) const {
176 return new CArray<CString>(0);
187 CArray<CString> *result = new CArray<CString>(n);
  /external/llvm/test/CodeGen/Hexagon/
hwloop-wrap2.ll 13 @carray = external global %struct.3**
18 %1 = load %struct.3**, %struct.3*** @carray, align 4
  /art/test/906-iterate-heap/src/art/
Test906.java 95 char[] cArray = new char[] { 'A', 'Z' };
96 setTag(cArray, 1);
97 System.out.println(iterateThroughHeapPrimitiveArray(getTag(cArray)));
98 System.out.println(getTag(cArray));
  /prebuilts/misc/common/swig/include/2.0.11/java/
arrays_java.i 342 long[] cArray = new long[arrayWrapper.length];
344 cArray[i] = $javaclassname.getCPtr(arrayWrapper[i]);
345 return cArray;
348 protected static $javaclassname[] cArrayWrap(long[] cArray, boolean cMemoryOwn) {
349 $javaclassname[] arrayWrapper = new $javaclassname[cArray.length];
350 for (int i=0; i<cArray.length; i++)
351 arrayWrapper[i] = new $javaclassname(cArray[i], cMemoryOwn);
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
EncodingInfo.java 428 char cArray[] = new char[1];
429 cArray[0] = ch;
431 String s = new String(cArray);
467 char cArray[] = new char[2];
468 cArray[0] = high;
469 cArray[1] = low;
471 String s = new String(cArray);
  /external/mdnsresponder/mDNSWindows/DNSServiceBrowser/WindowsCE/Sources/
BrowserDialog.h 69 CArray < BrowserEntry, BrowserEntry > mBrowserEntries;
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
VpdInfoFile.py 63 # <Array> ::= {<CArray>} {<NList>}
64 # <CArray> ::= "{" <HexNumber> ["," <HexNumber>]* "}"
  /art/test/913-heaps/src/art/
Test913.java 127 final char[] cArray = new char[] { 'A', 'Z' };
128 setTag(cArray, 3);
148 Object c = cArray;
159 System.out.print(getTag(cArray));

Completed in 374 milliseconds

1 2 3 4 5 6