/dports/devel/notcurses/notcurses-3.0.1/src/media/ |
H A D | oiio-indep.c | 23 ncplane* newn = NULL; in oiio_stream() local 41 if((newn = ncvisual_blit(nc, ncv, &activevopts)) == NULL){ in oiio_stream() 47 if(activevopts.n != newn){ in oiio_stream() 48 activevopts.n = newn; in oiio_stream()
|
/dports/devel/notcurses/notcurses-3.0.1/src/poc/ |
H A D | rotate.c | 79 struct ncplane* newn; in main() local 80 if((newn = ncvisual_blit(nc, ncv, &vopts)) == NULL){ in main() 85 ncplane_destroy(newn); in main() 89 ncplane_destroy(newn); in main()
|
/dports/devel/mph/mph-1.2/ |
H A D | keys.c | 19 size_t oldn, newn, newsz; in grow() local 23 newn = max(32, oldn*2); in grow() 24 newsz = sizeof(char *) * newn; in grow() 26 kp->kmax = kp->keys + newn; in grow()
|
/dports/mail/s-nail/s-nail-14.9.23/src/mx/ |
H A D | cmd-folder.c | 292 char const **argv, *emsg, *oldn, *newn; in c_rename() local 303 if((newn = fexpand(argv[1], FEXP_FULL)) == NIL) in c_rename() 305 if(oldp != which_protocol(newn, TRU1, FAL0, NIL)){ in c_rename() 310 if(!su_cs_cmp(oldn, mailname) || !su_cs_cmp(newn, mailname)){ in c_rename() 321 if(link(oldn, newn) == -1){ in c_rename() 334 && rename(oldn, newn) == -1 in c_rename() 354 && imap_rename(oldn, newn) != OKAY in c_rename()
|
/dports/biology/hhsuite/hh-suite-3.3.0/src/cs/ |
H A D | matrix.h | 45 void Resize(size_t newn, size_t newm); 46 void Assign(size_t newn, size_t newm, const T &a); 142 void Matrix<T>::Resize(size_t newn, size_t newm) { in Resize() argument 144 if (newn != nn || newm != mm) { in Resize() 149 nn = newn; in Resize() 159 void Matrix<T>::Assign(size_t newn, size_t newm, const T& a) { in Assign() argument 161 if (newn != nn || newm != mm) { in Assign() 166 nn = newn; in Assign()
|
/dports/devel/mph/mph-1.2/arb/ |
H A D | keys.c | 22 size_t oldn, newn, newsz; in grow() local 26 newn = max(32, oldn*2); in grow() 27 newsz = sizeof(char *) * newn; in grow() 30 kp->kmax = kp->keys + newn; in grow()
|
/dports/sysutils/s6-rc/s6-rc-0.5.2.2/src/s6-rc/ |
H A D | s6-rc-update.c | 182 if (len > newn) in fill_convtable_and_flags() 194 if (x >= newn) in fill_convtable_and_flags() 242 unsigned int i = newn ; in compute_transitions() 270 unsigned int j = newn ; in compute_transitions() 283 i = newn ; in compute_transitions() 291 i = newn ; in compute_transitions() 607 unsigned int oldn, newn ; in main() local 652 unsigned int invimage[newn] ; in main() 656 unsigned char newstate[newn] ; in main() 700 memset(newstate, 0, newn) ; in main() [all …]
|
/dports/games/gltron/gltron-0.70/lua/src/ |
H A D | lmem.c | 121 size_t newn = nelems+inc; in luaM_growaux() local 123 if ((newn ^ nelems) <= nelems || /* still the same power-of-2 limit? */ in luaM_growaux() 124 (nelems > 0 && newn < MINPOWER2)) /* or block already is MINPOWER2? */ in luaM_growaux() 127 return luaM_realloc(L, block, luaO_power2(newn)*size); in luaM_growaux()
|
/dports/games/tomenet/tomenet-4.6.0/src/server/lua/ |
H A D | lmem.c | 121 size_t newn = nelems+inc; in luaM_growaux() local 123 if ((newn ^ nelems) <= nelems || /* still the same power-of-2 limit? */ in luaM_growaux() 124 (nelems > 0 && newn < MINPOWER2)) /* or block already is MINPOWER2? */ in luaM_growaux() 127 return luaM_realloc(L, block, luaO_power2(newn)*size); in luaM_growaux()
|
/dports/games/zangband/zangband/src/lua/ |
H A D | lmem.c | 121 size_t newn = nelems+inc; in luaM_growaux() local 123 if ((newn ^ nelems) <= nelems || /* still the same power-of-2 limit? */ in luaM_growaux() 124 (nelems > 0 && newn < MINPOWER2)) /* or block already is MINPOWER2? */ in luaM_growaux() 127 return luaM_realloc(L, block, luaO_power2(newn)*size); in luaM_growaux()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/blossom/concorde97/XSTUFF/ |
H A D | Xflow.c | 268 Xnodeptr *newn; local 271 newn = Xnodeptralloc (); 272 newn->next = (Xnodeptr *) NULL; 273 newn->this = n; 275 q->tail->next = newn; 277 q->head = newn; 279 q->tail = newn; 291 Xnodeptr *newn = q->head; local 292 Xnode *n = newn->this; 294 q->head = newn->next; [all …]
|
/dports/editors/ted/Ted-2.23/ind/ |
H A D | indmini.c | 285 TrieNode * newn; in indINDmini() local 288 newn= NODE(rval,clas[part[first]]); in indINDmini() 307 newn->tn_transitions= transitions; in indINDmini() 308 newn->tn_ntrans= node->tn_ntrans; in indINDmini() 309 newn->tn_flags |= node->tn_flags; in indINDmini() 310 newn->tn_flags |= TNfREAD_ONLY; in indINDmini()
|
/dports/devel/publib/publib-0.40/sbuf/ |
H A D | test-sbuf.c | 85 static void delete(long from, long n, long newfrom, long newn) { in delete() argument 87 from, from+n, newfrom, newfrom + newn); in delete() 94 static void insert(long at, const char *what, long newfrom, long newn) { in insert() argument 96 what, at, newfrom, newfrom + newn); in insert()
|
/dports/shells/bash/bash-5.1/lib/glob/ |
H A D | sm_loop.c | 163 CHAR *newn; local 173 newn = PATSCAN (p + 1, pe, 0); 175 p = newn ? newn : pe; 193 CHAR *newn; local 197 for (newn = n; newn < se; ++newn) 199 if (EXTMATCH (c, newn, se, p, pe, flags) == 0) 206 newn = PATSCAN (p + 1, pe, 0); 208 p = newn ? newn : pe;
|
/dports/cad/gmsh/gmsh-4.9.2-source/Common/ |
H A D | avl.cpp | 352 avl_node *newn; in new_node() local 354 newn = ALLOC(avl_node, 1); in new_node() 355 newn->key = key; in new_node() 356 newn->value = value; in new_node() 357 newn->height = 0; in new_node() 358 newn->left = newn->right = NIL(avl_node); in new_node() 359 return newn; in new_node()
|
/dports/science/getdp/getdp-3.4.0-source/Common/ |
H A D | avl.cpp | 352 avl_node *newn; in new_node() local 354 newn = ALLOC(avl_node, 1); in new_node() 355 newn->key = key; in new_node() 356 newn->value = value; in new_node() 357 newn->height = 0; in new_node() 358 newn->left = newn->right = NIL(avl_node); in new_node() 359 return newn; in new_node()
|
/dports/devel/notcurses/notcurses-3.0.1/src/tests/ |
H A D | media.cpp | 69 auto newn = ncvisual_blit(nc_, ncv, &opts); variable 70 CHECK(newn); 73 CHECK(0 == ncplane_destroy(newn)); 128 struct ncplane* newn = ncplane_dup(ncp_, needle); variable 131 REQUIRE(nullptr != newn); 136 ncplane_dim_yx(newn, &ndimy, &ndimx); 369 auto newn = ncvisual_blit(nc_, ncv, &opts); variable 370 CHECK(newn); 372 CHECK(0 == ncplane_destroy(newn));
|
/dports/cad/admesh/admesh-0.98.4/src/ |
H A D | normals.c | 103 struct stl_normal *newn; in stl_fix_normal_directions() local 149 newn = (struct stl_normal*)malloc(sizeof(struct stl_normal)); in stl_fix_normal_directions() 150 if(newn == NULL) perror("stl_fix_normal_directions"); in stl_fix_normal_directions() 151 newn->facet_num = stl->neighbors_start[facet_num].neighbor[j]; in stl_fix_normal_directions() 152 newn->next = head->next; in stl_fix_normal_directions() 153 head->next = newn; in stl_fix_normal_directions()
|
/dports/science/fastjet/fastjet-3.3.4/tools/ |
H A D | GridMedianBackgroundEstimator.cc | 103 int newn = 0; in set_particles() local 108 std::swap(scalar_pt[i],scalar_pt[newn]); in set_particles() 109 newn++; in set_particles() 112 scalar_pt.resize(newn); in set_particles()
|
/dports/audio/csoundqt/CsoundQt-0.9.8.1/src/ |
H A D | configlists.cpp | 127 int i,newn, n = csoundGetMIDIDevList(cs, nullptr, 0); in getMidiInputDevices() local 129 newn = csoundGetMIDIDevList(cs,devs,0); in getMidiInputDevices() 130 if (newn != n) { in getMidiInputDevices() 256 int i,newn, n = csoundGetMIDIDevList(cs, nullptr, 1); in getMidiOutputDevices() local 258 newn = csoundGetMIDIDevList(cs,devs,1); in getMidiOutputDevices() 259 if (newn != n) { in getMidiOutputDevices() 369 int i,newn, n = csoundGetAudioDevList(cs, nullptr, 0); in getAudioInputDevices() local 371 newn = csoundGetAudioDevList(cs,devs,0); in getAudioInputDevices() 372 if (newn != n) { in getAudioInputDevices() 543 newn = csoundGetAudioDevList(cs,devs,1); in getAudioOutputDevices() [all …]
|
/dports/databases/gdbm/gdbm-1.22/src/ |
H A D | cachetree.c | 113 replace_node (cache_tree *tree, cache_node *oldn, cache_node *newn) in replace_node() argument 116 tree->root = newn; in replace_node() 118 oldn->parent->left = newn; in replace_node() 120 oldn->parent->right = newn; in replace_node() 122 if (newn != NULL) in replace_node() 123 newn->parent = oldn->parent; in replace_node()
|
/dports/lang/gauche/Gauche-0.9.10/ext/sparse/ |
H A D | ctrie.c | 104 Node *newn = make_node(size+NODE_SIZE_INCR); in node_insert() local 105 newn->emap = orig->emap; in node_insert() 106 newn->lmap = orig->lmap; in node_insert() 107 NODE_ARC_SET(newn, ind); in node_insert() 108 if (leafp) NODE_LEAF_SET(newn, ind); in node_insert() 110 for (; i<insertpoint; i++) newn->entries[i] = orig->entries[i]; in node_insert() 111 newn->entries[insertpoint] = entry; in node_insert() 112 for (; i<size; i++) newn->entries[i+1] = orig->entries[i]; in node_insert() 113 return newn; in node_insert()
|
/dports/games/tads/tads-3.0.8/tads2/ |
H A D | mcm.c | 522 mcmon newn; in mcmload() local 530 newdef = mcmgobje(ctx, newn); in mcmload() 555 ctx->mcmcxunu = newn; in mcmload() 737 mcmon newn; in mcmsplt() local 744 newp = mcmoal(ctx, &newn); in mcmsplt() 748 *(mcmon *)(o->mcmoptr + siz) = newn; in mcmsplt() 752 mcmlnkhd(ctx, &ctx->mcmcxfre, newn); in mcmsplt() 964 mcmon newn; in mcmtoss() local 969 newp = mcmoal(ctx, &newn); in mcmtoss() 970 if (newn == MCMONINV) in mcmtoss() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/glk/tads/tads2/ |
H A D | memory_cache.cpp | 570 mcmon newn; in mcmload() local 578 newdef = mcmgobje(ctx, newn); in mcmload() 603 ctx->mcmcxunu = newn; in mcmload() 785 mcmon newn; in mcmsplt() local 792 newp = mcmoal(ctx, &newn); in mcmsplt() 796 *(mcmon *)(o->mcmoptr + siz) = newn; in mcmsplt() 800 mcmlnkhd(ctx, &ctx->mcmcxfre, newn); in mcmsplt() 1010 mcmon newn; in mcmtoss() local 1015 newp = mcmoal(ctx, &newn); in mcmtoss() 1016 if (newn == MCMONINV) in mcmtoss() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/tads/tads2/ |
H A D | memory_cache.cpp | 570 mcmon newn; in mcmload() local 578 newdef = mcmgobje(ctx, newn); in mcmload() 603 ctx->mcmcxunu = newn; in mcmload() 785 mcmon newn; in mcmsplt() local 792 newp = mcmoal(ctx, &newn); in mcmsplt() 796 *(mcmon *)(o->mcmoptr + siz) = newn; in mcmsplt() 800 mcmlnkhd(ctx, &ctx->mcmcxfre, newn); in mcmsplt() 1012 mcmon newn; in mcmtoss() local 1017 newp = mcmoal(ctx, &newn); in mcmtoss() 1018 if (newn == MCMONINV) in mcmtoss() [all …]
|