/sdk/emulator/opengl/tests/ut_renderer/ |
H A D | RendererObject.h | 23 int count() { return m_count; } function in class:RendererObject
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
H A D | glUtils.h | 58 void glUtilsPackStrings(char *ptr, char **strings, GLint *length, GLsizei count); 59 int glUtilsCalcShaderSourceLen(char **strings, GLint *length, GLsizei count); 66 template <class T> void minmax(T *indices, int count, int *min, int *max) { argument 70 for (int i = 0; i < count; i++) { 77 template <class T> void shiftIndices(T *indices, int count, int offset) { argument 79 for (int i = 0; i < count; i++) { 86 template <class T> void shiftIndices(T *src, T *dst, int count, int offset) argument 88 for (int i = 0; i < count; i++) {
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
H A D | DataBindingItem.java | 31 * ExpandableListView. In this case, the count value is used as a repeat count for the children, 40 public DataBindingItem(ResourceReference reference, int count) { argument 42 mCount = count; 45 public DataBindingItem(String name, boolean platformLayout, int count) { argument 46 this(new ResourceReference(name, platformLayout), count); 53 public DataBindingItem(String name, int count) { argument 54 this(name, false /*platformLayout*/, count); 70 * The repeat count for this object or the repeat count fo [all...] |
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
H A D | GLESv2Context.cpp | 54 void GLESv2Context::validateAtt0PreDraw(unsigned int count) argument 58 if(count == 0) 66 if(count > m_att0ArrayLength) 69 m_att0Array = new GLfloat[4*count]; 70 m_att0ArrayLength = count; 73 for(unsigned int i=0; i<count; i++) 90 void GLESv2Context::setupArraysPointers(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct) { argument 101 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ 119 bool GLESv2Context::needConvert(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) { argument 131 convertDirect(cArrs,first,count,array_i [all...] |
H A D | GLESv2Context.h | 32 void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct); 40 void validateAtt0PreDraw(unsigned int count); 45 bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id);
|
/sdk/emulator/tools/ |
H A D | qemu-props.c | 48 int qemud_fd, count = 0; local 107 count += 1; 114 DD("exiting (%d properties set).", count);
|
/sdk/emulator/tests/ |
H A D | test-qemud-pipes.c | 80 int ret, count; local 91 count = ret; 93 printf(" received: %d bytes\n", count); 95 while (count > 0) { 97 ret = write(client, p, count); 108 count -= ret;
|
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/ |
H A D | GLEScmContext.h | 41 void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct); 42 void drawPointsArrs(GLESConversionArrays& arrs,GLint first,GLsizei count); 43 void drawPointsElems(GLESConversionArrays& arrs,GLsizei count,GLenum type,const GLvoid* indices); 55 bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id); 57 void setupArrayPointerHelper(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLenum array_id,GLESpointer* p); 60 void drawPointsData(GLESConversionArrays& arrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices_in,bool isElemsDraw);
|
H A D | GLEScmContext.cpp | 92 void GLEScmContext::setupArrayPointerHelper(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLenum array_id,GLESpointer* p){ argument 96 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ 106 void GLEScmContext::setupArraysPointers(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct) { argument 117 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p); 136 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p); 143 void GLEScmContext::drawPointsData(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices_in,bool isElemsDraw) { argument 166 while(i<count) 179 while(i < count && pSize == *((GLfloat*)(pointsArr+(INDEX*stride)))) 190 while(i<count) 197 while(i < count 209 drawPointsArrs(GLESConversionArrays& arrs,GLint first,GLsizei count) argument 213 drawPointsElems(GLESConversionArrays& arrs,GLsizei count,GLenum type,const GLvoid* indices_in) argument 217 needConvert(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
H A D | ResourceLabelProvider.java | 129 int count = item.getAlternateCount(); 130 if (count > 0) { 132 count++; 134 return String.format("%1$d version(s)", count);
|
/sdk/anttasks/src/com/android/ant/ |
H A D | GetEmmaFilterTask.java | 85 final int count = FILTER_CLASSES.length; 86 for (int i = 0 ; i < count ; i++) { 88 if (i < count - 1) {
|
H A D | AidlExecTask.java | 116 public void displayMessage(DisplayType type, int count) { argument 119 System.out.println(String.format("Found %1$d AIDL files.", count)); 122 if (count > 0) { 124 count)); 131 count)); 136 count));
|
/sdk/emulator/opengl/host/libs/GLESv2_dec/ |
H A D | GL2Decoder.h | 41 static void gl2_APIENTRY s_glGetCompressedTextureFormats(void *self, int count, GLint *formats); 47 static void gl2_APIENTRY s_glDrawElementsOffset(void *self, GLenum mode, GLsizei count, GLenum type, GLuint offset); 48 static void gl2_APIENTRY s_glDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen);
|
H A D | GL2Decoder.cpp | 89 void GL2Decoder::s_glGetCompressedTextureFormats(void *self, int count, GLint *formats) argument 95 if (nFormats > count) { 122 void GL2Decoder::s_glDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen) argument 125 ctx->glDrawElements(mode, count, type, data); 129 void GL2Decoder::s_glDrawElementsOffset(void *self, GLenum mode, GLsizei count, GLenum type, GLuint offset) argument 132 ctx->glDrawElements(mode, count, type, (void *)offset);
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
H A D | AdbHelper.java | 303 // get the header size (this is a count of int) 388 int count; 395 count = adbChan.read(buf); 396 if (count < 0) { 400 + count); 402 } else if (count == 0) { 482 int count; 488 count = adbChan.read(buf); 489 if (count < 0) { 491 } else if (count [all...] |
H A D | Log.java | 260 int addr, baseAddr, count; 270 count = 16; 273 count = length; 294 for (i = 0; i < count; i++) { 310 length -= count; 311 offset += count; 312 baseAddr += count;
|
/sdk/common/src/com/android/io/ |
H A D | FileWrapper.java | 104 int count = 0; 105 while ((count = source.read(buffer)) != -1) { 106 fos.write(buffer, 0, count);
|
H A D | FolderWrapper.java | 87 final int count = files == null ? 0 : files.length; 88 IAbstractResource[] afiles = new IAbstractResource[count]; 91 for (int i = 0 ; i < count ; i++) {
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
H A D | SyncCommon.java | 119 int count = Integer.parseInt(event.getValueAsString(1)); 120 if (count < 0) { 121 details = "g" + (-count); 123 details = "G" + count;
|
/sdk/emulator/qtools/ |
H A D | profile_trace.cpp | 13 int count; // number of times a function is executed member in struct:symbol 63 dummy.count = 0; 86 sym->count += 1; 89 printf("t%lld bb_num: %d, bb_addr: 0x%x func: %s, addr: 0x%x, count: %d\n", 90 bb_time, bb_num, bb_addr, sym->name, sym->addr, sym->count);
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
H A D | ArraySizeDetector.java | 133 Integer count = pair.getSecond(); 137 countMap.put(name, count); 139 } else if (!count.equals(current)) { 155 name, count, thisName, current, otherName); 177 int count = -1; 189 if (newCount != count) { 190 if (count == -1) { 191 count = newCount; // first number encountered
|
/sdk/sdk_common/tests/src/com/android/ide/common/resources/configuration/ |
H A D | FolderConfigurationTest.java | 34 final int count = FolderConfiguration.getQualifierCount(); 37 for (int i = 0 ; i < count ; i++) {
|
/sdk/attribute_stats/src/ |
H A D | Analyzer.java | 67 /** Map from view id to map from attribute to frequency count */ 409 totalCount += usage.count; 418 int count = 0; 423 if (count++ >= ATTRIBUTE_COUNT && usage.count < prevCount) { 427 float percentage = 100 * usage.count/(float)totalCount; 431 System.out.printf(" %1d. %5d %5.1f%% %s\n", place, usage.count, 435 if (prevCount != usage.count) { 436 prevCount = usage.count; 440 if (percentage >= THRESHOLD /*&& usage.count > 608 public int count; field in class:Analyzer.Usage [all...] |
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
H A D | GLEScontext.cpp | 29 static void convertFixedIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize); 31 static void convertByteIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize); 228 static void convertFixedIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize) { argument 229 for(int i = 0 ;i < count ;i++) { 253 static void convertByteIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei count,GLenum indices_type,const GLvoid* indices,unsigned int strideOut,int attribSize) { argument 254 for(int i = 0 ;i < count ;i++) { 265 static void directToBytesRanges(GLint first,GLsizei count,GLESpointer* p,RangeList& list) { argument 271 list.addRange(Range(start,count*attribSize)); 273 for(int i = 0 ;i < count; i++,start+=stride) { 279 static void indirectToBytesRanges(const GLvoid* indices,GLenum indices_type,GLsizei count,GLESpointe argument 310 convertDirect(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p) argument 327 convertDirectVBO(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p) argument 352 findMaxIndex(GLsizei count,GLenum type,const GLvoid* indices) argument 369 convertIndirect(GLESConversionArrays& cArrs,GLsizei count,GLenum indices_type,const GLvoid* indices,GLenum array_id,GLESpointer* p) argument 387 convertIndirectVBO(GLESConversionArrays& cArrs,GLsizei count,GLenum indices_type,const GLvoid* indices,GLenum array_id,GLESpointer* p) argument [all...] |
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
H A D | GLEScontext.h | 139 virtual void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct) = 0; 173 static int findMaxIndex(GLsizei count,GLenum type,const GLvoid* indices); 182 virtual bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) = 0; 183 void convertDirect(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p); 184 void convertDirectVBO(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p); 185 void convertIndirect(GLESConversionArrays& fArrs,GLsizei count,GLenum type,const GLvoid* indices,GLenum array_id,GLESpointer* p); 186 void convertIndirectVBO(GLESConversionArrays& fArrs,GLsizei count,GLenum indices_type,const GLvoid* indices,GLenum array_id,GLESpointer* p);
|