Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 24 of 24) sorted by relevance

/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2util.cpp33 err = nb->direct_access(nbuf, 0, nbuf->size, &conPointer); in nb_get_whole_buffer()
43 err = nb->write(nbuf, 0, (void*) nbuf->COOKIEFIELD, nbuf->size); in nb_get_whole_buffer()
72 if (nb != NULL) in nb_destroy()
73 nb->free(nbuf); in nb_destroy()
H A Dh2generic.h46 extern struct net_buffer_module_info* nb;
H A Dh2generic.cpp39 struct net_buffer_module_info* nb = NULL; variable
805 if (get_module(NET_BUFFER_MODULE_NAME, (module_info**)&nb) != B_OK) { in init_driver()
/haiku/headers/libs/agg/
H A Dagg_glyph_raster_bin.h110 unsigned nb = 0; in span() local
115 if(++nb >= 8) in span()
118 nb = 0; in span()
H A Dagg_array.h499 const T* block(unsigned nb) const { return m_blocks[nb]; } in block() argument
502 void allocate_block(unsigned nb);
535 unsigned nb = (size + block_mask) >> block_shift; in free_tail() local
536 while(m_num_blocks > nb) in free_tail()
615 void pod_bvector<T, S>::allocate_block(unsigned nb) in allocate_block() argument
617 if(nb >= m_max_blocks) in allocate_block()
632 m_blocks[nb] = pod_allocator<T>::allocate(block_size); in allocate_block()
642 unsigned nb = m_size >> block_shift; in data_ptr() local
643 if(nb >= m_num_blocks) in data_ptr()
645 allocate_block(nb); in data_ptr()
[all …]
H A Dagg_path_storage.h72 void allocate_block(unsigned nb);
283 unsigned nb = idx >> block_shift; in vertex() local
284 const T* pv = m_coord_blocks[nb] + ((idx & block_mask) << 1); in vertex()
287 return m_cmd_blocks[nb][idx & block_mask]; in vertex()
299 void vertex_block_storage<T,S,P>::allocate_block(unsigned nb) in allocate_block() argument
301 if(nb >= m_max_blocks) in allocate_block()
325 m_coord_blocks[nb] = in allocate_block()
329 m_cmd_blocks[nb] = in allocate_block()
330 (unsigned char*)(m_coord_blocks[nb] + block_size * 2); in allocate_block()
339 unsigned nb = m_total_vertices >> block_shift; in storage_ptrs() local
[all …]
H A Dagg_rasterizer_cells_aa.h658 unsigned nb = m_num_cells >> cell_block_shift; in sort_cells() local
660 while(nb--) in sort_cells()
690 nb = m_num_cells >> cell_block_shift; in sort_cells()
691 while(nb--) in sort_cells()
/haiku/src/add-ons/media/media-add-ons/firewire_dv/
H A DFireWireCard.cpp281 int npad, k, m, system = -1, nb; in DvExtract() local
310 nb = nblocks[system]; in DvExtract()
313 if (m > 0 && m != nb) { in DvExtract()
315 npad = ((nb - m) % nb); in DvExtract()
317 npad += nb; in DvExtract()
/haiku/src/bin/fwcontrol/
H A Dfwdv.c114 int len, tlen, npad, fd, k, m, vec, system = -1, nb; in dvrecv() local
214 nb = nblocks[system]; in dvrecv()
222 if (m > 0 && m != nb) { in dvrecv()
224 npad = ((nb - m) % nb); in dvrecv()
226 npad += nb; in dvrecv()
/haiku/src/libs/mapm/
H A Dmapmfmul.c603 int k, jtmp, sflag, nb, borrow; in M_fmul_subtract() local
605 nb = sz; in M_fmul_subtract()
613 for (k=0; k < nb; k++) in M_fmul_subtract()
630 memset(r, 0, nb); /* zero out the result */ in M_fmul_subtract()
634 k = nb; in M_fmul_subtract()
/haiku/src/kits/shared/
H A DColorQuantizer.cpp123 uint32 nb = 0; in GetColorTable() local
129 nb += tmpPalette[k].b * sums[k]; in GetColorTable()
135 table[j].b = clip((float)nb / ns); in GetColorTable()
/haiku/src/bin/unzip/
H A Dcryptf.c355 unsigned zfwrite(buf, item_size, nb, f) in zfwrite() argument
358 extent nb; /* number of items */
368 for (size = item_size*(ulg)nb; size != 0; p++, size--) {
373 return fwrite(buf, item_size, nb, f);
H A Dcrypt.c352 unsigned zfwrite(buf, item_size, nb, f) in zfwrite() argument
355 extent nb; /* number of items */
365 for (size = item_size*(ulg)nb; size != 0; p++, size--) {
370 return fwrite(buf, item_size, nb, f);
H A Dinflatef.c706 unsigned nb; /* number of bit length codes */ in inflate_dynamic() local
729 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic()
736 for (j = 0; j < nb; j++) in inflate_dynamic()
H A Dinflate.c948 unsigned nb; /* number of bit length codes */ in inflate_dynamic() local
971 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic()
978 for (j = 0; j < nb; j++) in inflate_dynamic()
/haiku/data/catalogs/add-ons/disk_systems/bfs/
H A Dcs.catkeys3 …ry dotazů může urychlit určité operace se souborovým systémem, ale mělo by\nbýt použito pouze v př…
/haiku/src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs/
H A Dmsdosfs_lookup.c144 struct mbnambuf nb; in msdosfs_lookup_ino() local
248 mbnambuf_init(&nb); in msdosfs_lookup_ino()
288 mbnambuf_init(&nb); in msdosfs_lookup_ino()
313 chksum = win2unixfn(&nb, in msdosfs_lookup_ino()
319 chksum = winChkName(&nb, in msdosfs_lookup_ino()
/haiku/src/system/libroot/posix/malloc/hoard2/
H A Dheap.h426 int nb = max_c(1, ((SUPERBLOCK_SIZE - sizeof(superblock)) / blksize)); in numBlocks() local
427 return nb; in numBlocks()
/haiku/src/bin/pcmcia-cs/
H A Ddump_cis.c733 for (i = 0; i < n->nb; i++) in print_network()
980 static int nb = 0; in get_tuple_buf() local
984 nb = read(fd, buf, sizeof(buf)); in get_tuple_buf()
988 if (ofs >= nb) return -1; in get_tuple_buf()
/haiku/src/libs/libsolv/solv/
H A Dpolicy.c47 const char *na, *nb; in prune_to_best_version_sortcmp() local
51 nb = pool_id2str(pool, sb->name); in prune_to_best_version_sortcmp()
52 return strcmp(na, nb); in prune_to_best_version_sortcmp()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_haiku.cpp272 size_t nb = n > sizeof(uint32_t) ? sizeof(uint32_t) : n; in net80211_get_random_bytes() local
274 dp += sizeof(uint32_t), n -= nb; in net80211_get_random_bytes()
/haiku/headers/os/drivers/pcmcia/
H A Dcistpl.h338 u_char nb; member
/haiku/docs/misc/
H A DBeIDE_ProjFileFormat.md111 uint32 = nb items ('Link', 'PLnk', 'Fil1' or 'IgFl' tags) in this section
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundNode.cpp1925 int32 nb = 0; in MakeParameterWeb() local
1929 _ProcessGroup(child, i, nb); in MakeParameterWeb()
1957 int32 nb = 1; in _ProcessGroup() local
1990 _ProcessGroup(child, i, nb); in _ProcessGroup()