/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResourceUtils.java | 13 static int fix_package_id(int resid, int package_id) { in fix_package_id() argument 14 return (resid & 0x00ffffff) | (package_id << 24); in fix_package_id() 17 static int get_package_id(int resid) { in get_package_id() argument 19 return resid >>> 24; in get_package_id() 23 static int get_type_id(int resid) { in get_type_id() argument 25 return (resid & 0x00FF0000) >>> 16; in get_type_id() 28 static int get_entry_id(int resid) { in get_entry_id() argument 30 return (short) (resid & 0x0000FFFF); in get_entry_id() 33 static boolean is_internal_resid(int resid) { in is_internal_resid() argument 34 return (resid & 0xffff0000) != 0 && (resid & 0x00ff0000) == 0; in is_internal_resid() [all …]
|
D | CppAssetManager2.java | 615 private ApkAssetsCookie FindEntry(int resid, short density_override, in FindEntry() argument 631 if (!is_valid_resid(resid)) { in FindEntry() 632 System.err.println(String.format("Invalid ID 0x%08x.", resid)); in FindEntry() 636 final int package_id = get_package_id(resid); in FindEntry() 637 final int type_idx = (byte) (get_type_id(resid) - 1); in FindEntry() 638 final int entry_idx = get_entry_id(resid); in FindEntry() 642 … System.err.println(String.format("No package ID %02x found for ID 0x%08x.", package_id, resid)); in FindEntry() 774 public boolean GetResourceName(int resid, ResourceName out_name) { in GetResourceName() argument 777 … FindEntry(resid, (short) 0 /* density_override */, true /* stop_at_first_match */, entryRef); in GetResourceName() 783 apk_assets_.get(cookie.intValue()).GetLoadedArsc().GetPackageById(get_package_id(resid)); in GetResourceName() [all …]
|
D | AttributeResolution.java | 142 int resid = 0; in ResolveAttrs() local 144 Ref<Integer> residRef = new Ref<>(resid); in ResolveAttrs() 152 resid = residRef.get(); in ResolveAttrs() 172 resid = residRef.get(); in ResolveAttrs() 206 outValues[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs() 355 Ref<Integer> resid = new Ref<>(0); in ApplyStyle() local 359 resid, typeSetFlags, config); in ApplyStyle() 374 newBlock = res.resolveReference(value, newBlock, resid, typeSetFlags, config); in ApplyStyle() 405 outValues[destIndex + STYLE_RESOURCE_ID] = resid.get(); in ApplyStyle() 478 Ref<Integer> resid = new Ref<>(0); in RetrieveAttributes() local [all …]
|
D | AttributeResolution9.java | 164 int resid = 0; in ResolveAttrs() local 166 final Ref<Integer> residRef = new Ref<>(resid); in ResolveAttrs() 197 resid = residRef.get(); in ResolveAttrs() 219 out_values[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs() 364 final Ref<Integer> resid = new Ref<>(0); in ApplyStyle() local 368 theme.ResolveAttributeReference(cookie, value, config, type_set_flags, resid); in ApplyStyle() 384 assetmanager.ResolveReference(new_cookie, value, config, type_set_flags, resid); in ApplyStyle() 414 out_values[destIndex + STYLE_RESOURCE_ID] = resid.get(); in ApplyStyle() 480 final Ref<Integer> resid = new Ref<>(0); in RetrieveAttributes() local 484 assetmanager.ResolveReference(cookie, value, config, type_set_flags, resid); in RetrieveAttributes() [all …]
|
D | AttributeResolution10.java | 168 int resid = 0; in ResolveAttrs() local 170 final Ref<Integer> residRef = new Ref<>(resid); in ResolveAttrs() 201 resid = residRef.get(); in ResolveAttrs() 223 out_values[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs() 373 final Ref<Integer> resid = new Ref<>(0); in ApplyStyle() local 377 … theme.ResolveAttributeReference(cookie, value, config, type_set_flags, resid); in ApplyStyle() 393 … assetmanager.ResolveReference(new_cookie, value, config, type_set_flags, resid); in ApplyStyle() 423 out_values[destIndex + STYLE_RESOURCE_ID] = resid.get(); in ApplyStyle() 490 final Ref<Integer> resid = new Ref<>(0); in RetrieveAttributes() local 494 assetmanager.ResolveReference(cookie, value, config, type_set_flags, resid); in RetrieveAttributes() [all …]
|
/external/strace/tests-mx32/ |
D | ioctl_sg_io_v3.c | 107 sg_io->resid, in main() 150 sg_io->resid, in main() 215 sg_io->resid, in main() 220 sg_io->resid = sg_io->dxfer_len + 1; in main() 265 sg_io->resid, in main() 272 sg_io->resid = 1; in main() 273 sg_io->dxferp = (void *) efault - (sg_io->dxfer_len - sg_io->resid); in main() 314 sg_io->resid, in main() 320 sg_io->resid = 1; in main() 363 sg_io->resid, in main() [all …]
|
/external/strace/tests/ |
D | ioctl_sg_io_v3.c | 107 sg_io->resid, in main() 150 sg_io->resid, in main() 215 sg_io->resid, in main() 220 sg_io->resid = sg_io->dxfer_len + 1; in main() 265 sg_io->resid, in main() 272 sg_io->resid = 1; in main() 273 sg_io->dxferp = (void *) efault - (sg_io->dxfer_len - sg_io->resid); in main() 314 sg_io->resid, in main() 320 sg_io->resid = 1; in main() 363 sg_io->resid, in main() [all …]
|
/external/strace/tests-m32/ |
D | ioctl_sg_io_v3.c | 107 sg_io->resid, in main() 150 sg_io->resid, in main() 215 sg_io->resid, in main() 220 sg_io->resid = sg_io->dxfer_len + 1; in main() 265 sg_io->resid, in main() 272 sg_io->resid = 1; in main() 273 sg_io->dxferp = (void *) efault - (sg_io->dxfer_len - sg_io->resid); in main() 314 sg_io->resid, in main() 320 sg_io->resid = 1; in main() 363 sg_io->resid, in main() [all …]
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_basic2.c | 278 int res, ret, k, sense_cat, resid; in sg_ll_mode_sense6() local 306 resid = get_scsi_pt_resid(ptvp); in sg_ll_mode_sense6() 338 if (resid > 0) { in sg_ll_mode_sense6() 339 if (resid > mx_resp_len) { in sg_ll_mode_sense6() 341 cdb_name_s, resid, mx_resp_len); in sg_ll_mode_sense6() 345 memset((unsigned char *)resp + (mx_resp_len - resid), 0, resid); in sg_ll_mode_sense6() 375 int res, ret, k, sense_cat, resid; in sg_ll_mode_sense10_v2() local 407 resid = get_scsi_pt_resid(ptvp); in sg_ll_mode_sense10_v2() 409 *residp = resid; in sg_ll_mode_sense10_v2() 441 if (resid > 0) { in sg_ll_mode_sense10_v2() [all …]
|
D | sg_cmds_basic.c | 119 sg_cmds_process_helper(const char * leadin, int mx_di_len, int resid, in sg_cmds_process_helper() argument 162 if ((mx_di_len > 0) && (resid > 0)) { in sg_cmds_process_helper() 163 got = mx_di_len - resid; in sg_cmds_process_helper() 190 int got, cat, duration, slen, resid, resp_code, sstat; in sg_cmds_process_resp() local 224 resid = (mx_di_len > 0) ? get_scsi_pt_resid(ptvp) : 0; in sg_cmds_process_resp() 242 got = mx_di_len - resid; in sg_cmds_process_resp() 243 if ((verbose > 1) && (resid != 0)) in sg_cmds_process_resp() 288 return sg_cmds_process_helper(leadin, mx_di_len, resid, sbp, slen, in sg_cmds_process_resp() 302 return sg_cmds_process_helper(leadin, mx_di_len, resid, sbp, in sg_cmds_process_resp() 341 int res, ret, k, sense_cat, resid; in sg_ll_inquiry_com() local [all …]
|
/external/python/cpython2/Mac/Demo/PICTbrowse/ |
D | PICTbrowse.py | 46 def showPICT(self, resid): argument 48 w.open(resid) 65 def open(self, (resid, resname)): argument 67 resname = '#%r' % (resid,) 68 self.resid = resid 69 picture = Qd.GetPicture(self.resid) 130 for resid in selection: 131 self.parent.showPICT(resid)
|
D | PICTbrowse2.py | 50 def showPICT(self, resid): argument 52 w.open(resid) 69 def open(self, (resid, resname)): argument 71 resname = '#%r' % (resid,) 72 self.resid = resid 73 self.picture = Qd.GetPicture(self.resid) 152 for resid in selection: 153 self.parent.showPICT(resid)
|
D | oldPICTbrowse.py | 45 def showPICT(self, resid): argument 47 w.open(resid) 64 def open(self, (resid, resname)): argument 66 resname = '#%r' % (resid,) 67 self.resid = resid 68 picture = Qd.GetPicture(self.resid) 137 for resid in selection: 138 self.parent.showPICT(resid)
|
D | cicnbrowse.py | 50 def showCIcon(self, resid): argument 52 w.open(resid) 69 def open(self, (resid, resname)): argument 71 resname = '#%r' % (resid,) 72 self.resid = resid 73 self.picture = Icn.GetCIcon(self.resid) 151 for resid in selection: 152 self.parent.showCIcon(resid)
|
D | ICONbrowse.py | 50 def showICON(self, resid): argument 52 w.open(resid) 69 def open(self, (resid, resname)): argument 71 resname = '#%r' % (resid,) 72 self.resid = resid 73 self.picture = Icn.GetIcon(self.resid) 151 for resid in selection: 152 self.parent.showICON(resid)
|
/external/python/cpython2/Lib/plat-mac/ |
D | macresource.py | 15 def need(restype, resid, filename=None, modname=None): argument 27 if type(resid) is type(1): 29 h = Res.GetResource(restype, resid) 36 h = Res.GetNamedResource(restype, resid) 71 if type(resid) is type(1): 72 h = Res.GetResource(restype, resid) 74 h = Res.GetNamedResource(restype, resid)
|
/external/eigen/unsupported/Eigen/src/Eigenvalues/ |
D | ArpackSelfAdjointEigenSolver.h | 427 Scalar *resid = new Scalar[n]; in compute() local 509 internal::arpack_wrapper<Scalar, RealScalar>::saupd(&ido, bmat, &n, whch, &nev, &tol, resid, in compute() 603 … &sigma, bmat, &n, whch, &nev, &tol, resid, &ncv, in compute() 639 delete[] resid; in compute() 650 int *nev, float *tol, float *resid, int *ncv, 658 float *tol, float *resid, int *ncv, float *v, 665 int *nev, double *tol, double *resid, int *ncv, 673 double *tol, double *resid, int *ncv, double *v, 683 int *nev, RealScalar *tol, Scalar *resid, int *ncv, in saupd() 693 RealScalar *tol, Scalar *resid, int *ncv, Scalar *v, in seupd() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager10.java | 840 protected static int nativeGetResourceValue(long ptr, @AnyRes int resid, short density, in nativeGetResourceValue() argument 847 assetmanager.GetResource(resid, false /*may_be_bag*/, in nativeGetResourceValue() 853 final Ref<Integer> ref = new Ref<>(resid); in nativeGetResourceValue() 866 protected static int nativeGetResourceBagValue(long ptr, @AnyRes int resid, int bag_entry_id, in nativeGetResourceBagValue() argument 869 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceBagValue() 891 final Ref<Integer> ref = new Ref<>(resid); in nativeGetResourceBagValue() 903 @StyleRes int resid) { in nativeGetStyleAttributes() argument 905 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetStyleAttributes() 927 @ArrayRes int resid) { in nativeGetResourceStringArray() argument 929 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceStringArray() [all …]
|
D | ShadowArscAssetManager9.java | 836 protected static int nativeGetResourceValue(long ptr, @AnyRes int resid, short density, in nativeGetResourceValue() argument 843 assetmanager.GetResource(resid, false /*may_be_bag*/, in nativeGetResourceValue() 849 final Ref<Integer> ref = new Ref<>(resid); in nativeGetResourceValue() 862 protected static int nativeGetResourceBagValue(long ptr, @AnyRes int resid, int bag_entry_id, in nativeGetResourceBagValue() argument 865 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceBagValue() 887 final Ref<Integer> ref = new Ref<>(resid); in nativeGetResourceBagValue() 899 @StyleRes int resid) { in nativeGetStyleAttributes() argument 901 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetStyleAttributes() 923 @ArrayRes int resid) { in nativeGetResourceStringArray() argument 925 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceStringArray() [all …]
|
D | ShadowTextView.java | 65 protected void setTextAppearance(Context context, int resid) { in setTextAppearance() argument 66 textAppearanceId = resid; in setTextAppearance() 67 directlyOn(realTextView, TextView.class).setTextAppearance(context, resid); in setTextAppearance()
|
D | ShadowArscAssetManager.java | 200 protected String getResourceName(int resid) { in getResourceName() argument 204 if (!am.getResources().getResourceName(resid, true, name)) { in getResourceName() 230 protected String getResourcePackageName(int resid) { in getResourcePackageName() argument 234 if (!cppAssetManager.getResources().getResourceName(resid, true, name)) { in getResourcePackageName() 242 protected String getResourceTypeName(int resid) { in getResourceTypeName() argument 246 if (!cppAssetManager.getResources().getResourceName(resid, true, name)) { in getResourceTypeName() 254 protected String getResourceEntryName(int resid) { in getResourceEntryName() argument 258 if (!cppAssetManager.getResources().getResourceName(resid, true, name)) { in getResourceEntryName() 908 final Ref<Integer> resid = new Ref<>(0); in retrieveArray() local 913 int newBlock = res.resolveReference(resValueRef, block, resid, in retrieveArray() [all …]
|
/external/strace/ |
D | sg_io_v3.c | 133 if (sg_io.resid > 0 && (unsigned int) sg_io.resid <= din_len) in decode_response() 134 din_len -= sg_io.resid; in decode_response() 154 PRINT_FIELD_D(", ", sg_io, resid); in decode_response()
|
/external/python/cpython2/Lib/ |
D | plistlib.py | 114 def readPlistFromResource(path, restype='plst', resid=0): argument 125 plistData = Res.Get1Resource(restype, resid).data 130 def writePlistToResource(rootObject, path, restype='plst', resid=0): argument 142 Res.Get1Resource(restype, resid).RemoveResource() 146 res.AddResource(restype, resid, '')
|
/external/tensorflow/tensorflow/contrib/factorization/python/ops/ |
D | factorization_ops_test_utils.py | 143 resid = sparse_ops.sparse_add(input_mat, sp_approx * (-1)) 144 resid_sq = math_ops.square(resid)
|
/external/python/cpython2/Mac/Modules/ |
D | MacOS.c | 506 int resid = -1; in MacOS_splash() local 515 if (!PyArg_ParseTuple(args, "|i", &resid)) in MacOS_splash() 520 if ( resid != -1 ) { in MacOS_splash() 521 curdialog = GetNewDialog(resid, NULL, (WindowPtr)-1); in MacOS_splash()
|