HomeSort by relevance Sort by last modified time
    Searched refs:bw (Results 1 - 25 of 44) sorted by null

1 2

  /libcore/luni/src/test/java/tests/api/java/io/
BufferedWriterTest.java 32 BufferedWriter bw; field in class:BufferedWriterTest
49 bw = new BufferedWriter(sw);
51 bw.write("Hi", 0, 2);
53 bw.flush();
70 bw = new BufferedWriter(sw, 0);
76 bw = new BufferedWriter(sw, 10);
78 bw.write("Hi", 0, 2);
80 bw.flush();
98 bw.close();
99 bw.write(testString)
    [all...]
FileReaderTest.java 36 BufferedWriter bw; field in class:FileReaderTest
53 bw = new BufferedWriter(new FileWriter(f.getPath()));
54 bw.write(" After test string", 0, 18);
55 bw.close();
87 bw = new BufferedWriter(new FileWriter(f.getPath()));
88 bw.write(" After test string", 0, 18);
89 bw.close();
114 bw = new BufferedWriter(new FileWriter(f.getPath()));
115 bw.write(" After test string", 0, 18);
116 bw.close()
    [all...]
FileWriterTest.java 41 BufferedWriter bw; field in class:FileWriterTest
63 bw = new BufferedWriter(new FileWriter(f));
64 bw.write(" After test string", 0, 18);
65 bw.close();
210 bw = new BufferedWriter(new FileWriter(f.getPath()));
211 bw.write(" After test string", 0, 18);
212 bw.close();
257 bw = new BufferedWriter(new FileWriter(f.getPath(), true));
258 bw.write(" After test string", 0, 18);
259 bw.close()
    [all...]
  /external/e2fsprogs/debugfs/
icheck.c 40 struct block_walk_struct *bw = (struct block_walk_struct *) private; variable in typeref:struct:block_walk_struct
43 for (i=0; i < bw->num_blocks; i++) {
44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) {
45 bw->barray[i].ino = bw->inode;
46 bw->blocks_left--;
49 if (!bw->blocks_left)
57 struct block_walk_struct bw; local
73 bw.barray = malloc(sizeof(struct block_info) * argc)
    [all...]
  /hardware/broadcom/wlan/bcm4329/src/shared/
bcmwifi.c 54 const char *band, *bw, *sb; local
58 bw = "";
74 bw = "n";
78 snprintf(buf, 6, "%d%s%s%s", channel, band, bw, sb);
87 uint channel, band, bw, ctl_sb; local
100 bw = WL_CHANSPEC_BW_20;
120 bw = WL_CHANSPEC_BW_10;
122 bw = WL_CHANSPEC_BW_40;
130 bw = WL_CHANSPEC_BW_40;
142 return (channel | band | bw | ctl_sb)
    [all...]
  /bionic/libc/kernel/arch-x86/asm/
io_32.h 25 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); }
26 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type value = in##bwl##_local(port); slow_down_io(); return value; } __BUILDIO(bwl,bw,type) static inline void out##bwl##_p(unsigned type value, int port) { out##bwl(value, port); slow_down_io(); } static inline unsigned type in##bwl##_p(int port) { unsigned type value = in##bwl(port); slow_down_io(); return value; } static inline void outs##bwl(int port, const void *addr, unsigned long count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } static inline void ins##bwl(int port, void *addr, unsigned long count) { __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port)); }
  /development/ndk/platforms/android-5/arch-x86/include/asm/
io_32.h 25 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); }
26 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type value = in##bwl##_local(port); slow_down_io(); return value; } __BUILDIO(bwl,bw,type) static inline void out##bwl##_p(unsigned type value, int port) { out##bwl(value, port); slow_down_io(); } static inline unsigned type in##bwl##_p(int port) { unsigned type value = in##bwl(port); slow_down_io(); return value; } static inline void outs##bwl(int port, const void *addr, unsigned long count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } static inline void ins##bwl(int port, void *addr, unsigned long count) { __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port)); }
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/
io_32.h 25 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); }
26 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type value = in##bwl##_local(port); slow_down_io(); return value; } __BUILDIO(bwl,bw,type) static inline void out##bwl##_p(unsigned type value, int port) { out##bwl(value, port); slow_down_io(); } static inline unsigned type in##bwl##_p(int port) { unsigned type value = in##bwl(port); slow_down_io(); return value; } static inline void outs##bwl(int port, const void *addr, unsigned long count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } static inline void ins##bwl(int port, void *addr, unsigned long count) { __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port)); }
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/
io_32.h 25 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); }
26 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type value = in##bwl##_local(port); slow_down_io(); return value; } __BUILDIO(bwl,bw,type) static inline void out##bwl##_p(unsigned type value, int port) { out##bwl(value, port); slow_down_io(); } static inline unsigned type in##bwl##_p(int port) { unsigned type value = in##bwl(port); slow_down_io(); return value; } static inline void outs##bwl(int port, const void *addr, unsigned long count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } static inline void ins##bwl(int port, void *addr, unsigned long count) { __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port)); }
  /external/genext2fs/
