Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 142) sorted by relevance

123456

/sdk/templates/docs/
Djquery-1.8.0.min.js2c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowe… argument
Dprettify.js3c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"…
4c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return …
5c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b…
7c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){f…
8c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.matc…
23 …),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","c…
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/
DTemplatedInputStream.java43 int c = mMark; in read() local
45 return c; in read()
50 char c = mSub[mPos++]; in read() local
53 return c; in read()
56 int c = mIn.read(); in read() local
57 if (c == '%') { in read()
59 c = mIn.read(); in read()
60 if (c == '{') { in read()
63 for (c = mIn.read(); c != '}' && c >= 0; c = mIn.read()) in read()
64 buff.append((char) c); in read()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImageTest.java228 Chunk c = null; in test9Patch1() local
232 c = chunks[0][0]; in test9Patch1()
233 rect = c.rect; in test9Patch1()
234 assertEquals(Chunk.TYPE_HORIZONTAL | Chunk.TYPE_VERTICAL, c.type); in test9Patch1()
240 c = chunks[0][1]; in test9Patch1()
241 rect = c.rect; in test9Patch1()
242 assertEquals(Chunk.TYPE_VERTICAL, c.type); in test9Patch1()
248 c = chunks[0][2]; in test9Patch1()
249 rect = c.rect; in test9Patch1()
250 assertEquals(Chunk.TYPE_HORIZONTAL | Chunk.TYPE_VERTICAL, c.type); in test9Patch1()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategyTest.java54 DocumentCommand c = new TestDocumentCommand(); in checkInsertNewline() local
55 c.doit = true; in checkInsertNewline()
56 c.offset = offset; in checkInsertNewline()
57 c.caretOffset = -1; in checkInsertNewline()
58 c.length = 0; in checkInsertNewline()
59 c.text = "\n"; in checkInsertNewline()
61 s.customizeDocumentCommand(document, c); in checkInsertNewline()
63 if (c.doit) { in checkInsertNewline()
64 if (c.length == 0 && c.text == null) { in checkInsertNewline()
68 document.replace(c.offset, c.length, c.text); in checkInsertNewline()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleAttribute.java114 long c = mName.hashCode(); in hashCode() local
116 c = 31*c + mUri.hashCode(); in hashCode()
117 c = 31*c + mValue.hashCode(); in hashCode()
118 if (c > 0x0FFFFFFFFL) { in hashCode()
120 c = c ^ (c >> 32); in hashCode()
122 return (int)(c & 0x0FFFFFFFFL); in hashCode()
DSimpleElement.java349 long c = mFqcn.hashCode(); in hashCode() local
351 c = 31*c + mAttributes.hashCode(); in hashCode()
352 c = 31*c + mElements.hashCode(); in hashCode()
354 c = 31*c + mParentFqcn.hashCode(); in hashCode()
357 c = 31*c + mBounds.hashCode(); in hashCode()
360 c = 31*c + mParentBounds.hashCode(); in hashCode()
363 if (c > 0x0FFFFFFFFL) { in hashCode()
365 c = c ^ (c >> 32); in hashCode()
367 return (int)(c & 0x0FFFFFFFFL); in hashCode()
DAccordionControl.java140 for (Control c : getChildren()) { in getHeaderLabels()
141 if (c instanceof CLabel) { in getHeaderLabels()
142 headers.add((CLabel) c); in getHeaderLabels()
155 for (Control c : getChildren()) { in expandAll()
156 if (c instanceof CLabel) { in expandAll()
157 if (!isOpen(c)) { in expandAll()
158 toggle((CLabel) c, false, false); in expandAll()
174 for (Control c : getChildren()) { in collapseAll()
175 if (c instanceof CLabel) { in collapseAll()
176 if (isOpen(c)) { in collapseAll()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLTraceOptionsDialog.java108 Composite c = new Composite(parent, SWT.BORDER); in createDialogArea() local
109 c.setLayout(new GridLayout(2, false)); in createDialogArea()
110 c.setLayoutData(new GridData(GridData.FILL_BOTH)); in createDialogArea()
112 createLabel(c, "Device:"); in createDialogArea()
114 createDeviceDropdown(c, mDevices); in createDialogArea()
116 createSeparator(c); in createDialogArea()
118 createLabel(c, "Application Package:"); in createDialogArea()
119 createAppToTraceText(c, "e.g. com.example.package"); in createDialogArea()
121 createLabel(c, "Activity to launch:"); in createDialogArea()
122 createActivityToTraceText(c, "Leave blank to launch default activity"); in createDialogArea()
[all …]
DTraceFileParserTask.java81 GLCall c = new GLCall(index, in addMessage() local
91 addProperties(c, msg); in addMessage()
94 c.setStateTransformations(StateTransformFactory.getTransformsFor(msg)); in addMessage()
96 c.setStateTransformationCreationError(e.getMessage()); in addMessage()
98 + c.toString() + ":"); in addMessage()
102 mGLCalls.add(c); in addMessage()
103 mGLContextIds.add(Integer.valueOf(c.getContextId())); in addMessage()
107 private void addProperties(GLCall c, GLMessage msg) { in addProperties() argument
112 c.addProperty(GLCall.PROPERTY_MARKERNAME, in addProperties()
119 c.addProperty(GLCall.PROPERTY_VERTEX_ATTRIB_POINTER_SIZE, in addProperties()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java188 char c = document.getChar(offset); in findResource() local
189 if (!isValidResourceNameChar(c)) { in findResource()
197 char c = document.getChar(start); in findResource() local
198 if (c == '@' || c == '?') { in findResource()
200 } else if (!isValidResourceNameChar(c)) { in findResource()
209 char c = document.getChar(end); in findResource() local
210 if (!isValidResourceNameChar(c)) { in findResource()
232 private static boolean isValidResourceNameChar(char c) { in isValidResourceNameChar() argument
233 return c == '@' || c == '?' || c == '/' || c == '+' || Character.isJavaIdentifierPart(c); in isValidResourceNameChar()
294 char c = document.getChar(offset); in findClassName() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilitiesTest.java135 Element c = document.createElement("C"); in testGetCommonAncestor() local
136 a.appendChild(c); in testGetCommonAncestor()
138 c.appendChild(d); in testGetCommonAncestor()
140 c.appendChild(e); in testGetCommonAncestor()
144 assertSame(a, DomUtilities.getCommonAncestor(b, c)); in testGetCommonAncestor()
149 assertSame(c, DomUtilities.getCommonAncestor(d, e)); in testGetCommonAncestor()
150 assertSame(c, DomUtilities.getCommonAncestor(c, e)); in testGetCommonAncestor()
151 assertSame(c, DomUtilities.getCommonAncestor(d, c)); in testGetCommonAncestor()
152 assertSame(c, DomUtilities.getCommonAncestor(c, c)); in testGetCommonAncestor()
173 Element c = document.createElement("C"); in testGetDepth() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DAndroidManifestDescriptors.java479 for (char c : xmlName.toCharArray()) { in getUiName()
480 if (capitalize && c >= 'a' && c <= 'z') { in getUiName()
481 sb.append((char)(c + 'A' - 'a')); in getUiName()
483 } else if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z')) { in getUiName()
487 sb.append(c); in getUiName()
513 for (char c : xmlName.toCharArray()) { in guessStyleName()
514 if (capitalize && c >= 'a' && c <= 'z') { in guessStyleName()
515 sb.append((char)(c + 'A' - 'a')); in guessStyleName()
517 } else if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z')) { in guessStyleName()
521 sb.append(c); in guessStyleName()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceOptionsDialogV2.java97 Composite c = new Composite(parent, SWT.BORDER); in createDialogArea() local
98 c.setLayout(new GridLayout(3, false)); in createDialogArea()
99 c.setLayoutData(new GridData(GridData.FILL_BOTH)); in createDialogArea()
101 Label l = new Label(c, SWT.NONE); in createDialogArea()
105 mDestinationText = new Text(c, SWT.BORDER); in createDialogArea()
109 final Button browse = new Button(c, SWT.NONE); in createDialogArea()
119 Label lblTraceDurationseconds = new Label(c, SWT.NONE); in createDialogArea()
124 mTraceDurationText = new Text(c, SWT.BORDER); in createDialogArea()
128 Label lblTraceBufferSize = new Label(c, SWT.NONE); in createDialogArea()
132 mTraceBufferSizeText = new Text(c, SWT.BORDER); in createDialogArea()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategy.java78 public void customizeDocumentCommand(IDocument document, DocumentCommand c) { in customizeDocumentCommand() argument
90 if (c.length == 0 && c.text != null in customizeDocumentCommand()
91 && TextUtilities.endsWith(doc.getLegalLineDelimiters(), c.text) != -1) { in customizeDocumentCommand()
97 final int offset = c.offset; in customizeDocumentCommand()
149 StringBuilder sb = new StringBuilder(c.text); in customizeDocumentCommand()
171 c.caretOffset = offset + sb.length(); in customizeDocumentCommand()
172 c.shiftsCaret = false; in customizeDocumentCommand()
176 c.text = sb.toString(); in customizeDocumentCommand()
241 StringBuilder sb = new StringBuilder(c.text); in customizeDocumentCommand()
249 c.length++; in customizeDocumentCommand()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DGLFunctionTraceViewer.java209 Composite c = new Composite(parent, SWT.NONE); in createPartControl() local
210 c.setLayout(new GridLayout(1, false)); in createPartControl()
212 c.setLayoutData(gd); in createPartControl()
216 createFrameSelectionControls(c); in createPartControl()
217 createOptionsBar(c); in createPartControl()
218 createFrameTraceView(c); in createPartControl()
298 Composite c = new Composite(parent, SWT.NONE); in createFrameSelectionControls() local
299 c.setLayout(new GridLayout(3, false)); in createFrameSelectionControls()
301 c.setLayoutData(gd); in createFrameSelectionControls()
303 Label l = new Label(c, SWT.NONE); in createFrameSelectionControls()
[all …]
DGLCallGroups.java153 GLCall c = calls.get(i); in constructCallHierarchy() local
154 if (c.getContextId() != contextToGroup) { in constructCallHierarchy()
159 if (c.getFunction() == Function.glPushGroupMarkerEXT) { in constructCallHierarchy()
160 GLTreeNode group = new GLTreeNode(c); in constructCallHierarchy()
167 } else if (c.getFunction() == Function.glPopGroupMarkerEXT) { in constructCallHierarchy()
177 items.add(new GLLeafNode(c)); in constructCallHierarchy()
180 GLLeafNode leaf = new GLLeafNode(c); in constructCallHierarchy()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidator.java135 char c = newText.charAt(i); in isValid() local
136 if (!Character.isJavaIdentifierPart(c)) { in isValid()
137 return String.format("'%1$c' is not a valid resource name character", c); in isValid()
151 char c = newText.charAt(i); in isValid() local
152 if (!((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '_')) { in isValid()
/sdk/find_java/src/source/
Dfind_java_lib.cpp58 for (const char *c = start; c < end - 2; c++) { in extractJavaVersion() local
59 if (isdigit(c[0]) && in extractJavaVersion()
60 c[1] == '.' && in extractJavaVersion()
61 isdigit(c[2])) { in extractJavaVersion()
62 const char *e = c+2; in extractJavaVersion()
67 outVersionStr->set(c, e - c + 1); in extractJavaVersion()
71 int value = (*c - '0') * 1000; in extractJavaVersion()
531 char c = *b; in getJavaVersion() local
532 if (c >= 'A' && c <= 'Z') c += 'a' - 'A'; in getJavaVersion()
533 first32[index] = c; in getJavaVersion()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
DFrameSummaryViewPage.java125 Composite c = new Composite(parent, SWT.NONE); in createFrameStatisticsPart() local
126 c.setLayout(new GridLayout(2, false)); in createFrameStatisticsPart()
127 GridDataFactory.fillDefaults().grab(true, true).applyTo(c); in createFrameStatisticsPart()
129 Label l = new Label(c, SWT.NONE); in createFrameStatisticsPart()
134 l = new Label(c, SWT.NONE); in createFrameStatisticsPart()
138 mWallClockTimeLabel = new Label(c, SWT.NONE); in createFrameStatisticsPart()
143 l = new Label(c, SWT.NONE); in createFrameStatisticsPart()
147 mThreadTimeLabel = new Label(c, SWT.NONE); in createFrameStatisticsPart()
152 l = new Label(c, SWT.HORIZONTAL | SWT.SEPARATOR); in createFrameStatisticsPart()
155 l = new Label(c, SWT.NONE); in createFrameStatisticsPart()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/
DSdkLocationChooserDialog.java57 Composite c = new Composite((Composite) super.createDialogArea(parent), SWT.NONE); in createDialogArea() local
58 c.setLayout(new GridLayout(2, false)); in createDialogArea()
59 c.setLayoutData(new GridData(GridData.FILL_BOTH)); in createDialogArea()
61 Label l = new Label(c, SWT.NONE); in createDialogArea()
65 mTextBox = new Text(c, SWT.BORDER); in createDialogArea()
77 Button browse = new Button(c, SWT.PUSH); in createDialogArea()
92 mStatusLabel = new Label(c, SWT.WRAP); in createDialogArea()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DLogCatMonitorDialog.java66 Composite c = new Composite(parent, SWT.BORDER); in createDialogArea() local
67 c.setLayout(new GridLayout(2, false)); in createDialogArea()
71 c.setLayoutData(gd_c); in createDialogArea()
73 final Button disableButton = new Button(c, SWT.RADIO); in createDialogArea()
77 final Button enableButton = new Button(c, SWT.RADIO); in createDialogArea()
82 final Combo levelCombo = new Combo(c, SWT.READ_ONLY | SWT.DROP_DOWN); in createDialogArea()
/sdk/find_java2/src/
DJavaFinder.cpp42 for (const TCHAR *c = start; c < end - 2; c++) { in extractJavaVersion() local
43 if (isdigit(c[0]) && in extractJavaVersion()
44 c[1] == '.' && in extractJavaVersion()
45 isdigit(c[2])) { in extractJavaVersion()
46 const TCHAR *e = c + 2; in extractJavaVersion()
50 outVersionStr->SetString(c, e - c + 1); in extractJavaVersion()
53 int major = (*c - '0'); in extractJavaVersion()
169 char c = *b; in getJavaVersion() local
170 if (c >= 'A' && c <= 'Z') c += 'a' - 'A'; in getJavaVersion()
171 first32[index] = c; in getJavaVersion()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DFmExtractLettersMethod.java38 char c = string.charAt(i); in exec() local
39 if (Character.isLetter(c)) { in exec()
40 sb.append(c); in exec()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategyTest.java45 char c = contents.charAt(i); in check() local
46 if (c == '\r') { in check()
49 if (!(c != '\r' || prev != '\r')) { in check()
54 if (haveCrlf && c == '\n' && prev != '\r') { in check()
58 prev = c; in check()

123456