/external/libvncserver/webclients/novnc/include/ |
D | input.js | 24 Util.set_defaults(this, defaults, { 52 Util.Debug("onKeyPress " + (e.type == 'keydown' ? "down" : "up") + 63 Util.stopEvent(e); 77 Util.stopEvent(e); 91 Util.stopEvent(e); 101 Util.Debug(">> Keyboard.allKeysUp"); 103 Util.Debug("<< Keyboard.allKeysUp"); 112 Util.addEvent(c, 'keydown', this._eventHandlers.keydown); 113 Util.addEvent(c, 'keyup', this._eventHandlers.keyup); 114 Util.addEvent(c, 'keypress', this._eventHandlers.keypress); [all …]
|
D | util.js | 13 var Util = {}; variable 186 Util._log_level = 'warn'; 187 Util.init_logging = function (level) { 190 level = Util._log_level; 192 Util._log_level = level; 210 Util.Debug = Util.Info = Util.Warn = Util.Error = function (msg) {}; 214 Util.Debug = function (msg) { console.log(msg); }; 216 Util.Info = function (msg) { console.log(msg); }; 218 Util.Warn = function (msg) { console.warn(msg); }; 220 Util.Error = function (msg) { console.error(msg); }; [all …]
|
D | websock.js | 38 window.WEB_SOCKET_SWF_LOCATION = Util.get_include_uri() + 40 if (Util.Engine.trident) { 41 Util.Debug("Forcing uncached load of WebSocketMain.swf"); 44 Util.load_scripts(["web-socket-js/swfobject.js", 174 Util.Debug("bufferedAmount: " + this._websocket.bufferedAmount); 185 Util.Info("Delaying send, bufferedAmount: " + 228 Util.Info("Detected binaryType support in WebSockets"); 254 Util.Error('Skipping unsupported WebSocket binary sub-protocol'); 283 Util.Debug('>> WebSock.onopen'); 286 Util.Info("Server choose sub-protocol: " + this._websocket.protocol); [all …]
|
D | rfb.js | 116 Util.set_defaults(this, defaults, { 143 Util.Debug(">> RFB.constructor"); 160 Util.Error("Display exception: " + exc); 182 Util.Warn("WebSocket on-close event"); 196 Util.Error("Received onclose while disconnected" + msg); 202 Util.Warn("WebSocket on-error event"); 209 Util.Info("Using native WebSockets"); 212 Util.Warn("Using web-socket-js bridge. Flash version: " + Util.Flash.version); 213 if (!Util.Flash || Util.Flash.version < 9) { 222 Util.Debug("<< RFB.constructor"); [all …]
|
D | display.js | 37 Util.set_defaults(this, defaults, { 45 Util.Debug(">> Display.constructor"); 63 Util.Debug("User Agent: " + navigator.userAgent); 64 if (Util.Engine.gecko) { Util.Debug("Browser: gecko " + Util.Engine.gecko); } 65 if (Util.Engine.webkit) { Util.Debug("Browser: webkit " + Util.Engine.webkit); } 66 if (Util.Engine.trident) { Util.Debug("Browser: trident " + Util.Engine.trident); } 67 if (Util.Engine.presto) { Util.Debug("Browser: presto " + Util.Engine.presto); } 79 Util.Info("Prefering javascript operations"); 95 Util.Info("Data URI scheme cursor supported"); 100 Util.Warn("Data URI scheme cursor not supported"); [all …]
|
/external/slf4j/slf4j-api/src/main/java/org/slf4j/ |
D | LoggerFactory.java | 39 import org.slf4j.helpers.Util; 149 Util.report("Failed to load class \"org.slf4j.impl.StaticLoggerBinder\"."); in bind() 150 Util.report("Defaulting to no-operation (NOP) logger implementation"); in bind() 151 Util.report("See " + NO_STATICLOGGERBINDER_URL + " for further details."); in bind() 160 Util.report("slf4j-api 1.6.x (or later) is incompatible with this binding."); in bind() 161 Util.report("Your binding is version 1.5.5 or earlier."); in bind() 162 Util.report("Upgrade your binding to version 1.6.x."); in bind() 173 Util.report("Failed to instantiate SLF4J LoggerFactory", t); in failedBinding() 183 Util.report("The following set of substitute loggers may have been accessed"); in fixSubstitutedLoggers() 184 Util.report("during the initialization phase. Logging calls during this"); in fixSubstitutedLoggers() [all …]
|
D | MDC.java | 32 import org.slf4j.helpers.Util; 95 Util.report("Failed to load class \"org.slf4j.impl.StaticMDCBinder\"."); 96 Util.report("Defaulting to no-operation MDCAdapter implementation."); 97 Util.report("See " + NO_STATIC_MDC_BINDER_URL + " for further details."); 103 Util.report("MDC binding unsuccessful.", e);
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
D | UtilTest.java | 44 assertEquals(DurationUnit.NANOSECOND, Util.selectDurationUnitForDisplay(10)); in testSelectDurationUnitForDisplay() 45 …assertEquals(DurationUnit.NANOSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MICR… in testSelectDurationUnitForDisplay() 46 …assertEquals(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_MI… in testSelectDurationUnitForDisplay() 47 …assertEquals(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MIL… in testSelectDurationUnitForDisplay() 48 …assertEquals(DurationUnit.MILLISSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_M… in testSelectDurationUnitForDisplay() 49 …assertEquals(DurationUnit.SECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_SECOND)… in testSelectDurationUnitForDisplay()
|
/external/mesa3d/scons/ |
D | crossmingw.py | 42 import SCons.Util 45 prefixes32 = SCons.Util.Split(""" 59 prefixes64 = SCons.Util.Split(""" 73 if env.WhereIs(prefix + 'gcc') or SCons.Util.WhereIs(prefix + 'gcc'): 79 cmd = SCons.Util.CLVar(['$SHLINK', '$SHLINKFLAGS']) 151 env2['CCFLAGS'] = SCons.Util.CLVar(flags) 171 …dir = os.path.dirname(env.WhereIs(mingw_prefix + 'gcc') or SCons.Util.WhereIs(mingw_prefix + 'gcc'… 177 if SCons.Util.is_String(path): 189 env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS') 191 env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS') [all …]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/index/ |
D | IndexBase.java | 12 import org.tukaani.xz.common.Util; 28 return 1 + Util.getVLISize(recordCount) + indexListSize + 4; in getUnpaddedIndexSize() 36 return Util.STREAM_HEADER_SIZE + blocksSum + getIndexSize() in getStreamSize() 37 + Util.STREAM_HEADER_SIZE; in getStreamSize() 47 indexListSize += Util.getVLISize(unpaddedSize) in add() 48 + Util.getVLISize(uncompressedSize); in add() 52 || getIndexSize() > Util.BACKWARD_SIZE_MAX in add()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/ |
D | ConfigResultsElement.java | 19 import org.eclipse.test.internal.performance.results.utils.Util; 263 this.statistics = getConfigResults().getStatistics(Util.BASELINE_BUILD_PREFIXES); in getStatistics() 295 excluded.append(Util.LINE_SEPARATOR); in writableStatus() 310 excluded.append(Util.LINE_SEPARATOR); in writableStatus() 334 localBuffer.append(Util.PERCENTAGE_FORMAT.format(delta)); in writableStatus() 336 localBuffer.append(Util.PERCENTAGE_FORMAT.format(error)); in writableStatus() 342 localBuffer.append(Util.DOUBLE_FORMAT.format(stats[1])); in writableStatus() 344 localBuffer.append(Util.DOUBLE_FORMAT.format(stats[2])); in writableStatus() 346 localBuffer.append(Util.PERCENTAGE_FORMAT.format(stats[3])); in writableStatus() 379 excluded.append(Util.LINE_SEPARATOR); in writableStatus() [all …]
|
D | PerformanceResultsElement.java | 23 import org.eclipse.test.internal.performance.results.utils.Util; 150 if (Arrays.binarySearch(builds, buildResultsElement.getName(), Util.BUILD_DATE_COMPARATOR) < 0) { in hasRead() 227 buffer.append(Util.LINE_SEPARATOR); in writeStatus() 231 buffer.append(Util.LINE_SEPARATOR); in writeStatus() 252 buffer.append(Util.LINE_SEPARATOR); in writeStatus() 268 buffer.append(Util.LINE_SEPARATOR); in writeStatus() 281 buffer.append(Util.LINE_SEPARATOR); in writeStatus() 286 buffer.append(Util.LINE_SEPARATOR); in writeStatus() 297 buffer.append(Util.LINE_SEPARATOR); in writeStatus() 308 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
D | DumpStackTraceTest.java | 21 import org.yaml.snakeyaml.Util; 28 String input = Util.getLocalResource("representer/stacktrace1.txt"); in testJavaStackTrace() 38 String input = Util.getLocalResource("representer/stacktrace2.txt"); in testJavaStackTraceWithNoSpecialCharacters() 48 String input = Util.getLocalResource("representer/stacktrace3.txt"); in testJavaStackTraceWithTabs() 58 String input = Util.getLocalResource("representer/stacktrace1.txt"); in testJavaStackTraceWithoutTabs() 61 String etalon = Util.getLocalResource("representer/stacktrace1.yaml"); in testJavaStackTraceWithoutTabs()
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
D | CaliperConfigLoader.java | 20 import com.google.caliper.util.Util; 50 defaults = Util.loadProperties( in loadOrCreate() 51 Util.resourceSupplier(CaliperConfig.class, "global-config.properties")); in loadOrCreate() 61 Util.loadProperties(Files.asByteSource(configFile)); in loadOrCreate() 67 ByteSource supplier = Util.resourceSupplier(CaliperConfig.class, "default-config.properties"); in loadOrCreate() 72 user = Util.loadProperties(supplier); in loadOrCreate()
|
/external/snakeyaml/src/test/java/examples/collections/ |
D | TypeSafeMapImplementationsTest.java | 27 import org.yaml.snakeyaml.Util; 47 String etalon = Util.getLocalResource("examples/map-bean-1.yaml"); in testDumpMap() 52 String output = Util.getLocalResource("examples/map-bean-1.yaml"); in testLoadMap() 119 String etalon = Util.getLocalResource("examples/map-bean-2.yaml"); in testNoJavaBeanMap() 145 String etalon = Util.getLocalResource("examples/map-recursive-1.yaml"); in testRecursiveNoJavaBeanMap1() 149 Map<Object, Object> map1 = (Map<Object, Object>) yaml.load(Util in testRecursiveNoJavaBeanMap1() 169 String etalon = Util.getLocalResource("examples/map-recursive-2.yaml"); in testRecursiveNoJavaBeanProperties2() 180 String output = Util.getLocalResource("examples/map-recursive-3.yaml"); in testRecursiveNoJavaBeanMap3() 194 String output = Util.getLocalResource("examples/map-recursive-4.yaml"); in testRecursiveNoJavaBeanProperties4()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
D | SizeStrategy.java | 7 import com.bumptech.glide.util.Util; 24 int size = Util.getBitmapByteSize(bitmap); in put() 35 final int size = Util.getBitmapByteSize(width, height, config); in get() 58 final int removedSize = Util.getBitmapByteSize(removed); in removeLast() 80 int size = Util.getBitmapByteSize(width, height, config); in logBitmap() 86 return Util.getBitmapByteSize(bitmap); in getSize() 115 int size = Util.getBitmapByteSize(bitmap); in getBitmapString()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | ClassTagsTest.java | 24 import org.yaml.snakeyaml.Util; 42 assertEquals(Util.getLocalResource("constructor/car-with-tags.yaml"), new Yaml().dump(car)); in testDefaultRepresenter() 60 assertEquals(Util.getLocalResource("constructor/car-without-tags.yaml"), output); in testDumpClassTag() 66 yaml.load(Util.getLocalResource("constructor/car-without-tags.yaml")); in testLoadUnknounClassTag() 78 String source = Util.getLocalResource("constructor/car-without-tags.yaml"); in testLoadClassTag() 99 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-no-root-class.yaml")); in testLoadClassNoRoot()
|
D | ArrayTagsTest.java | 25 import org.yaml.snakeyaml.Util; 40 assertEquals(Util.getLocalResource("constructor/cararray-with-tags-flow-auto.yaml"), in testDefaultRepresenter() 57 assertEquals(Util.getLocalResource("constructor/cararray-with-tags.yaml"), yaml.dump(car)); in testFlowBlock() 64 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-without-tags.yaml")); in testLoadClassTag() 84 CarWithArray car = (CarWithArray) yaml.load(Util in testLoadClassNoRoot()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | RequestBody.java | 18 import com.squareup.okhttp.internal.Util; 47 Charset charset = Util.UTF_8; in create() 51 charset = Util.UTF_8; in create() 85 Util.checkOffsetAndCount(content.length, offset, byteCount); 120 Util.closeQuietly(source);
|
D | ResponseBody.java | 18 import com.squareup.okhttp.internal.Util; 28 import static com.squareup.okhttp.internal.Util.UTF_8; 59 Util.closeQuietly(source); in bytes() 100 Charset charset = Util.UTF_8; in create() 104 charset = Util.UTF_8; in create()
|
D | Handshake.java | 19 import com.squareup.okhttp.internal.Util; 58 ? Util.immutableList(peerCertificates) in get() 63 ? Util.immutableList(localCertificates) in get() 72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), in get() 73 Util.immutableList(localCertificates)); in get()
|
D | ConnectionPool.java | 20 import com.squareup.okhttp.internal.Util; 93 new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp ConnectionPool", true)); 151 Util.closeQuietly(connection.getSocket()); in get() 184 Util.closeQuietly(connection.getSocket()); in recycle() 193 Util.closeQuietly(connection.getSocket()); in recycle() 236 Util.closeQuietly(toEvict.get(i).getSocket()); in evictAll() 315 Util.closeQuietly(expiredConnection.getSocket()); in performCleanup()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
D | PerformanceResults.java | 28 import org.eclipse.test.internal.performance.results.utils.Util; 71 buffer.append(Util.timeChrono(elapsed)); in display() 75 buffer.append(Util.timeChrono(remainingTime)); in display() 77 buffer.append(Util.timeEnd(remainingTime)); in display() 146 return Util.getBuildDate(getName(), getBaselinePrefix()); in getBuildDate() 492 buildMissing = Arrays.binarySearch(names, buildName, Util.BUILD_DATE_COMPARATOR) < 0; in readAll() 498 Arrays.sort(builds, Util.BUILD_DATE_COMPARATOR); in readAll() 500 if (Arrays.binarySearch(names, builds[i], Util.BUILD_DATE_COMPARATOR) >= 0) { in readAll() 544 …this.needToUpdateLocalFile = this.name == null || Util.getBuildDate(this.name).compareTo(Util.getB… in readLocalFile() 545 if (this.name != null && Util.getBuildDate(this.name).compareTo(Util.getBuildDate(str)) >= 0) { in readLocalFile() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
D | YamlFieldAccessCollectionTest.java | 23 import org.yaml.snakeyaml.Util; 35 assertEquals(Util.getLocalResource("issues/issue55_1.txt"), serialized); in testYaml() 45 Map<String, Object> map = (Map<String, Object>) yaml.load(Util in testYamlWithoutConfiguration() 53 beanLoader.loadAs(Util.getLocalResource("issues/issue55_1.txt"), Blog.class); in testYamlFailure() 65 assertEquals(Util.getLocalResource("issues/issue55_1_rootTag.txt"), serialized); in testYamlDefaultWithFeildAccess()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | SetAsSequenceTest.java | 26 import org.yaml.snakeyaml.Util; 48 assertEquals(Util.getLocalResource("issues/issue73-1.txt"), output); in testDump() 54 String doc = Util.getLocalResource("issues/issue73-1.txt"); in testLoad() 66 String serialized = Util.getLocalResource("issues/issue73-2.txt"); in testYaml() 86 String doc = Util.getLocalResource("issues/issue73-3.txt"); in testLoadRootSet() 125 String doc = Util.getLocalResource("issues/issue73-6.txt"); in testLoadRootSet6()
|