genext2fs.c 958 init_bw(blockwalker *bw)
960 bw->bnum = 0;
961 bw->bpdir = EXT2_INIT_BLOCK;
973 walk_bw(filesystem *fs, uint32 nod, blockwalker *bw, int32 *create, uint32 hole)
980 if(bw->bnum >= get_nod(fs, nod)->i_blocks / INOBLK)
991 if(bw->bpdir == EXT2_INIT_BLOCK)
993 bkref = &get_nod(fs, nod)->i_block[bw->bpdir = 0];
1000 else if(bw->bpdir < EXT2_NDIR_BLOCKS)
1002 bkref = &get_nod(fs, nod)->i_block[++bw->bpdir];
1009 else if(bw->bpdir == EXT2_NDIR_BLOCKS
1208 blockwalker bw, lbw; local
1250 blockwalker bw; local
1322 blockwalker bw; local
1908 blockwalker bw; local
1942 blockwalker bw; local
2161 blockwalker bw; local
2174 blockwalker bw; local
2187 blockwalker bw; local
2216 blockwalker bw; local
    [all...]
  /frameworks/base/media/libstagefright/codecs/aacdec/
sbr_generate_high_freq.cpp 707 Int32 bw; local
733 bw = BwVector[bwIndex];
742 if (bw > 0 && (alphar[0][loBand] | alphar[1][loBand]))
745 a0r = fxp_mul32_Q29(bw, alphar[0][loBand]);
747 bw = fxp_mul32_Q31(bw, bw) << 2;
749 a1r = fxp_mul32_Q28(bw, alphar[1][loBand]);
936 Int32 bw; local
958 bw = BwVector[bwIndex]
    [all...]
  /external/kernel-headers/original/asm-x86/
io_32.h 276 #define __BUILDIO(bwl,bw,type) \
296 #define __BUILDIO(bwl,bw,type) \
306 #define BUILDIO(bwl,bw,type) \
308 __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); \
312 __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); \
324 __BUILDIO(bwl,bw,type) \
  /external/skia/src/core/
