Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiElementNodeTest.java80 assertEquals(0, ui.getUiChildren().size()); in testInit()
81 assertEquals(0, ui.getAllUiAttributes().size()); in testInit()
92 assertEquals(0, ui.getUiChildren().size()); in testMandatoryOrder()
96 assertEquals(2, ui.getUiChildren().size()); in testMandatoryOrder()
110 assertEquals(2, ui.getUiChildren().size()); in testMandatoryOrder()
121 assertEquals(0, ui.getUiChildren().size()); in testLoadFrom_InvalidRoot()
124 assertEquals(0, ui.getUiChildren().size()); in testLoadFrom_InvalidRoot()
140 assertEquals(1, ui.getUiChildren().size()); in testLoadFrom_NewTree_1_Node()
141 assertEquals(0, ui.getAllUiAttributes().size()); in testLoadFrom_NewTree_1_Node()
147 assertEquals(0, application.getUiChildren().size()); in testLoadFrom_NewTree_1_Node()
[all …]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLESbuffer.cpp19 bool GLESbuffer::setBuffer(GLuint size,GLuint usage,const GLvoid* data) { in setBuffer() argument
20 m_size = size; in setBuffer()
26 m_data = new unsigned char[size]; in setBuffer()
29 memcpy(m_data,data,size); in setBuffer()
38 bool GLESbuffer::setSubBuffer(GLint offset,GLuint size,const GLvoid* data) { in setSubBuffer() argument
39 if(offset + size > m_size) return false; in setSubBuffer()
40 memcpy(m_data+offset,data,size); in setSubBuffer()
41 m_conversionManager.addRange(Range(offset,size)); in setSubBuffer()
DRangeManip.cpp23 int size = min_end - max_start; in rangeIntersection() local
24 if(size) { in rangeIntersection()
35 int size = max_end - min_start; in rangeUnion() local
36 if(size) { in rangeUnion()
48 for(int i =0; i< rl.size();i++) { in addRanges()
54 for(int i =0; i< rl.size();i++) { in delRanges()
63 int RangeList::size() const{ in size() function in RangeList
64 return list.size(); in size()
71 if(i > list.size()) return; in erase()
81 for (int i=0;i<(int)list.size();i++) { // i must be signed for i-- below in delRange()
[all …]
/sdk/emulator/opengl/host/tools/emugen/
DTypeFactory.cpp38 static VarConverter * getVarConverter(int size) in getVarConverter() argument
42 switch(size) { in getVarConverter()
51 #define ADD_TYPE(name, size, printformat,ispointer) \ argument
52 …g_varMap.insert(std::pair<std::string, VarType>(name, VarType(g_typeId++, name, &g_var##size , pri…
81 if (str.size() == 0 || str.at(0) == '#') { in initFromFile()
87 if (name.size() == 0) { in initFromFile()
92 std::string size; in initFromFile() local
93 size = getNextToken(str, pos, &last, WHITESPACE); in initFromFile()
94 if (size.size() == 0) { in initFromFile()
101 if (printString.size() == 0) { in initFromFile()
[all …]
DEntryPoint.cpp55 if (str.size() == 0) break; in parseTypeField()
70 if (str.size() == 0) { in parseTypeField()
103 if (linestr.size() == 0) return false; in parse()
130 while (pos < linestr.size() - 1) { in parse()
169 for (size_t i = 0; i < m_vars.size(); i++) { in print()
181 for (size_t i = 0; i < m_vars.size(); i++) { in var()
195 for (size_t i = 0; i < m_vars.size(); i++) { in hasPointers()
215 if (varname.size() == 0) { in setAttribute()
232 if (varname.size() == 0) { in setAttribute()
249 if (varname.size() == 0) { in setAttribute()
[all …]
Dmain.cpp84 if (encoderDir.size() == 0 && in main()
85 decoderDir.size() == 0 && in main()
87 wrapperDir.size() == 0) { in main()
121 if (encoderDir.size() != 0) { in main()
135 if (decoderDir.size() != 0) { in main()
144 if (wrapperDir.size() != 0) { in main()
153 printf("%d functions found\n", int(apiEntries.size())); in main()
154 for (int i = 0; i < apiEntries.size(); i++) { in main()
/sdk/emulator/opengl/host/libs/GLESv1_dec/
DGLDecoder.cpp88 void GLDecoder::s_glVertexPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLuint… in s_glVertexPointerOffset() argument
91 ctx->glVertexPointer(size, type, stride, (void *)offset); in s_glVertexPointerOffset()
94 void GLDecoder::s_glColorPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLuint … in s_glColorPointerOffset() argument
97 ctx->glColorPointer(size, type, stride, (void *)offset); in s_glColorPointerOffset()
100 void GLDecoder::s_glTexCoordPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLui… in s_glTexCoordPointerOffset() argument
103 ctx->glTexCoordPointer(size, type, stride, (void *) offset); in s_glTexCoordPointerOffset()
118 void GLDecoder::s_glWeightPointerOffset(void * self, GLint size, GLenum type, GLsizei stride, GLuin… in s_glWeightPointerOffset() argument
121 ctx->glWeightPointerOES(size, type, stride, (void*)offset); in s_glWeightPointerOffset()
124 void GLDecoder::s_glMatrixIndexPointerOffset(void * self, GLint size, GLenum type, GLsizei stride, … in s_glMatrixIndexPointerOffset() argument
127 ctx->glMatrixIndexPointerOES(size, type, stride, (void*)offset); in s_glMatrixIndexPointerOffset()
[all …]
DGLDecoder.h39 …static void gl_APIENTRY s_glVertexPointerData(void *self, GLint size, GLenum type, GLsizei stride,…
40 …static void gl_APIENTRY s_glVertexPointerOffset(void *self, GLint size, GLenum type, GLsizei strid…
42 …static void gl_APIENTRY s_glColorPointerData(void *self, GLint size, GLenum type, GLsizei stride, …
43 …static void gl_APIENTRY s_glColorPointerOffset(void *self, GLint size, GLenum type, GLsizei stride…
45 …static void gl_APIENTRY s_glTexCoordPointerData(void *self, GLint unit, GLint size, GLenum type, G…
46 …static void gl_APIENTRY s_glTexCoordPointerOffset(void *self, GLint size, GLenum type, GLsizei str…
57 …static void gl_APIENTRY s_glWeightPointerData(void * self, GLint size, GLenum type, GLsizei stride…
58 …static void gl_APIENTRY s_glWeightPointerOffset(void * self, GLint size, GLenum type, GLsizei stri…
60 …static void gl_APIENTRY s_glMatrixIndexPointerData(void * self, GLint size, GLenum type, GLsizei s…
61 …static void gl_APIENTRY s_glMatrixIndexPointerOffset(void * self, GLint size, GLenum type, GLsizei…
Dgl.addon1 GL_ENTRY(void, glVertexPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
2 GL_ENTRY(void, glColorPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
5 GL_ENTRY(void, glTexCoordPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
7 GL_ENTRY(void, glVertexPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint d…
8 GL_ENTRY(void, glColorPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint da…
10 GL_ENTRY(void, glTexCoordPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint…
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DRangeManip.h25 Range(int start,int size):m_start(start),m_end(start+size),m_size(size){}; in Range() argument
27 void setRange(int start,int size){m_start = start; m_end = start+size; m_size = size;}; in setRange() argument
58 int size() const;
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.cpp22 BufferData::BufferData(GLsizeiptr size, void * data) : m_size(size) in BufferData() argument
25 if (size>0) buffer = m_fixedBuffer.alloc(size); in BufferData()
26 if (data) memcpy(buffer, data, size); in BufferData()
57 void ProgramData::setIndexInfo(GLuint index, GLint base, GLint size, GLenum type) in setIndexInfo() argument
62 m_Indexes[index].size = size; in setIndexInfo()
66 m_Indexes[index-1].size; in setIndexInfo()
143 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in locationWARAppToHost()
173 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in setSamplerUniform()
192 size_t n = m_shaders.size(); in attachShader()
200 m_shaders.insertAt(shader, m_shaders.size(), 1); in attachShader()
[all …]
DGLSharedGroup.h42 BufferData(GLsizeiptr size, void * data);
51 GLint size; member
75 void setIndexInfo(GLuint index, GLint base, GLint size, GLenum type);
90 size_t getNumShaders() const { return m_shaders.size(); } in getNumShaders()
114 void addBufferData(GLuint bufferId, GLsizeiptr size, void * data);
115 void updateBufferData(GLuint bufferId, GLsizeiptr size, void * data);
116 GLenum subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, void * data);
126 …void setProgramIndexInfo(GLuint program, GLuint index, GLint base, GLint size, GLenum type, con…
DFixedBuffer.h32 void * alloc(size_t size) { in alloc() argument
33 if (m_bufferLen >= size) in alloc()
39 m_bufferLen = size; in alloc()
DSocketStream.cpp86 int SocketStream::commitBuffer(size_t size) in commitBuffer() argument
88 return writeFully(m_buf, size); in commitBuffer()
91 int SocketStream::writeFully(const void* buffer, size_t size) in writeFully() argument
95 size_t res = size; in writeFully()
99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); in writeFully()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLListProperty.java37 public GLListProperty(GLStateType type, IGLProperty template, int size) { in GLListProperty() argument
41 mList = new ArrayList<IGLProperty>(size); in GLListProperty()
42 for (int i = 0; i < size; i++) { in GLListProperty()
83 for (int i = mList.size(); i < capactiy; i++) { in ensureCapacity()
91 mList.size()); in clone()
167 public int size() { in size() method in GLListProperty
168 return mList.size(); in size()
175 for (int i = 0; i < mList.size(); i++) { in prettyPrint()
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmValidate.cpp63 bool GLEScmValidate::vertexPointerParams(GLint size,GLsizei stride) { in vertexPointerParams() argument
64 return ((size >=2) && (size <= 4)) && (stride >=0) ; in vertexPointerParams()
67 bool GLEScmValidate::colorPointerParams(GLint size,GLsizei stride) { in colorPointerParams() argument
68 return ((size >=3) && (size <= 4)) && (stride >=0) ; in colorPointerParams()
71 bool GLEScmValidate::texCoordPointerParams(GLint size,GLsizei stride) { in texCoordPointerParams() argument
72 return ((size >=2) && (size <= 4)) && (stride >=0) ; in texCoordPointerParams()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionManagerTest.java37 assertEquals(0, manager.getSelections().size()); in testEmpty()
61 assertEquals(3, manager.getSelections().size()); in testBasic()
74 assertEquals(0, manager.getSelections().size()); in testBasic()
78 assertEquals(1, manager.getSelections().size()); in testBasic()
84 assertEquals(3, manager.getSelections().size()); in testBasic()
87 assertEquals(2, manager.getSelections().size()); in testBasic()
89 assertEquals(1, manager.getSelections().size()); in testBasic()
111 assertEquals(1, manager.getSelections().size()); in testSelectParent()
116 assertEquals(1, manager.getSelections().size()); in testSelectParent()
DCanvasViewInfoTest.java96 assertEquals(2, rootView.getChildren().size()); in normal()
142 assertEquals(1, rootView.getChildren().size()); in showIn()
181 assertEquals(2, rootView.getChildren().size()); in testIncludeTag()
197 assertEquals(0, includedView.getChildren().size()); in testIncludeTag()
223 assertEquals(2, rootView.getChildren().size()); in testNoIncludeTag()
239 assertEquals(0, includedView.getChildren().size()); in testNoIncludeTag()
268 assertEquals(3, rootView.getChildren().size()); in testMergeMatching()
295 assertEquals(0, includedView1.getChildren().size()); in testMergeMatching()
296 assertEquals(0, includedView2.getChildren().size()); in testMergeMatching()
323 assertEquals(2, rootView.getChildren().size()); in testMerge()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
DAndroidJarLoaderTest.java58 assertEquals(0, map.size()); in testPreLoadClasses()
64 assertEquals(4, data.size()); in testPreLoadClasses()
71 assertEquals(0, map.size()); in testPreLoadClasses_classNotFound()
73 assertEquals(0, data.size()); in testPreLoadClasses_classNotFound()
83 assertEquals(2, map.size()); in testFindClass_classFound()
121 assertEquals(2, found.size()); in testFindClassesDerivingFrom()
127 assertEquals(1, found.get("jar.example.Class1").size()); //$NON-NLS-1$ in testFindClassesDerivingFrom()
128 assertEquals(0, found.get("jar.example.Class2").size()); //$NON-NLS-1$ in testFindClassesDerivingFrom()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletionvalues1-expected-completion67.txt3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference.
4 17pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen.
5 17mm : <b>Millimeters</b> - based on the physical size of the screen.
6 17in : <b>Inches</b> - based on the physical size of the screen.
Dcompletionvalues1-expected-completion24.txt3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference.
4 17pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen.
5 17mm : <b>Millimeters</b> - based on the physical size of the screen.
6 17in : <b>Inches</b> - based on the physical size of the screen.
Dcompletion1-expected-completion4.txt3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference.
4 50pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen.
5 50mm : <b>Millimeters</b> - based on the physical size of the screen.
6 50in : <b>Inches</b> - based on the physical size of the screen.
Dcompletionvalues1-expected-completion66.txt3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference.
4 17pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen.
5 17mm : <b>Millimeters</b> - based on the physical size of the screen.
6 17in : <b>Inches</b> - based on the physical size of the screen.
/sdk/eclipse/sites/external/web/
Dsite.css4 .bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; }
5 .sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color…
6 .log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color…
7 .big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color…
/sdk/eclipse/sites/internal/web/
Dsite.css4 .bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; }
5 .sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color…
6 .log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color…
7 .big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color…

12345678910>>...16