Searched refs:tr_new (Results 1 - 23 of 23) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/ |
H A D | torrent-magnet.c | 83 m = tr_new( struct tr_incomplete_metadata, 1 ); 85 m->metadata = tr_new( uint8_t, size ); 88 m->piecesNeeded = tr_new( struct metadata_node, n ); 177 char * buf = tr_new( char, l );
|
H A D | cache.c | 165 uint8_t * buf = tr_new( uint8_t, n * MAX_BLOCK_SIZE ); 217 struct run_info * runs = tr_new( struct run_info, tr_ptrArraySize( &cache->blocks ) ); 324 cb = tr_new( struct cache_block, 1 ); 400 struct run_info * runs = tr_new( struct run_info, tr_ptrArraySize( &cache->blocks ) );
|
H A D | peer-msgs.c | 856 uint8_t * tmp = tr_new( uint8_t, len ); 960 uint8_t * tmp = tr_new( uint8_t, msglen ); 1032 uint8_t * tmp = tr_new( uint8_t, msglen ); 1415 uint8_t * tmp = tr_new( uint8_t, msglen ); 1752 tr_block_index_t * blocks = tr_new( tr_block_index_t, numwant ); 2157 diffs.added = tr_new( tr_pex, newCount ); 2159 diffs.dropped = tr_new( tr_pex, msgs->pexCount ); 2161 diffs.elements = tr_new( tr_pex, newCount + msgs->pexCount ); 2167 diffs6.added = tr_new( tr_pex, newCount6 ); 2169 diffs6.dropped = tr_new( tr_pe [all...] |
H A D | list.c | 27 ret = tr_new( tr_list, 1 );
|
H A D | webseed.c | 272 data = tr_new( struct connection_succeeded_data, 1 ); 294 data = tr_new( struct write_block_data, 1 ); 355 blocks = tr_new( tr_block_index_t, want*2 ); 366 struct tr_webseed_task * task = tr_new( struct tr_webseed_task, 1 );
|
H A D | utils.c | 620 pch = buf = tr_new( char, bufLen ); 671 char * ret = tr_new( char, n + 1 ); 736 ret = tr_new( char, len + 1 ); 1290 char * out = tr_new( char, buflen ); 1441 sorted = tr_new( int, n ); 1452 uniq = tr_new( int, n );
|
H A D | verify.c | 262 node = tr_new( struct verify_node, 1 );
|
H A D | peer-mgr.c | 385 tr_peer * peer = tr_new( tr_peer, 1 ); 1088 pool = tr_new( tr_piece_index_t, inf->pieceCount ); 1490 cancel = tr_new( struct block_request, cancel_buflen ); 1630 tr_block_index_t * blocks = tr_new( tr_block_index_t, t->requestCount ); 2347 atoms = tr_new( struct peer_atom *, atomCount ); 2356 atoms = tr_new( struct peer_atom *, n ); 2947 piece_is_interesting = tr_new( bool, n ); 2978 rechoke = tr_new( struct tr_rechoke_info, peerCount ); 3269 ret = tr_new( tr_peer *, peerCount ); 3490 tr_peer ** peers = tr_new( tr_pee [all...] |
H A D | completion.c | 286 bool * flags = tr_new( bool, n );
|
H A D | utils.h | 301 #define tr_new( struct_type, n_structs ) \ macro
|
H A D | bencode.c | 41 #include "utils.h" /* tr_new(), tr_free() */ 604 setme = val->val.s.str.ptr = tr_new( char, byteCount + 1 ); 958 struct KeyIndex * indices = tr_new( struct KeyIndex, nKeys ); 1045 struct SaveNode * stack = tr_new( struct SaveNode, stackAlloc ); 1309 struct ParentState * parentState = tr_new( struct ParentState, 1 );
|
H A D | resume.c | 182 tr_file_index_t * dl = tr_new( tr_file_index_t, n ); 183 tr_file_index_t * dnd = tr_new( tr_file_index_t, n );
|
H A D | rpc-server.c | 101 unsigned char * buf = tr_new( unsigned char, n+1 ); 185 struct tr_mimepart * p = tr_new( struct tr_mimepart, 1 );
|
H A D | bencode-test.c | 420 in = tr_new( uint8_t, depth * 2 + 1 );
|
H A D | fdlimit.c | 428 set->begin = tr_new( struct tr_cached_file, n );
|
H A D | makemeta.c | 79 struct FileList * node = tr_new( struct FileList, 1 );
|
H A D | metainfo.c | 264 char * walk = scrape = tr_new( char, alloc_len );
|
H A D | tr-dht.c | 319 cl = tr_new( struct bootstrap_closure, 1 );
|
H A D | handshake.c | 879 padc = tr_new (char, handshake->pad_c_len);
|
H A D | session.c | 1762 torrents = tr_new( tr_torrent *, session->torrentCount ); 1933 data->torrents = tr_new( tr_torrent *, n );
|
H A D | peer-io.c | 101 ret = tr_new( struct tr_datatype, 1 );
|
H A D | torrent.c | 640 firstFiles = tr_new( int, inf->pieceCount ); 3013 data = tr_new( struct LocationData, 1 ); 3193 tr_torrent ** tmp = tr_new( tr_torrent *, session->torrentCount );
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/utils/ |
H A D | show.c | 171 files = tr_new( tr_file*, inf->fileCount );
|
Completed in 239 milliseconds