/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_bsd.c | 922 struct ieee80211_bssid bs; local 924 os_strlcpy(bs.i_name, drv->ifname, sizeof(bs.i_name)); 925 if (ioctl(drv->sock, SIOCG80211BSSID, &bs) < 0) 927 os_memcpy(bssid, bs.i_bssid, sizeof(bs.i_bssid));
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_bsd.c | 922 struct ieee80211_bssid bs; local 924 os_strlcpy(bs.i_name, drv->ifname, sizeof(bs.i_name)); 925 if (ioctl(drv->sock, SIOCG80211BSSID, &bs) < 0) 927 os_memcpy(bssid, bs.i_bssid, sizeof(bs.i_bssid));
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_bsd.c | 922 struct ieee80211_bssid bs; local 924 os_strlcpy(bs.i_name, drv->ifname, sizeof(bs.i_name)); 925 if (ioctl(drv->sock, SIOCG80211BSSID, &bs) < 0) 927 os_memcpy(bssid, bs.i_bssid, sizeof(bs.i_bssid));
|
/external/tremolo/Tremolo/ |
H A D | bitwise.c | 365 ogg_buffer_state *bs; variable 392 ogg_reference *or=ogg_buffer_alloc(bs,64); 587 bs=ogg_buffer_create(); 603 or=ogg_buffer_alloc(bs,128); 740 or=orl=ogg_buffer_alloc(bs,64);
|
H A D | framing.c | 56 ogg_buffer_state *bs=_ogg_calloc(1,sizeof(*bs)); local 57 return bs; 67 static void _ogg_buffer_destroy(ogg_buffer_state *bs){ argument 71 if(bs->shutdown){ 73 bt=bs->unused_buffers; 74 rt=bs->unused_references; 82 bs->unused_buffers=0; 88 bs->unused_references=0; 90 if(!bs 96 ogg_buffer_destroy(ogg_buffer_state *bs) argument 101 _fetch_buffer(ogg_buffer_state *bs,long bytes) argument 127 _fetch_ref(ogg_buffer_state *bs) argument 148 ogg_buffer_alloc(ogg_buffer_state *bs,long bytes) argument 292 ogg_buffer_state *bs=ob->ptr.owner; local [all...] |
/external/tcpdump/ |
H A D | addrtoname.c | 354 * Find the hash node that corresponds to the bytestring 'bs' 359 lookup_bytestring(register const u_char *bs, const unsigned int nlen) argument 365 k = (bs[0] << 8) | bs[1]; 366 j = (bs[2] << 8) | bs[3]; 367 i = (bs[4] << 8) | bs[5]; 369 k = (bs[0] << 8) | bs[ [all...] |
/external/stlport/test/compiler/ |
H A D | eh.cc | 36 BigStruct *bs = all.allocate(1024*1024*1024); local
|
/external/stlport/test/unit/ |
H A D | string_test.cpp | 305 const char* bs = b.c_str(); local 307 CPPUNIT_ASSERT( a.c_str() == bs );
|
/external/strace/qemu_multiarch_testing/ |
H A D | make-hdc-img.sh | 9 dd if=/dev/zero of=hdc.img bs=1024 seek=$((HDCMEGS*1024-1)) count=1 &&
|
/external/srec/portable/src/ |
H A D | pmalloc.c | 320 psize_t bs; local 322 for (bs = _Size_block; ; bs >>= 1) 324 if (bs < size) 325 bs = size; 326 if ((q = (_Cell *)_Getmem(bs)) != 0) 328 else if (bs == size) 332 q->_Size = bs;
|
/external/skia/src/utils/ |
H A D | SkDumpCanvas.cpp | 358 SkString bs, rs; local 359 bitmap.toString(&bs); 371 bs.c_str(), rs.c_str()); 376 SkString bs, ms; local 377 bitmap.toString(&bs); 380 bs.c_str(), ms.c_str());
|
/external/smack/src/org/jivesoftware/smack/util/ |
H A D | Base32Encoder.java | 45 ByteArrayOutputStream bs = new ByteArrayOutputStream(); 51 bs.write((byte) c); 55 while (bs.size() % 8 != 0) 56 bs.write('8'); 58 byte[] in = bs.toByteArray(); 60 bs.reset(); 61 DataOutputStream ds = new DataOutputStream(bs); 99 return new String(bs.toByteArray());
|
/external/smack/src/org/xbill/DNS/utils/ |
H A D | base16.java | 47 ByteArrayOutputStream bs = new ByteArrayOutputStream(); 51 bs.write(raw[i]); 53 byte [] in = bs.toByteArray(); 58 bs.reset(); 59 DataOutputStream ds = new DataOutputStream(bs); 70 return bs.toByteArray();
|
H A D | base32.java | 149 ByteArrayOutputStream bs = new ByteArrayOutputStream(); 156 bs.write((byte) c); 161 if (bs.size() % 8 != 0) 164 while (bs.size() % 8 != 0) 165 bs.write('='); 168 byte [] in = bs.toByteArray(); 170 bs.reset(); 171 DataOutputStream ds = new DataOutputStream(bs); 210 return bs.toByteArray();
|
H A D | base64.java | 96 ByteArrayOutputStream bs = new ByteArrayOutputStream(); 100 bs.write(raw[i]); 102 byte [] in = bs.toByteArray(); 107 bs.reset(); 108 DataOutputStream ds = new DataOutputStream(bs); 142 return bs.toByteArray();
|
/external/skia/bench/ |
H A D | BlurBench.cpp | 36 BlurBench(SkScalar rad, SkBlurStyle bs, uint32_t flags = 0) { argument 38 fStyle = bs; 40 const char* name = rad > 0 ? gStyleName[bs] : "none";
|
/external/robolectric/lib/main/ |
H A D | android-support-v4.jar | META-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ... |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |
H A D | javassist-3.14.0-GA.jar | META-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/bytecode/analysis/ javassist/bytecode/annotation/ javassist/ ... |
/external/qemu/block/ |
H A D | qcow2-cluster.c | 31 int qcow2_grow_l1_table(BlockDriverState *bs, int min_size) argument 33 BDRVQcowState *s = bs->opaque; 57 BLKDBG_EVENT(bs->file, BLKDBG_L1_GROW_ALLOC_TABLE); 58 new_l1_table_offset = qcow2_alloc_clusters(bs, new_l1_size2); 64 BLKDBG_EVENT(bs->file, BLKDBG_L1_GROW_WRITE_TABLE); 67 ret = bdrv_pwrite_sync(bs->file, new_l1_table_offset, new_l1_table, new_l1_size2); 74 BLKDBG_EVENT(bs->file, BLKDBG_L1_GROW_ACTIVATE_TABLE); 77 ret = bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, l1_size), data,sizeof(data)); 82 qcow2_free_clusters(bs, s->l1_table_offset, s->l1_size * sizeof(uint64_t)); 89 qcow2_free_clusters(bs, new_l1_table_offse 93 qcow2_l2_cache_reset(BlockDriverState *bs) argument 102 l2_cache_new_entry(BlockDriverState *bs) argument 160 l2_load(BlockDriverState *bs, uint64_t l2_offset, uint64_t **l2_table) argument 197 write_l1_entry(BlockDriverState *bs, int l1_index) argument 229 l2_allocate(BlockDriverState *bs, int l1_index, uint64_t **table) argument 345 qcow_read(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors) argument 396 copy_sectors(BlockDriverState *bs, uint64_t start_sect, uint64_t cluster_offset, int n_start, int n_end) argument 440 qcow2_get_cluster_offset(BlockDriverState *bs, uint64_t offset, int *num, uint64_t *cluster_offset) argument 530 get_cluster_table(BlockDriverState *bs, uint64_t offset, uint64_t **new_l2_table, uint64_t *new_l2_offset, int *new_l2_index) argument 595 qcow2_alloc_compressed_cluster_offset(BlockDriverState *bs, uint64_t offset, int compressed_size) argument 648 write_l2_entries(BlockDriverState *bs, uint64_t *l2_table, uint64_t l2_offset, int l2_index, int num) argument 667 qcow2_alloc_cluster_link_l2(BlockDriverState *bs, QCowL2Meta *m) argument 750 qcow2_alloc_cluster_offset(BlockDriverState *bs, uint64_t offset, int n_start, int n_end, int *num, QCowL2Meta *m) argument 900 qcow2_decompress_cluster(BlockDriverState *bs, uint64_t cluster_offset) argument [all...] |
H A D | qcow2-refcount.c | 29 static int64_t alloc_clusters_noref(BlockDriverState *bs, int64_t size); 30 static int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs, 37 static int write_refcount_block(BlockDriverState *bs) argument 39 BDRVQcowState *s = bs->opaque; 46 BLKDBG_EVENT(bs->file, BLKDBG_REFBLOCK_UPDATE); 47 if (bdrv_pwrite_sync(bs->file, s->refcount_block_cache_offset, 59 int qcow2_refcount_init(BlockDriverState *bs) argument 61 BDRVQcowState *s = bs->opaque; 68 BLKDBG_EVENT(bs->file, BLKDBG_REFTABLE_LOAD); 69 ret = bdrv_pread(bs 81 qcow2_refcount_close(BlockDriverState *bs) argument 89 load_refcount_block(BlockDriverState *bs, int64_t refcount_block_offset) argument 118 get_refcount(BlockDriverState *bs, int64_t cluster_index) argument 178 alloc_refcount_block(BlockDriverState *bs, int64_t cluster_index) argument 425 write_refcount_block_entries(BlockDriverState *bs, int64_t refcount_block_offset, int first_index, int last_index) argument 458 update_refcount(BlockDriverState *bs, int64_t offset, int64_t length, int addend) argument 564 update_cluster_refcount(BlockDriverState *bs, int64_t cluster_index, int addend) argument 587 alloc_clusters_noref(BlockDriverState *bs, int64_t size) argument 612 qcow2_alloc_clusters(BlockDriverState *bs, int64_t size) argument 632 qcow2_alloc_bytes(BlockDriverState *bs, int size) argument 677 qcow2_free_clusters(BlockDriverState *bs, int64_t offset, int64_t size) argument 697 qcow2_free_any_clusters(BlockDriverState *bs, uint64_t cluster_offset, int nb_clusters) argument 745 qcow2_update_snapshot_refcount(BlockDriverState *bs, int64_t l1_table_offset, int l1_size, int addend) argument 889 inc_refcounts(BlockDriverState *bs, BdrvCheckResult *res, uint16_t *refcount_table, int refcount_table_size, int64_t offset, int64_t size) argument 934 check_refcounts_l2(BlockDriverState *bs, BdrvCheckResult *res, uint16_t *refcount_table, int refcount_table_size, int64_t l2_offset, int check_copied) argument 1019 check_refcounts_l1(BlockDriverState *bs, BdrvCheckResult *res, uint16_t *refcount_table, int refcount_table_size, int64_t l1_table_offset, int l1_size, int check_copied) argument 1104 qcow2_check_refcounts(BlockDriverState *bs, BdrvCheckResult *res) argument [all...] |
H A D | qcow2-snapshot.c | 49 void qcow2_free_snapshots(BlockDriverState *bs) argument 51 BDRVQcowState *s = bs->opaque; 63 int qcow2_read_snapshots(BlockDriverState *bs) argument 65 BDRVQcowState *s = bs->opaque; 82 if (bdrv_pread(bs->file, offset, &h, sizeof(h)) != sizeof(h)) 100 if (bdrv_pread(bs->file, offset, sn->id_str, id_str_size) != id_str_size) 106 if (bdrv_pread(bs->file, offset, sn->name, name_size) != name_size) 114 qcow2_free_snapshots(bs); 119 static int qcow_write_snapshots(BlockDriverState *bs) argument 121 BDRVQcowState *s = bs 191 find_new_snapshot_id(BlockDriverState *bs, char *id_str, int id_str_size) argument 207 find_snapshot_by_id(BlockDriverState *bs, const char *id_str) argument 219 find_snapshot_by_id_or_name(BlockDriverState *bs, const char *name) argument 235 qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info) argument 314 qcow2_snapshot_goto(BlockDriverState *bs, const char *snapshot_id) argument 355 qcow2_snapshot_delete(BlockDriverState *bs, const char *snapshot_id) argument 390 qcow2_snapshot_list(BlockDriverState *bs, QEMUSnapshotInfo **psn_tab) argument [all...] |
H A D | qcow2.c | 69 * read qcow2 extension and fill bs 75 static int qcow_read_extensions(BlockDriverState *bs, uint64_t start_offset, argument 95 if (bdrv_pread(bs->file, offset, &ext, sizeof(ext)) != sizeof(ext)) { 112 if (ext.len >= sizeof(bs->backing_format)) { 115 ext.len, sizeof(bs->backing_format)); 118 if (bdrv_pread(bs->file, offset , bs->backing_format, 121 bs->backing_format[ext.len] = '\0'; 123 printf("Qcow2: Got format extension %s\n", bs->backing_format); 139 static int qcow_open(BlockDriverState *bs, in argument 254 qcow_set_key(BlockDriverState *bs, const char *key) argument 296 qcow_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, int *pnum) argument 314 qcow2_backing_read1(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors) argument 385 BlockDriverState *bs = acb->common.bs; local 492 qcow_aio_setup(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque, int is_write) argument 519 qcow_aio_readv(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument 557 BlockDriverState *bs = acb->common.bs; local 644 qcow_aio_writev(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument 661 qcow_close(BlockDriverState *bs) argument 679 qcow2_update_ext_header(BlockDriverState *bs, const char *backing_file, const char *backing_fmt) argument 764 qcow2_change_backing_file(BlockDriverState *bs, const char *backing_file, const char *backing_fmt) argument 792 preallocate(BlockDriverState *bs) argument 1032 BlockDriverState *bs; local 1090 qcow_make_empty(BlockDriverState *bs) argument 1110 qcow2_truncate(BlockDriverState *bs, int64_t offset) argument 1149 qcow_write_compressed(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument 1217 qcow_flush(BlockDriverState *bs) argument 1222 qcow_aio_flush(BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument 1233 qcow_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) argument 1242 qcow_check(BlockDriverState *bs, BdrvCheckResult *result) argument 1268 qcow_save_vmstate(BlockDriverState *bs, const uint8_t *buf, int64_t pos, int size) argument 1283 qcow_load_vmstate(BlockDriverState *bs, uint8_t *buf, int64_t pos, int size) argument [all...] |
H A D | qcow2.h | 169 int qcow2_backing_read1(BlockDriverState *bs, 173 int qcow2_refcount_init(BlockDriverState *bs); 174 void qcow2_refcount_close(BlockDriverState *bs); 176 int64_t qcow2_alloc_clusters(BlockDriverState *bs, int64_t size); 177 int64_t qcow2_alloc_bytes(BlockDriverState *bs, int size); 178 void qcow2_free_clusters(BlockDriverState *bs, 180 void qcow2_free_any_clusters(BlockDriverState *bs, 185 int qcow2_update_snapshot_refcount(BlockDriverState *bs, 188 int qcow2_check_refcounts(BlockDriverState *bs, BdrvCheckResult *res); 191 int qcow2_grow_l1_table(BlockDriverState *bs, in [all...] |
H A D | raw-posix-aio.h | 30 BlockDriverAIOCB *paio_submit(BlockDriverState *bs, int fd, 33 BlockDriverAIOCB *paio_ioctl(BlockDriverState *bs, int fd, 39 BlockDriverAIOCB *laio_submit(BlockDriverState *bs, void *aio_ctx, int fd,
|