/external/v8/src/ |
D | api.cc | 203 Utils::ToLocal(scriptName), in GetScriptOriginForScript() 209 Utils::ToLocal(source_map_url), in GetScriptOriginForScript() 287 Utils::ApiCheck(false, location, "Allocation failed - process out of memory"); in FatalProcessOutOfMemory() 293 void Utils::ReportApiFailure(const char* location, const char* message) { in ReportApiFailure() 419 i::Object* raw_context = *v8::Utils::OpenPersistent(context); in CreateSnapshotDataBlob() 635 i::Object* object = *Utils::OpenHandle(value); in Eternalize() 642 return Utils::ToLocal(isolate->eternal_handles()->Get(index)); in GetEternal() 647 Utils::ApiCheck(false, "v8::FromJust", "Maybe value is Nothing."); in FromJustIsNothing() 652 Utils::ApiCheck(false, "v8::ToLocalChecked", "Empty MaybeLocal."); in ToLocalEmpty() 657 Utils::ApiCheck(0 <= index && index < kInternalFieldsInWeakCallback, in InternalFieldOutOfBounds() [all …]
|
D | accessors.cc | 155 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(result, isolate))); in ArgumentsIteratorGetter() 165 Handle<JSObject>::cast(Utils::OpenHandle(*info.This())); in ArgumentsIteratorSetter() 166 Handle<Object> value_handle = Utils::OpenHandle(*val); in ArgumentsIteratorSetter() 167 Handle<Name> name_handle = Utils::OpenHandle(*name); in ArgumentsIteratorSetter() 196 JSArray* holder = JSArray::cast(*Utils::OpenHandle(*info.Holder())); in ArrayLengthGetter() 198 info.GetReturnValue().Set(Utils::ToLocal(Handle<Object>(result, isolate))); in ArrayLengthGetter() 209 Handle<JSReceiver> object = Utils::OpenHandle(*info.This()); in ArrayLengthSetter() 211 Handle<Object> length_obj = Utils::OpenHandle(*val); in ArrayLengthSetter() 251 Object* value = *Utils::OpenHandle(*v8::Local<v8::Value>(info.This())); in StringLengthGetter() 255 value = JSValue::cast(*Utils::OpenHandle(*info.Holder()))->value(); in StringLengthGetter() [all …]
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/draw2d/ |
D | IColorConstants.java | 27 Color buttonLightest = Utils.getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW); 31 Color button = Utils.getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); 35 Color buttonDarker = Utils.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW); 43 Color listBackground = Utils.getSystemColor(SWT.COLOR_LIST_BACKGROUND); 47 Color listForeground = Utils.getSystemColor(SWT.COLOR_LIST_FOREGROUND); 51 Color listSelection = Utils.getSystemColor(SWT.COLOR_LIST_SELECTION); 55 Color listSelectionText = Utils.getSystemColor(SWT.COLOR_LIST_SELECTION_TEXT); 59 Color tooltipForeground = Utils.getSystemColor(SWT.COLOR_INFO_FOREGROUND); 63 Color tooltipBackground = Utils.getSystemColor(SWT.COLOR_INFO_BACKGROUND); 82 public static class Utils { class
|
/external/opencv3/modules/java/android_test/src/org/opencv/test/android/ |
D | UtilsTest.java | 3 import org.opencv.android.Utils; 25 Utils.bitmapToMat(bmp16, m16); in testBitmapToMat() 33 Utils.bitmapToMat(bmp32, m32); in testBitmapToMat() 80 Utils.matToBitmap(imgRGBA, bmp16); Utils.bitmapToMat(bmp16, m16); in testMatToBitmap() 86 Utils.matToBitmap(imgRGBA, bmp32); Utils.bitmapToMat(bmp32, m32); in testMatToBitmap() 98 Utils.matToBitmap(imgRGB, bmp16); Utils.bitmapToMat(bmp16, m16); in testMatToBitmap() 104 Utils.matToBitmap(imgRGB, bmp32); Utils.bitmapToMat(bmp32, m32); in testMatToBitmap() 117 Utils.matToBitmap(imgGray, bmp16); Utils.bitmapToMat(bmp16, m16); in testMatToBitmap() 124 Utils.matToBitmap(imgGray, bmp32); Utils.bitmapToMat(bmp32, m32); in testMatToBitmap() 153 Utils.bitmapToMat(bmp, m1, false); in testAlphaPremultiplication() [all …]
|
/external/testng/src/main/java/org/testng/reporters/ |
D | TextReporter.java | 3 import static org.testng.internal.Utils.isStringNotBlank; 9 import org.testng.internal.Utils; 56 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults() 61 Utils.detailedMethodName(tr.getMethod(), false), in logResults() 72 Utils.detailedMethodName(tr.getMethod(), false), in logResults() 91 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults() 101 logResult("SKIPPED", tr, throwable != null ? Utils.stackTrace(throwable, false)[0] : null); in logResults() 107 logBuf.append(" Tests run: ").append(Utils.calculateInvokedMethodCount(getAllTestMethods())) in logResults() 108 .append(", Failures: ").append(Utils.calculateInvokedMethodCount(ft)) in logResults() 109 ….append(", Skips: ").append(Utils.calculateInvokedMethodCount(resultsToMethods(getSkippedTests()))… in logResults() [all …]
|
D | VerboseReporter.java | 9 import org.testng.internal.Utils; 142 sb.append(" Tests run: ").append(Utils.calculateInvokedMethodCount(getAllTestMethods())); in logResults() 143 sb.append(", Failures: ").append(Utils.calculateInvokedMethodCount(ft)); in logResults() 144 …sb.append(", Skips: ").append(Utils.calculateInvokedMethodCount(resultsToMethods(getSkippedTests()… in logResults() 175 ? Utils.stackTrace(itr.getThrowable(), false)[0] : ""; in logTestResult() 180 ? Utils.stackTrace(itr.getThrowable(), false)[0] : ""; in logTestResult() 216 sb.append(Utils.toString(params[i], paramTypes[i])); in logTestResult() 226 if (!Utils.isStringEmpty(tm.getDescription())) { in logTestResult() 240 if (!Utils.isStringEmpty(stackTrace)) { in logTestResult()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GameObjectFactory.java | 745 Utils.framesToTime(24, 1), pressAndCollectVolume, basicVulnerabilityVolume)); 747 Utils.framesToTime(24, 1), pressAndCollectVolume, basicVulnerabilityVolume)); 753 … Utils.framesToTime(24, 1), pressAndCollectVolume, basicVulnerabilityVolume)); 756 … Utils.framesToTime(24, 1), pressAndCollectVolume, basicVulnerabilityVolume)); 763 … Utils.framesToTime(24, 1), pressAndCollectVolume, basicVulnerabilityVolume)); 766 … Utils.framesToTime(24, 1), pressAndCollectVolume, basicVulnerabilityVolume)); 778 Utils.framesToTime(24, 1), stompAttackVolume, null)); 781 Utils.framesToTime(24, 1), stompAttackVolume, null)); 784 Utils.framesToTime(24, 1), stompAttackVolume, null)); 787 Utils.framesToTime(24, 1), stompAttackVolume, null)); [all …]
|
D | PatrolComponent.java | 112 final int targetFacingDirection = Utils.sign(horizontalDelta); in update() 120 != Utils.sign(parentObject.facingDirection.x)) { in update() 128 != Utils.sign(parentObject.facingDirection.x)) { in update() 194 … if (Utils.sign(parentObject.getTargetVelocity().x) != Utils.sign(parentObject.getVelocity().x)) { in update() 221 if (Utils.sign(player.getPosition().x - parentObject.getPosition().x) in updateAttack() 222 == Utils.sign(parentObject.facingDirection.x)) { in updateAttack() 251 mMaxSpeed * Utils.sign(parentObject.facingDirection.x); in updateAttack()
|
D | CollisionSystem.java | 178 … final int startTileX = Utils.clamp((int)(startX / mTileWidth), 0, mWorld.getWidth() - 1); in testBox() 179 final int endTileX = Utils.clamp((int)(endX / mTileWidth), 0, mWorld.getWidth() - 1); in testBox() 180 … final int startTileY = Utils.clamp((int)(startY / mTileHeight), 0, mWorld.getHeight() - 1); in testBox() 181 final int endTileY = Utils.clamp((int)(endY / mTileHeight), 0, mWorld.getHeight() - 1); in testBox() 291 xIncrement = Utils.sign(deltaX); in executeStraigtRay() 294 yIncrement = Utils.sign(deltaY); in executeStraigtRay() 355 final int xIncrement = deltaX != 0 ? Utils.sign(deltaX) : 0; in executeRay() 356 final int yIncrement = deltaY != 0 ? Utils.sign(deltaY) : 0; in executeRay() 420 return Utils.clamp((int)Math.floor(x / mTileWidth), 0, width - 1); in worldToTileColumn() 424 return Utils.clamp((int)Math.floor(y / mTileHeight), 0, height - 1); in worldToTileRow() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | Utils.java | 45 public class Utils implements UtilsExt { class 57 private static Utils instance = new Utils(); 77 public static Utils getInstance() { in getInstance() 141 String cidString = Utils.toHexString(cid); in generateCallIdentifier() 173 long num = rand.nextLong() + Utils.counter++ + System.currentTimeMillis(); in generateBranchId() 177 return SIPConstants.BRANCH_MAGIC_COOKIE + Utils.toHexString(bid) + this.signature; in generateBranchId() 195 String bid = Utils.getInstance().generateBranchId(); in main()
|
/external/testng/src/test/java/org/testng/internal/ |
D | UtilsTest.java | 10 import static org.testng.internal.Utils.join; 23 assertEquals(Utils.escapeUnicode("test"), "test"); in escapeUnicode() 24 assertEquals(Utils.escapeUnicode(String.valueOf(INVALID_CHAR)), in escapeUnicode() 38 assertEquals("one,two", Utils.join(twoStrings, ",")); in joinTwoStringsWithJoinStrings() 44 assertEquals("", Utils.join(emptyList, ",")); in createEmptyStringWhenJoiningEmptyListWithJoinStrings()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | ScenarioStatusTable.java | 148 int confidence = Utils.confidenceLevel(deviation); in printConfigStats() 151 String image = Utils.getImage(confidence, hasFailure, comment != null); in printConfigStats() 153 if (!hasFailure|| (confidence & Utils.NAN) != 0 || failure.length() == 0){ in printConfigStats() 184 String result = Utils.failureMessage(deviation, false); in printConfigStats() 204 this.stream.print(Utils.OK_IMAGE); in printTitle() 207 this.stream.print(Utils.FAIL_IMAGE); in printTitle() 210 this.stream.print(Utils.FAIL_IMAGE_EXPLAINED); in printTitle() 213 this.stream.print(Utils.FAIL_IMAGE_WARN); in printTitle() 215 this.stream.print(Utils.OK_IMAGE_WARN); in printTitle() 217 this.stream.print(Utils.STANDARD_ERROR_THRESHOLD_STRING); in printTitle() [all …]
|
D | ScenarioData.java | 121 …graph.addItem("main", label, dim.getDisplayValue(value), value, color, true, Utils.getDateFromBuil… in getLineGraph() 125 …graph.addItem("main", label, dim.getDisplayValue(value), value, black, false, Utils.getDateFromBui… in getLineGraph() 130 …graph.addItem("main", buildID, dim.getDisplayValue(value), value, yellow, false, Utils.getDateFrom… in getLineGraph() 136 …graph.addItem("main", buildID, dim.getDisplayValue(value), value, black, false, Utils.getDateFromB… in getLineGraph() 142 …graph.addItem("reference", label, dim.getDisplayValue(value), value, magenta, true, Utils.getDateF… in getLineGraph() 146 …his.baselinePrefix) && !buildID.equals(baseline) && Utils.getDateFromBuildID(buildID, true) <= Uti… in getLineGraph() 147 …graph.addItem("reference", label, dim.getDisplayValue(value), value, magenta, false, Utils.getDate… in getLineGraph() 249 stream.print(Utils.HTML_OPEN); in printSummary() 250 stream.print(Utils.HTML_DEFAULT_CSS); in printSummary() 255 String failureMessage = Utils.failureMessage(configResults.getCurrentBuildDeltaInfo(), true); in printSummary() [all …]
|
/external/autotest/frontend/client/src/autotest/afe/ |
D | JobDetailView.java | 6 import autotest.common.Utils; 83 Utils.openUrlInNewWindow(url); in onJobSelected() 117 setupSpreadsheetListener(Utils.getBaseUrl()); in JobDetailView() 148 jobObject = Utils.getSingleObjectFromArray(result.isArray()); in fetchData() 155 String name = Utils.jsonToString(jobObject.get("name")); in fetchData() 156 String runVerify = Utils.jsonToString(jobObject.get("run_verify")); in fetchData() 160 String parent_job_url = Utils.jsonToString(jobObject.get("parent_job")).trim(); in fetchData() 176 imageUrlString = Utils.jsonToString(jobObject.get("image")).trim(); in fetchData() 189 String require_ssp = Utils.jsonToString(jobObject.get("require_ssp")); in fetchData() 198 String header = Utils.jsonToString(jobObject.get("control_type")) + " control file"; in fetchData() [all …]
|
D | HostDetailView.java | 6 import autotest.common.Utils; 257 currentHostObject = Utils.getSingleObjectFromList(data); in handlePage() 267 String lockedText = Utils.jsonToString(currentHostObject.get(HostDataSource.LOCKED_TEXT)); in handlePage() 269 String lockedBy = Utils.jsonToString(currentHostObject.get("locked_by")); in handlePage() 270 String lockedTime = Utils.jsonToString(currentHostObject.get("lock_time")); in handlePage() 271 String lockReasonText = Utils.jsonToString(currentHostObject.get("lock_reason")); in handlePage() 281 String shard_url = Utils.jsonToString(currentHostObject.get("shard")).trim(); in handlePage() 282 String host_id = Utils.jsonToString(currentHostObject.get("id")).trim(); in handlePage() 292 String job_id = Utils.jsonToString(currentHostObject.get("current_job")).trim(); in handlePage() 300 String task = Utils.jsonToString(currentHostObject.get("current_special_task")).trim(); in handlePage() [all …]
|
/external/deqp/modules/gles3/performance/ |
D | es3pDepthTests.cpp | 134 namespace Utils namespace 1138 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); } in genOccluderGeometry() 1139 virtual ObjectData genOccludedGeometry (void) const { return Utils::variableQuad(0.8f); } in genOccludedGeometry() 1167 …virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuadWithGradient(0.0f, 1.0… in genOccluderGeometry() 1170 …ObjectData(glu::makeVtxFragSources(Utils::getInstanceNoiseVertexShader(), Utils::getDepthAsRedFrag… in genOccludedGeometry() 1202 …virtual ObjectData genOccluderGeometry (void) const { return Utils::quadWith(Utils::getStaticF… in genOccluderGeometry() 1203 virtual ObjectData genOccludedGeometry (void) const { return Utils::fastQuad(0.8f); } in genOccludedGeometry() 1231 …virtual ObjectData genOccluderGeometry (void) const { return Utils::quadWith(Utils::getDynamic… in genOccluderGeometry() 1232 virtual ObjectData genOccludedGeometry (void) const { return Utils::fastQuad(0.8f); } in genOccludedGeometry() 1260 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); } in genOccluderGeometry() [all …]
|
/external/autotest/frontend/client/src/autotest/tko/ |
D | MetricsPlot.java | 4 import autotest.common.Utils; 29 String query = Utils.jsonToString(drilldownParams.get("query")); in showDrilldownImpl() 30 final String series = Utils.jsonToString(drilldownParams.get("series")); in showDrilldownImpl() 31 final String param = Utils.jsonToString(drilldownParams.get("param")); in showDrilldownImpl() 48 String yValue = Utils.jsonToString(row.get(1)); in showDrilldownImpl()
|
D | MachineQualHistogram.java | 3 import autotest.common.Utils; 25 String type = Utils.jsonToString(drilldownParams.get("type")); in showDrilldownImpl() 27 String filterString = Utils.jsonToString(drilldownParams.get("filterString")); in showDrilldownImpl() 30 String hosts = Utils.jsonToString(drilldownParams.get("hosts")); in showDrilldownImpl()
|
D | TestDetailView.java | 6 import autotest.common.Utils; 38 new PaddedJsonRpcProxy(Utils.RETRIEVE_LOGS_URL); 91 return Utils.getLogsUrl(jobTag + "/" + logFilePath); in getLogUrl() 157 String value = Utils.jsonToString(attributes.get(key)); in processAttributes() 206 test = Utils.getSingleObjectFromArray(result.isArray()); in fetchData() 289 String[] labels = Utils.JSONtoStrings(test.get("labels").isArray()); in showTest() 290 String labelList = Utils.joinStrings(", ", Arrays.asList(labels)); in showTest() 300 logLink.setHref(Utils.getRetrieveLogsUrl(jobTag)); in showTest() 301 testLogLink.setHref(Utils.getRetrieveLogsUrl(jobTag) + "/" + testName); in showTest()
|
D | TestGroupDataSource.java | 4 import autotest.common.Utils; 54 JSONObject fullParams = Utils.copyJSONObject(conditionParams); in getFullRequestParams() 55 Utils.updateObject(fullParams, queryParameters); in getFullRequestParams() 85 headerGroups.set(headerGroups.size(), Utils.stringsToJSON(headerGroup)); in setHeaderGroups() 100 headerValueList.add(Arrays.asList(Utils.JSONtoStrings(header))); in getHeaderGroupValues()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
D | URI.java | 293 …throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_SCHEME_REQUIRED, null)); //… in URI() 301 …Utils.messages.createMessage(MsgKey.ER_NO_USERINFO_IF_NO_HOST, null)); //"Userinfo may not be spec… in URI() 307 …Utils.messages.createMessage(MsgKey.ER_NO_PORT_IF_NO_HOST, null)); //"Port may not be specified if… in URI() 316 …Utils.messages.createMessage(MsgKey.ER_NO_QUERY_STRING_IN_PATH, null)); //"Query string cannot be … in URI() 322 …Utils.messages.createMessage(MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH, null)); //"Fragment cannot be s… in URI() 376 …Utils.messages.createMessage(MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS, null)); //"Cannot initialize U… in initialize() 397 …throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_NO_SCHEME_IN_URI, new Objec… in initialize() 605 …throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_NO_SCHEME_INURI, null)); //… in initializeScheme() 756 …Utils.messages.createMessage(MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, null)); //"Path cont… in initializePath() 763 …throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_PATH_INVALID_CHAR, new Obje… in initializePath() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | DelphiTarget.java | 32 import org.antlr.misc.Utils; 120 literal = Utils.replace(literal,"\\\'","''"); // \' to ' to normalize in getTargetStringLiteralFromANTLRStringLiteral() 121 literal = Utils.replace(literal,"\\r\\n","'#13#10'"); in getTargetStringLiteralFromANTLRStringLiteral() 122 literal = Utils.replace(literal,"\\r","'#13'"); in getTargetStringLiteralFromANTLRStringLiteral() 123 literal = Utils.replace(literal,"\\n","'#10'"); in getTargetStringLiteralFromANTLRStringLiteral()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | DOTGenerator.java | 33 import org.antlr.misc.Utils; 77 Utils.integer(startState.stateNumber)); in getDOT() 85 Utils.integer(startState.stateNumber)); in getDOT() 114 if ( markedStates.contains(Utils.integer(s.stateNumber)) ) { in walkCreatingDFADOT() 118 markedStates.add(Utils.integer(s.stateNumber)); // mark this node as completed. in walkCreatingDFADOT() 286 label = Utils.replace(label,"\\", "\\\\"); in getEdgeLabel() 287 label = Utils.replace(label,"\"", "\\\""); in getEdgeLabel() 288 label = Utils.replace(label,"\n", "\\\\n"); in getEdgeLabel() 289 label = Utils.replace(label,"\r", ""); in getEdgeLabel()
|
/external/autotest/frontend/client/src/autotest/afe/models/ |
D | Host.java | 3 import autotest.common.Utils; 11 Utils.updateObject(host, object); in fromJsonObject() 31 return Utils.jsonToString(get("hostname")); in getHostname()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
D | DFA.java | 33 import org.antlr.misc.Utils; 364 Integer emptyValue = Utils.integer(-1); 436 Utils.integer(s.getUniquelyPredictedAlt())); 535 min.set(s.stateNumber, Utils.integer((char)smin)); 536 max.set(s.stateNumber, Utils.integer((char)smax)); 560 Utils.integer(edge.target.stateNumber)); 570 Utils.integer(edge.target.stateNumber)); 582 edgeClass = Utils.integer(edgeTransitionClass); 599 eot.set(s.stateNumber, Utils.integer(edge.target.stateNumber)); 603 eof.set(s.stateNumber, Utils.integer(edge.target.stateNumber)); [all …]
|