/external/ktfmt/website/index/ |
D | index.css | 17 /* Forked from https://microsoft.github.io/monaco-editor/ */ 54 .try .editor.row { 114 .try .editor.row h4 small { 118 .try .editor.row .control-label { 125 .try .editor.row .monaco-editor .find-widget input[type="text"] { 136 .try .editor.row .monaco-editor .find-widget .monaco-checkbox .label { 141 .try .editor.row .monaco-editor .find-widget .close { 146 .try .editor .editor-frame { 150 .try .editor .editor-frame #editor, 151 .try .editor .editor-frame #diff-editor { [all …]
|
D | index.js | 21 var editor = null; variable 30 editor = monaco.editor.create(document.getElementById("editor"), { 73 options = editor.getOptions(); 75 editor.layout(); 84 editor.updateOptions({'rulers': [columnLimit]}); 106 source: editor.getValue(), 120 editor.setValue(data.source); 131 editor.updateOptions({ readOnly: true, language: 'text' }); 136 editor.updateOptions({ readOnly: false });
|
/external/icing/icing/query/advanced_query_parser/ |
D | query-visitor_test.cc | 216 std::unique_ptr<NumericIndex<int64_t>::Editor> editor = in TEST_P() local 218 editor->BufferKey(0); in TEST_P() 219 std::move(*editor).IndexAllBufferedKeys(); in TEST_P() 221 editor = numeric_index_->Edit("price", kDocumentId1, kSectionId1); in TEST_P() 222 editor->BufferKey(1); in TEST_P() 223 std::move(*editor).IndexAllBufferedKeys(); in TEST_P() 225 editor = numeric_index_->Edit("price", kDocumentId2, kSectionId2); in TEST_P() 226 editor->BufferKey(2); in TEST_P() 227 std::move(*editor).IndexAllBufferedKeys(); in TEST_P() 259 std::unique_ptr<NumericIndex<int64_t>::Editor> editor = in TEST_P() local [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSharedPreferencesTest.java | 25 private SharedPreferences.Editor editor; field in ShadowSharedPreferencesTest 40 editor = sharedPreferences.edit(); in setUp() 41 editor.putBoolean("boolean", true); in setUp() 42 editor.putFloat("float", 1.1f); in setUp() 43 editor.putInt("int", 2); in setUp() 44 editor.putLong("long", 3L); in setUp() 45 editor.putString("string", "foobar"); in setUp() 50 editor.putStringSet("stringSet", stringSet); in setUp() 55 editor.commit(); in commit_shouldStoreValues() 68 editor.commit(); in commit_shouldClearEditsThatNeedRemoveAndEditsThatNeedCommit() [all …]
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSharedPreferencesTest.java | 29 private SharedPreferences.Editor editor; field in ShadowSharedPreferencesTest 44 editor = sharedPreferences.edit(); in setUp() 45 editor.putBoolean("boolean", true); in setUp() 46 editor.putFloat("float", 1.1f); in setUp() 47 editor.putInt("int", 2); in setUp() 48 editor.putLong("long", 3L); in setUp() 49 editor.putString("string", "foobar"); in setUp() 54 editor.putStringSet("stringSet", stringSet); in setUp() 59 editor.commit(); in commit_shouldStoreValues() 72 editor.commit(); in commit_shouldClearEditsThatNeedRemoveAndEditsThatNeedCommit() [all …]
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PresencePreferences.java | 74 Editor editor = mCommonPref.edit(); in updateCapabilityDiscoveryTime() local 76 editor.putLong(CAPABILITY_DISCOVERY_TIME, time); in updateCapabilityDiscoveryTime() 77 editor.commit(); in updateCapabilityDiscoveryTime() 94 Editor editor = mCommonPref.edit(); in setSubscriberId() local 95 editor.putString(PHONE_SUBSCRIBER_ID, id); in setSubscriberId() 96 editor.commit(); in setSubscriberId() 113 Editor editor = mCommonPref.edit(); in setLine1Number() local 114 editor.putString(PHONE_LINE1_NUMBER, number); in setLine1Number() 115 editor.commit(); in setLine1Number() 132 Editor editor = mCommonPref.edit(); in setRcsTestMode() local [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SetPreferencesActivity.java | 63 SharedPreferences.Editor editor = prefs.edit(); in onDialogClosed() local 64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); in onDialogClosed() 65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); in onDialogClosed() 66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); in onDialogClosed() 67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); in onDialogClosed() 68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); in onDialogClosed() 69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); in onDialogClosed() 70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); in onDialogClosed() 71 editor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED); in onDialogClosed() 72 editor.remove(PreferenceConstants.PREFERENCE_DIFFICULTY); in onDialogClosed() [all …]
|
D | MainMenuActivity.java | 221 SharedPreferences.Editor editor = prefs.edit(); in onResume() local 222 editor.putBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, false); in onResume() 223 editor.commit(); in onResume() 226 SharedPreferences.Editor editor = prefs.edit(); in onResume() local 231 editor.putBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, true); in onResume() 235 editor.putBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, true); in onResume() 238 editor.commit(); in onResume() 260 SharedPreferences.Editor editor = prefs.edit(); in onResume() local 261 editor.putBoolean(PreferenceConstants.PREFERENCE_SAFE_MODE, true); in onResume() 262 editor.commit(); in onResume() [all …]
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/ |
D | SharedPreferencesUtil.java | 76 SharedPreferences.Editor editor = prefs.edit(); in writeProto() local 77 writeProto(editor, key, protoValue); in writeProto() 78 return editor.commit(); in writeProto() 87 SharedPreferences.Editor editor = prefs.edit(); in writeProto() local 88 writeProto(editor, protoKey, protoValue); in writeProto() 89 return editor.commit(); in writeProto() 96 SharedPreferences.Editor editor, final K protoKey, final T protoValue) { in writeProto() argument 97 writeProto(editor, serializeProto(protoKey), protoValue); in writeProto() 104 SharedPreferences.Editor editor, final String key, final T protoValue) { in writeProto() argument 105 editor.putString(key, serializeProto(protoValue)); in writeProto() [all …]
|
/external/libbackup/src/com/google/android/libraries/backup/ |
D | PersistentBackupAgentHelper.java | 94 String srcFileName, Editor editor, BackupKeyPredicate backupKeyPredicate) { in writeToBackupFile() argument 105 putSharedPreference(editor, buildBackupKey(srcFileName, key), value); in writeToBackupFile() 119 public static void putSharedPreference(Editor editor, String key, Object value) { in putSharedPreference() argument 121 editor.putBoolean(key, (Boolean) value); in putSharedPreference() 123 editor.putFloat(key, (Float) value); in putSharedPreference() 125 editor.putInt(key, (Integer) value); in putSharedPreference() 127 editor.putLong(key, (Long) value); in putSharedPreference() 129 editor.putString(key, (String) value); in putSharedPreference() 140 editor.putStringSet(key, (Set<String>) value); in putSharedPreference() 181 Editor editor = editors.get(fileName); in writeFromBackupFileToPreferenceFiles() local [all …]
|
/external/skia/experimental/sktext/ |
D | BUILD.gn | 85 "editor/Cursor.cpp", 86 "editor/Editor.cpp", 87 "editor/Mouse.cpp", 88 "editor/Selection.cpp", 89 "editor/Texts.cpp", 102 "editor/App.cpp", 103 "editor/Cursor.cpp", 104 "editor/Editor.cpp", 105 "editor/Mouse.cpp", 106 "editor/Selection.cpp", [all …]
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/logging/ |
D | SharedPreferencesLoggingState.java | 207 SharedPreferences.Editor editor = sharedPrefs.get().edit(); in getAndResetDaysSinceLastMaintenance() local 208 editor.putLong(LAST_MAINTENANCE_RUN_SECS_KEY, currentTimestamp); in getAndResetDaysSinceLastMaintenance() 209 commitOrThrow(editor); in getAndResetDaysSinceLastMaintenance() 231 SharedPreferences.Editor editor = sharedPrefs.get().edit(); in incrementDataUsage() local 232 editor.putLong(entry.getSharedPrefsKey(Key.CELLULAR_USAGE), updatedCellarUsage); in incrementDataUsage() 233 editor.putLong(entry.getSharedPrefsKey(Key.WIFI_USAGE), updatedWifiUsage); in incrementDataUsage() 235 return commitOrThrow(editor); in incrementDataUsage() 246 SharedPreferences.Editor editor = sharedPrefs.get().edit(); 275 editor.remove(entry.getSharedPrefsKey(Key.CELLULAR_USAGE)); 276 editor.remove(entry.getSharedPrefsKey(Key.WIFI_USAGE)); [all …]
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/integration/downloader/ |
D | SharedPreferencesDownloadMetadata.java | 83 SharedPreferences.Editor editor = sharedPrefs.edit(); 84 editor.putString(getKey(uri, Key.CONTENT_TAG), metadata.getContentTag()); 85 editor.putLong( 87 commitOrThrow(editor); 99 SharedPreferences.Editor editor = sharedPrefs.edit(); 100 editor.remove(getKey(uri, Key.CONTENT_TAG)); 101 editor.remove(getKey(uri, Key.LAST_MODIFIED_TIME_SECS)); 102 commitOrThrow(editor); 110 private static void commitOrThrow(SharedPreferences.Editor editor) throws IOException { 111 if (!editor.commit()) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | DiskLruCacheTest.java | 248 DiskLruCache.Editor editor = cache.edit("k1"); in cannotOperateOnEditAfterPublish() local 249 setString(editor, 0, "A"); in cannotOperateOnEditAfterPublish() 250 setString(editor, 1, "B"); in cannotOperateOnEditAfterPublish() 251 editor.commit(); in cannotOperateOnEditAfterPublish() 252 assertInoperable(editor); in cannotOperateOnEditAfterPublish() 256 DiskLruCache.Editor editor = cache.edit("k1"); in cannotOperateOnEditAfterRevert() local 257 setString(editor, 0, "A"); in cannotOperateOnEditAfterRevert() 258 setString(editor, 1, "B"); in cannotOperateOnEditAfterRevert() 259 editor.abort(); in cannotOperateOnEditAfterRevert() 260 assertInoperable(editor); in cannotOperateOnEditAfterRevert() [all …]
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/ |
D | SharedPreferencesSharedFilesMetadata.java | 175 SharedPreferences.Editor editor = prefs.edit(); in migrateToAddDownloadTransform() local 189 editor.remove(serializedFileKey); in migrateToAddDownloadTransform() 196 editor.remove(serializedFileKey); in migrateToAddDownloadTransform() 201 SharedPreferencesUtil.removeProto(editor, serializedFileKey); in migrateToAddDownloadTransform() 203 editor, in migrateToAddDownloadTransform() 208 if (!editor.commit()) { in migrateToAddDownloadTransform() 225 SharedPreferences.Editor editor = prefs.edit(); in migrateToDedupOnChecksumOnly() local 239 editor.remove(serializedFileKey); in migrateToDedupOnChecksumOnly() 247 editor.remove(serializedFileKey); in migrateToDedupOnChecksumOnly() 252 SharedPreferencesUtil.removeProto(editor, serializedFileKey); in migrateToDedupOnChecksumOnly() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 234 DiskLruCache.Editor editor = null; in put() local 236 editor = cache.edit(urlToKey(response.request())); in put() 237 if (editor == null) { in put() 240 entry.writeTo(editor); in put() 241 return new CacheRequestImpl(editor); in put() 243 abortQuietly(editor); in put() 255 DiskLruCache.Editor editor = null; in update() local 257 editor = snapshot.edit(); // Returns null if snapshot is not current. in update() 258 if (editor != null) { in update() 259 entry.writeTo(editor); in update() [all …]
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Cache.java | 236 DiskLruCache.Editor editor = null; in put() local 238 editor = cache.edit(urlToKey(response.request())); in put() 239 if (editor == null) { in put() 242 entry.writeTo(editor); in put() 243 return new CacheRequestImpl(editor); in put() 245 abortQuietly(editor); in put() 257 DiskLruCache.Editor editor = null; in update() local 259 editor = snapshot.edit(); // Returns null if snapshot is not current. in update() 260 if (editor != null) { in update() 261 entry.writeTo(editor); in update() [all …]
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_rstrip.py | 8 editor = Editor() 9 text = editor.text 10 do_rstrip = rs.RstripExtension(editor).do_rstrip 22 editor = Editor() 27 text = editor.text 28 do_rstrip = rs.RstripExtension(editor).do_rstrip
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_format.py | 8 from idlelib.editor import EditorWindow 276 editor = Editor(root=cls.root) 277 cls.text = editor.text.text # Test code does not need the wrapper. 278 cls.formatter = ft.FormatParagraph(editor).format_paragraph_event 403 cls.editor = DummyEditwin(cls.root, cls.text) 404 cls.formatter = ft.FormatRegion(cls.editor) 408 del cls.text, cls.formatter, cls.editor 581 editor = DummyEditwin(None, None) # usetabs == False. 582 indents = ft.Indents(editor) 586 self.assertEqual(editor.usetabs, True) [all …]
|
D | test_zzdummy.py | 9 from idlelib import editor 31 get_selection_indices = editor.EditorWindow.get_selection_indices 49 cls.editor = DummyEditwin(root, text) 55 del cls.editor, cls.text 67 zz = self.zz = zzdummy.ZzDummy(self.editor) 87 self.assertEqual(zz.editwin, self.editor) 88 self.assertEqual(zz.text, self.editor.text)
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliCodeFragmentFactoryTest.java | 44 import com.intellij.openapi.editor.Editor; 45 import com.intellij.openapi.editor.impl.EditorImpl; 233 Editor editor = createEditor(fragment.getVirtualFile()); in assertCompletionContains() local 234 editor.getCaretModel().moveToOffset(completionText.length()); in assertCompletionContains() 236 new CodeCompletionHandlerBase(CompletionType.BASIC).invokeCompletion(getProject(), editor); in assertCompletionContains() local 256 Editor editor = createEditor(fragment.getVirtualFile()); in assertVariableType() local 257 editor.getCaretModel().moveToOffset(1); in assertVariableType() 267 Editor editor = FileEditorManager.getInstance(getProject()).openTextEditor( in createEditor() local 271 ((EditorImpl)editor).setCaretActive(); in createEditor() 272 return editor; in createEditor()
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/ |
D | TestCaseEditController.java | 207 JComponent editor = null; in updateInputEditor() local 213 editor = this.editInputString; in updateInputEditor() 217 editor = this.editInputMulti.getView(); in updateInputEditor() 221 editor = this.editInputFile; in updateInputEditor() 228 paneDetailInput.setEditor(editor); in updateInputEditor() 232 JComponent editor = null; in updateOutputEditor() local 241 editor = this.editOutputAST.getView(); in updateOutputEditor() 247 editor = this.editOutputResult; in updateOutputEditor() 253 editor = this.editOutputStd.getView(); in updateOutputEditor() 259 editor = this.editOutputReturn.getView(); in updateOutputEditor() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
D | DiskLruCacheWrapper.java | 87 DiskLruCache.Editor editor = getDiskCache().edit(safeKey); in put() local 89 if (editor != null) { in put() 91 File file = editor.getFile(0); in put() 93 editor.commit(); in put() 96 editor.abortUnlessCommitted(); in put()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/ |
D | SmaliUsageTargetProvider.java | 37 import com.intellij.openapi.editor.Editor; 53 @Nullable @Override public UsageTarget[] getTargets(Editor editor, PsiFile file) { in getTargets() argument 55 …TargetElementUtilBase.adjustOffset(file, editor.getDocument(), editor.getCaretModel().getOffset())… in getTargets()
|
/external/pigweed/pw_web/webconsole/styles/ |
D | repl.module.css | 22 .editor { 30 .editor .cm-content, 31 .editor .cm-gutter { 35 .editor .cm-gutters { 39 .editor .cm-scroller {
|