Home
last modified time | relevance | path

Searched refs:sizeof (Results 1 – 8 of 8) sorted by relevance

/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_element.java100 complexElem.getBytesSize() == ScriptField_ComplexStruct.Item.sizeof); in testJavaSide()
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd218 public static final int sizeof = 12;
252 if (mIOBuffer == null) mIOBuffer = new FieldPacker(Item.sizeof * getType().getX()/* count
254 mIOBuffer.reset(index * Item.sizeof);
274 … if (mIOBuffer == null) mIOBuffer = new FieldPacker(Item.sizeof * getType().getX()/* count */);
279 mIOBuffer.reset(index * Item.sizeof);
288 … if (mIOBuffer == null) mIOBuffer = new FieldPacker(Item.sizeof * getType().getX()/* count */);
293 mIOBuffer.reset(index * Item.sizeof + 8);
326 … if (mIOBuffer != null) mIOBuffer = new FieldPacker(Item.sizeof * getType().getX()/* count */);
466 <pre>array = (int *)malloc(sizeof(int)*10);</pre>
468 …can be broken up into two parts: the size of the memory being allocated (<code>sizeof(int)</code>),
[all …]
/frameworks/base/docs/html/tools/adk/
Dadk2.jd412 for(i = 0, f = -1; i &lt; sizeof(sdpDescrADK); i++){
420 if(i != sizeof(sdpDescrADK) || f == -1){
432 L.btSdpServiceDescriptorAdd(sdpDescrADK, sizeof(sdpDescrADK));
536 int recvLen = L.accessoryReceive(msg, sizeof(msg));
Dadk.jd559 if (len &gt; sizeof(descBuff)) {
664 memset(&amp;epRecord, 0x0, sizeof(epRecord));
/frameworks/base/docs/html/ndk/samples/
Dsample_na.jd173 memset(&amp;engine, 0, sizeof(engine));
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java1080 int sizeofType = pointer.sizeof(type); in doArrayElement()
3915 public int sizeof(int type) { in sizeof() method in GLLogWrapper.PointerInfo
3933 return mStride > 0 ? mStride : sizeof(mType) * mSize; in getStride()
/frameworks/base/docs/html/ndk/downloads/
Drevision_history.jd2000 int32_t namesz; /* = 8, sizeof ("Android") */
2001 int32_t descsz; /* = 1 * sizeof(int32_t) */
2003 char name[sizeof "Android"]; /* = "Android" */
2129 int32_t namesz; /* = 4, sizeof ("GNU") */
2130 int32_t descsz; /* = 6 * sizeof(int32_t) */
2132 char name[sizeof "GNU"]; /* = "GNU" */
/frameworks/base/docs/html/training/articles/
Dsmp.jd1095 MyStruct* thing = malloc(sizeof(*thing));
1096 memset(thing, 0, sizeof(*thing));
1395 newHelper = malloc(sizeof(Helper));