Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 25 of 44) sorted by relevance

12

/packages/modules/DnsResolver/
Dres_query.cpp103 int cl, int type, // class and type of query in res_nquery() argument
118 LOG(DEBUG) << __func__ << ": (" << cl << ", " << type << ")"; in res_nquery()
120 n = res_nmkquery(QUERY, name, cl, type, /*data=*/nullptr, 0, buf, sizeof(buf), in res_nquery()
205 int cl, int type, /* class and type of query */ in res_nsearch() argument
232 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, anslen, herrno); in res_nsearch()
258 ret = res_nquerydomain(statp, name, domain.c_str(), cl, type, answer, anslen, herrno); in res_nsearch()
304 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, anslen, herrno); in res_nsearch()
328 int res_nquerydomain(res_state statp, const char* name, const char* domain, int cl, in res_nquerydomain() argument
339 LOG(DEBUG) << __func__ << ": (null, " << cl << ", " << type << ")"; in res_nquerydomain()
356 LOG(DEBUG) << __func__ << ": (" << cl << ", " << type << ")"; in res_nquerydomain()
[all …]
Dres_mkquery.cpp102 int cl, int type, // class and type of query in res_nmkquery() argument
113 LOG(DEBUG) << __func__ << ": (" << _res_opcodes[op] << ", " << p_class(cl) << ", " in res_nmkquery()
145 *reinterpret_cast<uint16_t*>(cp) = htons(cl); in res_nmkquery()
158 *reinterpret_cast<uint16_t*>(cp) = htons(cl); in res_nmkquery()
175 *reinterpret_cast<uint16_t*>(cp) = htons(cl); in res_nmkquery()
Dres_debug.cpp463 const char* p_class(int cl) { in p_class() argument
468 result = sym_ntos(p_class_syms, cl, &success); in p_class()
470 if (cl < 0 || cl > 0xffff) return ("BADCLASS"); in p_class()
471 snprintf(classbuf, sizeof(classbuf), "CLASS%d", cl); in p_class()
Dgetaddrinfo.cpp923 int cl = ntohs(*reinterpret_cast<const uint16_t*>(cp)); in getanswer() local
928 if (cl != C_IN) { in getanswer()
1617 const int cl = t->qclass; in doQuery() local
1621 LOG(DEBUG) << __func__ << ": (" << cl << ", " << type << ")"; in doQuery()
1625 int n = res_nmkquery(QUERY, name, cl, type, /*data=*/nullptr, /*datalen=*/0, buf, sizeof(buf), in doQuery()
1655 n = res_nmkquery(QUERY, name, cl, type, /*data=*/nullptr, /*datalen=*/0, buf, in doQuery()
1749 int cl = t->qclass; in res_queryN() local
1753 LOG(DEBUG) << __func__ << ": (" << cl << ", " << type << ")"; in res_queryN()
1755 n = res_nmkquery(QUERY, name, cl, type, /*data=*/nullptr, /*datalen=*/0, buf, sizeof(buf), in res_queryN()
Dres_debug.h28 const char* p_class(int cl);
Dresolv_private.h144 int res_nmkquery(int op, const char* qname, int cl, int type, const uint8_t* data, int datalen,
Dgethnamaddr.cpp207 int cl = ntohs(*reinterpret_cast<const uint16_t*>(cp)); in getanswer() local
213 if (cl != C_IN) { in getanswer()
Dres_send.cpp349 int res_nameinquery(const char* name, int type, int cl, const uint8_t* buf, const uint8_t* eom) { in res_nameinquery() argument
363 if (ttype == type && tclass == cl && ns_samename(tname, name) == 1) return (1); in res_nameinquery()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DMediaScannerTest.java135 try (Cursor cl = legacyContext.getContentResolver().query(uri, null, null, null); in testCorrectness() argument
139 assertEquals(cl.getCount(), cm.getCount()); in testCorrectness()
141 while (cl.moveToNext() && cm.moveToNext()) { in testCorrectness()
142 for (int i = 0; i < cl.getColumnCount(); i++) { in testCorrectness()
143 final String columnName = cl.getColumnName(i); in testCorrectness()
148 assertEquals(cl.getColumnName(i), cm.getColumnName(i)); in testCorrectness()
151 cl.getType(i), cm.getType(i)); in testCorrectness()
154 cl.getString(i), cm.getString(i)); in testCorrectness()
159 DatabaseUtils.dumpCursor(cl); in testCorrectness()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DTestInstrumentationRunner.java57 public Activity newActivity(ClassLoader cl, String className, Intent intent) in newActivity() argument
61 return callback.createActivity(cl, className, intent); in newActivity()
63 return super.newActivity(cl, className, intent); in newActivity()
68 public Application newApplication(ClassLoader cl, String className, Context context) in newApplication() argument
70 Application app = super.newApplication(cl, className, context); in newApplication()
103 Activity createActivity(ClassLoader cl, String className, Intent intent) in createActivity() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java333 CellLayout cl = (CellLayout) getChildAt(0); in estimateItemSize() local
336 Rect r = estimateItemPosition(cl, 0, 0, itemInfo.spanX, itemInfo.spanY); in estimateItemSize()
363 public Rect estimateItemPosition(CellLayout cl, int hCell, int vCell, int hSpan, int vSpan) { in estimateItemPosition() argument
365 cl.cellToRect(hCell, vCell, hSpan, vSpan, r); in estimateItemPosition()
482 CellLayout cl = ((CellLayout) child); in onViewAdded() local
483 cl.setOnInterceptTouchListener(this); in onViewAdded()
484 cl.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO); in onViewAdded()
593 CellLayout cl = (CellLayout) mDragSourceInternal.getParent(); in addExtraEmptyScreenOnDrag() local
594 if (indexOfChild(cl) == getChildCount() - 1) { in addExtraEmptyScreenOnDrag()
687 final CellLayout cl = mWorkspaceScreens.get(EXTRA_EMPTY_SCREEN_ID); in fadeAndRemoveEmptyScreen() local
[all …]
DWorkspaceStateTransitionAnimation.java148 public void applyChildState(LauncherState state, CellLayout cl, int childIndex) { in applyChildState() argument
149 applyChildState(state, cl, childIndex, state.getWorkspacePageAlphaProvider(mLauncher), in applyChildState()
153 private void applyChildState(LauncherState state, CellLayout cl, int childIndex, in applyChildState() argument
160 propertySetter.setInt(cl.getScrimBackground(), in applyChildState()
166 propertySetter.setFloat(cl.getShortcutsAndWidgets(), View.ALPHA, in applyChildState()
DLauncherAppState.java182 try (ContentProviderClient cl = context.getContentResolver() in getLocalProvider() argument
184 return (LauncherProvider) cl.getLocalContentProvider(); in getLocalProvider()
DLauncher.java2082 CellLayout cl = mWorkspace.getScreenWithId(item.screenId); in bindItems() local
2083 if (cl != null && cl.isOccupied(item.cellX, item.cellY)) { in bindItems()
2084 View v = cl.getChildAt(item.cellX, item.cellY); in bindItems()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorGridDialog.java35 public ColorGridDialog(Context context, final RGBListener cl) { in ColorGridDialog() argument
37 mCallback = cl; in ColorGridDialog()
87 ColorListener cl = new ColorListener() { in showColorPicker() local
99 ColorPickerDialog cpd = new ColorPickerDialog(this.getContext(), cl); in showColorPicker()
DColorPickerDialog.java46 public ColorPickerDialog(Context context, final ColorListener cl) { in ColorPickerDialog() argument
70 cl.setColor(mHSVO); in ColorPickerDialog()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java47 public void setAlarm(CellLayout cl) { in setAlarm() argument
49 mAlarm.setAlarm((cl == null) ? ENTER_SPRING_LOAD_CANCEL_HOVER_TIME : in setAlarm()
51 mScreen = cl; in setAlarm()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java248 CellLayout cl = (CellLayout) getParent().getParent(); in onDragEnter() local
250 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); in onDragEnter()
656 CellLayout cl = (CellLayout) getParent().getParent(); in clearLeaveBehindIfExists() local
657 cl.clearFolderLeaveBehind(); in clearLeaveBehindIfExists()
666 CellLayout cl = (CellLayout) getParent().getParent(); in drawLeaveBehindIfExists() local
667 cl.setFolderLeaveBehindCell(lp.cellX, lp.cellY); in drawLeaveBehindIfExists()
DPreviewBackground.java388 public void animateToAccept(CellLayout cl, int cellX, int cellY) { in animateToAccept() argument
390 () -> delegateDrawing(cl, cellX, cellY), null); in animateToAccept()
397 CellLayout cl = mDrawingDelegate; in animateToRest() local
400 animateScale(1f, 1f, () -> delegateDrawing(cl, cellX, cellY), this::clearDrawingDelegate); in animateToRest()
/packages/apps/Car/libs/car-ui-lib/
DREADME.md23 2. On Google3, run './update.sh review <cl>' (with <cl> being your Gerrit CL #) and test your chang…
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCommonControllerOverlay.java296 int cl = (r - l - cw) / 2; in layoutCenteredView() local
298 view.layout(cl, ct, cl + cw, ct + ch); in layoutCenteredView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DColorChooser.java162 ColorListener cl = new ColorListener() { in showColorPicker() local
171 ColorPickerDialog cpd = new ColorPickerDialog(mContext, cl); in showColorPicker()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DParametricEditor.java89 static Constructor getConstructor(Class cl) { in getConstructor() argument
91 return cl.getConstructor(Context.class, ViewGroup.class); in getConstructor()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DManagedProfileTest.java68 (cl, className, intent) -> new TestPreProvisioningActivity(mResultListener)); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java3830 String cl = c.getString(c.getColumnIndex(Mms.Part.CONTENT_LOCATION)); in extractMmsParts() local
3837 + "\n fd : " + fd + "\n cid : " + cid + "\n cl : " + cl in extractMmsParts()
3845 part.mContentLocation = cl; in extractMmsParts()

12