/development/ndk/platforms/android-9/include/sys/ |
D | time.h | 51 #define timercmp(a, b, op) \ argument 52 ((a)->tv_sec == (b)->tv_sec \ 53 ? (a)->tv_usec op (b)->tv_usec \ 54 : (a)->tv_sec op (b)->tv_sec) 56 #define timeradd(a, b, res) \ argument 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 66 #define timersub(a, b, res) \ argument 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
|
/development/ndk/platforms/android-21/include/sys/ |
D | time.h | 51 #define timercmp(a, b, op) \ argument 52 ((a)->tv_sec == (b)->tv_sec \ 53 ? (a)->tv_usec op (b)->tv_usec \ 54 : (a)->tv_sec op (b)->tv_sec) 56 #define timeradd(a, b, res) \ argument 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 66 #define timersub(a, b, res) \ argument 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
|
D | param.h | 45 #define MIN(a,b) (((a)<(b))?(a):(b)) argument 46 #define MAX(a,b) (((a)>(b))?(a):(b)) argument
|
/development/ndk/platforms/android-21/include/linux/ |
D | uuid.h | 25 __u8 b[16]; member 29 __u8 b[16]; member 31 …E(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_le) {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> … argument 32 …, b, c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_be) {{ ((a) >> 24) & 0xff, ((a) >> 16) & 0xff, ((… argument
|
D | version.h | 20 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) argument
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | LevelsDalvikActivity.java | 170 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap() local 171 Bitmap b2 = Bitmap.createBitmap(b.getWidth(), b.getHeight(), b.getConfig()); in loadBitmap() 173 c.drawBitmap(b, 0, 0, null); in loadBitmap() 174 b.recycle(); in loadBitmap() 186 float b = (float)((mInPixels[i] >> 16) & 0xff); in filter() local 188 float tr = r * m[0] + g * m[3] + b * m[6]; in filter() 189 float tg = r * m[1] + g * m[4] + b * m[7]; in filter() 190 float tb = r * m[2] + g * m[5] + b * m[8]; in filter() 193 b = tb; in filter() 199 if (b < 0.f) b = 0.f; in filter() [all …]
|
/development/ndk/platforms/android-21/include/ |
D | strings.h | 49 #define bzero(b, len) \ argument 50 (void)(__builtin___memset_chk((b), '\0', (len), __bos0(b))) 53 #define bzero(b, len) (void)(__builtin_memset((b), '\0', (len)))
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapPixels.java | 53 private static int pack8888(int r, int g, int b, int a) { in pack8888() argument 54 return (r << 0) | ( g << 8) | (b << 16) | (a << 24); in pack8888() 57 private static short pack565(int r, int g, int b) { in pack565() argument 58 return (short)((r << 11) | ( g << 5) | (b << 0)); in pack565() 61 private static short pack4444(int r, int g, int b, int a) { in pack4444() argument 62 return (short)((a << 0) | ( b << 4) | (g << 8) | (r << 12)); in pack4444() 76 int b = Color.blue(c); in premultiplyColor() local 81 b = mul255(b, a); in premultiplyColor() 83 return pack8888(r, g, b, a); in premultiplyColor() 91 int b = getB32(from) << 23; in makeRamp() local [all …]
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | ShortcutHelper.java | 141 final ShortcutInfo.Builder b = new ShortcutInfo.Builder( in refreshShortcuts() local 144 setSiteInformation(b, shortcut.getIntent().getData()); in refreshShortcuts() 145 setExtras(b); in refreshShortcuts() 147 updateList.add(b.build()); in refreshShortcuts() 162 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mContext, urlAsString); in createShortcutForUrl() local 165 b.setIntent(new Intent(Intent.ACTION_VIEW, uri)); in createShortcutForUrl() 167 setSiteInformation(b, uri); in createShortcutForUrl() 168 setExtras(b); in createShortcutForUrl() 170 return b.build(); in createShortcutForUrl() 173 private ShortcutInfo.Builder setSiteInformation(ShortcutInfo.Builder b, Uri uri) { in setSiteInformation() argument [all …]
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | byteorder.h | 40 struct { __u32 a,b; } s; in ___arch__swab64() member 46 v.s.b = ___arch__swab32(v.s.b); in ___arch__swab64() 47 __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); in ___arch__swab64()
|
D | desc_32.h | 64 #define write_ldt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument 65 #define write_gdt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument 66 #define write_idt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument
|
/development/ndk/platforms/android-9/include/linux/ |
D | jiffies.h | 64 #define time_after(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((long… argument 65 #define time_before(a,b) time_after(b,a) argument 66 #define time_after_eq(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((l… argument 67 #define time_before_eq(a,b) time_after_eq(b,a) argument
|
D | version.h | 13 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) argument
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | ShortcutHelper.java | 143 final ShortcutInfo.Builder b = new ShortcutInfo.Builder( in refreshShortcuts() local 146 setSiteInformation(b, shortcut.getIntent().getData()); in refreshShortcuts() 147 setExtras(b); in refreshShortcuts() 149 updateList.add(b.build()); in refreshShortcuts() 165 final ShortcutInfo.Builder b = new ShortcutInfo.Builder(mContext, urlAsString); in createShortcutForUrl() local 168 b.setIntent(new Intent(Intent.ACTION_VIEW, uri)); in createShortcutForUrl() 170 setSiteInformation(b, uri); in createShortcutForUrl() 171 setExtras(b); in createShortcutForUrl() 173 return b.build(); in createShortcutForUrl() 176 private ShortcutInfo.Builder setSiteInformation(ShortcutInfo.Builder b, Uri uri) { in setSiteInformation() argument [all …]
|
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/ |
D | InsecureSHA1PRNGKeyDerivator.java | 440 int b = arrW[HASH_OFFSET +1]; 464 ( ( b & c) | ((~b) & d) ) + 468 c = ( b<<30 ) | ( b>>>2 ) ; 469 b = a; 474 temp = ((( a<<5 ) | ( a>>>27 ))) + (b ^ c ^ d) + (e + arrW[t] + 0x6ED9EBA1) ; 477 c = ( b<<30 ) | ( b>>>2 ) ; 478 b = a; 483 temp = (( a<<5 ) | ( a>>>27 )) + ((b & c) | (b & d) | (c & d)) + 487 c = ( b<<30 ) | ( b>>>2 ) ; 488 b = a; [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ShareContent.java | 44 Uri.Builder b = new Uri.Builder(); in onCreate() 45 b.scheme("content"); in onCreate() 46 b.authority("com.example.android.apis.content.FileProvider"); in onCreate() 49 b.appendEncodedPath(Integer.toString(tv.assetCookie)); in onCreate() 50 b.appendEncodedPath(tv.string.toString()); in onCreate() 51 Uri uri = b.build(); in onCreate()
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameView.java | 355 Bundle b = new Bundle(); 358 b.putParcelable("gv_super_state", s); 360 b.putBoolean("gv_en", isEnabled()); 366 b.putIntArray("gv_data", data); 368 b.putInt("gv_sel_cell", mSelectedCell); 369 b.putInt("gv_sel_val", mSelectedValue.getValue()); 370 b.putInt("gv_curr_play", mCurrentPlayer.getValue()); 371 b.putInt("gv_winner", mWinner.getValue()); 373 b.putInt("gv_win_col", mWinCol); 374 b.putInt("gv_win_row", mWinRow); [all …]
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | ShortcutListFragment.java | 52 final Bundle b = new Bundle(); in setArguments() local 53 b.putString(ARG_TARGET_PACKAGE, targetPackage); in setArguments() 54 b.putParcelable(ARG_TARGET_ACTIVITY, targetActivity); in setArguments() 55 b.putBoolean(ARG_INCLUDE_DYNAMIC, includeDynamic); in setArguments() 56 b.putBoolean(ARG_INCLUDE_MANIFEST, includeManifest); in setArguments() 57 b.putBoolean(ARG_INCLUDE_PINNED, includePinned); in setArguments() 58 b.putParcelable(ARG_USER, user); in setArguments() 59 b.putBoolean(ARG_SHOW_DETAILS, showDetails); in setArguments() 61 setArguments(b); in setArguments() 157 final Bundle b = getArguments(); in refreshList() local [all …]
|
/development/samples/browseable/HdrViewfinder/src/rs/ |
D | hdr_merge.rs | 34 curPixel.b = rsGetElementAtYuv_uchar_V(gCurrentFrame, x, y); 66 mergedPixel.b * 1436 / 1024 - 179; 69 mergedPixel.b * 93604 / 131072 + 91; 70 rgb.b = mergedPixel.r +
|
/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/ |
D | CheckableLinearLayout.java | 47 public void setChecked(boolean b) { in setChecked() argument 48 if (b != mChecked) { in setChecked() 49 mChecked = b; in setChecked()
|
/development/ndk/platforms/android-9/include/linux/netfilter/ |
D | x_tables.h | 105 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) argument 106 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) argument
|
/development/ndk/platforms/android-9/include/ |
D | strings.h | 47 #define bzero(b, len) (void)(__builtin_memset((b), '\0', (len))) argument
|
/development/cmds/monkey/ |
D | example_script.txt | 29 key down b 30 key up b 43 key down b 44 key up b
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncUtils.java | 90 Bundle b = new Bundle(); in TriggerRefresh() local 92 b.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in TriggerRefresh() 93 b.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in TriggerRefresh() 97 b); // Extras in TriggerRefresh() local
|
/development/samples/ApiDemos/src/com/example/android/apis/hardware/ |
D | ConsumerIr.java | 103 StringBuilder b = new StringBuilder(); 113 b.append("IR Carrier Frequencies:\n"); 115 b.append(String.format(" %d - %d\n", range.getMinFrequency(), 118 mFreqsText.setText(b.toString());
|