SkBlitter_A8.cpp 119 static inline void blend_8_pixels(U8CPU bw, uint8_t dst[], U8CPU sa, unsigned dst_scale)
121 if (bw & 0x80) dst[0] = SkToU8(sa + SkAlphaMul(dst[0], dst_scale));
122 if (bw & 0x40) dst[1] = SkToU8(sa + SkAlphaMul(dst[1], dst_scale));
123 if (bw & 0x20) dst[2] = SkToU8(sa + SkAlphaMul(dst[2], dst_scale));
124 if (bw & 0x10) dst[3] = SkToU8(sa + SkAlphaMul(dst[3], dst_scale));
125 if (bw & 0x08) dst[4] = SkToU8(sa + SkAlphaMul(dst[4], dst_scale));
126 if (bw & 0x04) dst[5] = SkToU8(sa + SkAlphaMul(dst[5], dst_scale));
127 if (bw & 0x02) dst[6] = SkToU8(sa + SkAlphaMul(dst[6], dst_scale));
128 if (bw & 0x01) dst[7] = SkToU8(sa + SkAlphaMul(dst[7], dst_scale));
SkBlitter_RGB16.cpp 616 static inline void blend_8_pixels(U8CPU bw, uint16_t dst[], unsigned dst_scale,
618 if (bw & 0x80) dst[0] = srcColor + SkAlphaMulRGB16(dst[0], dst_scale);
619 if (bw & 0x40) dst[1] = srcColor + SkAlphaMulRGB16(dst[1], dst_scale);
620 if (bw & 0x20) dst[2] = srcColor + SkAlphaMulRGB16(dst[2], dst_scale);
621 if (bw & 0x10) dst[3] = srcColor + SkAlphaMulRGB16(dst[3], dst_scale);
622 if (bw & 0x08) dst[4] = srcColor + SkAlphaMulRGB16(dst[4], dst_scale);
623 if (bw & 0x04) dst[5] = srcColor + SkAlphaMulRGB16(dst[5], dst_scale);
624 if (bw & 0x02) dst[6] = srcColor + SkAlphaMulRGB16(dst[6], dst_scale);
625 if (bw & 0x01) dst[7] = srcColor + SkAlphaMulRGB16(dst[7], dst_scale);
    [all...]
  /cts/tools/dx-tests/src/dxconvext/
ClassFileParser.java 37 private BufferedWriter bw; // the writer to write the result to. field in class:ClassFileParser
106 bw = new BufferedWriter(w);
238 bw.close();
252 bw.write(getIndent(cur_indent) + msg);
253 bw.newLine();
  /frameworks/base/core/java/com/android/internal/service/wallpaper/
ImageWallpaper.java 148 final int bw = background != null ? background.getIntrinsicWidth() : 0; local
150 final int availw = dw-bw;
158 c.clipRect(0, 0, bw, bh, Op.DIFFERENCE);
  /external/tcpdump/
print-ospf.c 263 } bw; local
626 bw.i = EXTRACT_32BITS(tptr);
627 printf(", %.3f Mbps", bw.f*8/1000000 );
631 bw.i = EXTRACT_32BITS(tptr+te_class*4);
634 bw.f*8/1000000 );
643 bw.i = EXTRACT_32BITS(tptr+4+te_class*4);
646 bw.f*8/1000000 );
663 bw.i = EXTRACT_32BITS(tptr+4+(priority_level*4));
666 bw.f*8/1000000 );
680 bw.i = EXTRACT_32BITS(tptr)
    [all...]
print-lmp.c 375 } bw; local
609 bw.i = EXTRACT_32BITS(obj_tptr+offset+4);
611 bw.f*8/1000000);
612 bw.i = EXTRACT_32BITS(obj_tptr+offset+8);
614 bw.f*8/1000000);
655 bw.i = EXTRACT_32BITS(obj_tptr+12);
656 printf("\n\t Transmission Rate: %.3f Mbps",bw.f*8/1000000);
print-rsvp.c 482 } bw; local
520 bw.i = EXTRACT_32BITS(tptr+4);
521 printf("\n\t\tPath b/w estimate: %.10g Mbps", bw.f/125000);
572 bw.i = EXTRACT_32BITS(tptr+4);
573 printf("\n\t\tToken Bucket Rate: %.10g Mbps", bw.f/125000);
574 bw.i = EXTRACT_32BITS(tptr+8);
575 printf("\n\t\tToken Bucket Size: %.10g bytes", bw.f);
576 bw.i = EXTRACT_32BITS(tptr+12);
577 printf("\n\t\tPeak Data Rate: %.10g Mbps", bw.f/125000);
595 bw.i = EXTRACT_32BITS(tptr+4)
631 } bw; local
    [all...]
print-isoclns.c 1418 } bw; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_bmp.c 410 const int bw = surface->w*surface->format->BytesPerPixel; local
484 pad = ((bw%4) ? (4-(bw%4)) : 0);
487 if ( SDL_RWwrite(dst, bits, 1, bw) != bw) {
  /build/tools/droiddoc/src/
DroidDoc.java 1357 BufferedWriter bw = null; local
1391 BufferedWriter bw = null; local
    [all...]
  /cts/tools/dx-tests/src/util/
CollectAllTests.java 492 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(
494 bw.write(content);
495 bw.close();
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 404 BufferedWriter bw = new BufferedWriter(new FileWriter(FILE_WIFI_SUPPLICANT)); local
408 bw.write(temp, 0, size);
410 bw.close();
  /packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
NexusRS.java 285 final int bw = 960; // XXX: hardcoded width of background texture local
288 x = (int) (x + mWorldState.xOffset * (bw-dw));
292 // "dw=%d, bw=%d, xOffset=%g, x=%d",
293 // dw, bw, mWorldState.xOffset, x));

Completed in 602 milliseconds

1 2