/dports/devel/glib20/glib-2.70.4/gio/ |
H A D | strinfo.c | 123 guint n_words; in strinfo_string_to_words() local 128 n_words = MAX (2, (size + 6) >> 2); in strinfo_string_to_words() 130 if (n_words > STRINFO_MAX_WORDS) in strinfo_string_to_words() 137 return n_words; in strinfo_string_to_words() 148 if (length < n_words) in strinfo_scan() 151 while (i <= length - n_words) in strinfo_scan() 155 for (j = 0; j < n_words; j++) in strinfo_scan() 159 if (j == n_words) in strinfo_scan() 176 guint n_words; in strinfo_find_string() local 298 guint n_words; in strinfo_builder_append_item() local [all …]
|
/dports/devel/glade/glade-3.22.1/gladeui/ |
H A D | glade-id-allocator.c | 35 guint n_words; member 49 allocator->n_words = INITIAL_WORDS; in glade_id_allocator_new() 119 for (i = 0; i < allocator->n_words; i++) in glade_id_allocator_allocate() 131 guint n_words = allocator->n_words; in glade_id_allocator_allocate() local 133 allocator->data = g_renew (guint32, allocator->data, n_words * 2); in glade_id_allocator_allocate() 134 memset (&allocator->data[n_words], 0xff, n_words * sizeof (guint32)); in glade_id_allocator_allocate() 135 allocator->n_words = n_words * 2; in glade_id_allocator_allocate() 137 allocator->data[n_words] = 0xffffffff - 1; in glade_id_allocator_allocate() 139 return 32 * n_words + 1; in glade_id_allocator_allocate() 167 if (word_idx < allocator->n_words) in glade_id_allocator_release()
|
/dports/math/yices/yices-2.6.2/tests/unit/ |
H A D | test_symbol_table.c | 31 static uint32_t n_words; variable 42 n_words = 0; in words_from_file() 82 n_words = i; in words_from_file() 137 for (i=0; i<n_words; i++) { in main() 148 for (i=0; i<n_words; i++) { in main() 168 for (i=0; i<n_words; i++) { in main() 179 for (i=0; i<n_words; i++) { in main() 224 for (i=0; i<n_words; i++) { in main() 229 for (i=0; i<n_words; i++) { in main() 237 for (i=0; i<n_words; i++) { in main() [all …]
|
H A D | test_symbol_table2.c | 36 static uint32_t n_words; variable 47 n_words = 0; in words_from_file() 87 n_words = i; in words_from_file() 98 for (j=0; j<n_words; j++) free(words[j]); in clear_words() 121 val = (int32_t *) malloc(n_words * sizeof(int32_t)); in main() 127 for (i=0; i<n_words; i++) { in main() 138 for (i=0; i<n_words; i++) { in main() 147 printf("\n*** Added %"PRIu32" words from %s ***\n", n_words, argv[1]); in main() 152 n = (n_words < 200) ? n_words : 200; in main() 175 for (j=0; j<n_words; j++) { in main() [all …]
|
/dports/security/libgnome-keyring/libgnome-keyring-3.12.0/egg/ |
H A D | egg-secure-memory.c | 519 while (cell->n_words < n_words) { 541 other->n_words = n_words; 543 cell->n_words -= n_words; 608 other->n_words += cell->n_words; 619 other->n_words += cell->n_words; 707 if (n_words <= cell->n_words) { 733 if (n_words - cell->n_words + WASTE >= other->n_words) { 742 other->n_words -= n_words - cell->n_words; 744 cell->n_words = n_words; 749 if (cell->n_words >= n_words) { [all …]
|
/dports/security/libsecret/libsecret-0.20.4/egg/ |
H A D | egg-secure-memory.c | 518 while (cell->n_words < n_words) { in sec_alloc() 540 other->n_words = n_words; in sec_alloc() 542 cell->n_words -= n_words; in sec_alloc() 607 other->n_words += cell->n_words; in sec_free() 618 other->n_words += cell->n_words; in sec_free() 706 if (n_words <= cell->n_words) { in sec_realloc() 732 if (n_words - cell->n_words + WASTE >= other->n_words) { in sec_realloc() 741 other->n_words -= n_words - cell->n_words; in sec_realloc() 743 cell->n_words = n_words; in sec_realloc() 748 if (cell->n_words >= n_words) { in sec_realloc() [all …]
|
/dports/security/gcr/gcr-3.40.0/egg/ |
H A D | egg-secure-memory.c | 518 while (cell->n_words < n_words) { in sec_alloc() 540 other->n_words = n_words; in sec_alloc() 542 cell->n_words -= n_words; in sec_alloc() 607 other->n_words += cell->n_words; in sec_free() 618 other->n_words += cell->n_words; in sec_free() 706 if (n_words <= cell->n_words) { in sec_realloc() 732 if (n_words - cell->n_words + WASTE >= other->n_words) { in sec_realloc() 741 other->n_words -= n_words - cell->n_words; in sec_realloc() 743 cell->n_words = n_words; in sec_realloc() 748 if (cell->n_words >= n_words) { in sec_realloc() [all …]
|
/dports/security/gnome-keyring/gnome-keyring-40.0/egg/ |
H A D | egg-secure-memory.c | 518 while (cell->n_words < n_words) { in sec_alloc() 540 other->n_words = n_words; in sec_alloc() 542 cell->n_words -= n_words; in sec_alloc() 607 other->n_words += cell->n_words; in sec_free() 618 other->n_words += cell->n_words; in sec_free() 706 if (n_words <= cell->n_words) { in sec_realloc() 732 if (n_words - cell->n_words + WASTE >= other->n_words) { in sec_realloc() 741 other->n_words -= n_words - cell->n_words; in sec_realloc() 743 cell->n_words = n_words; in sec_realloc() 748 if (cell->n_words >= n_words) { in sec_realloc() [all …]
|
/dports/textproc/py-langdetect/langdetect-1.0.7/langdetect/utils/ |
H A D | lang_profile.py | 17 def __init__(self, name=None, freq=None, n_words=None): argument 22 if n_words is None: 23 n_words = [0] * NGram.N_GRAM 26 self.n_words = n_words 35 self.n_words[length - 1] += 1 42 threshold = max(self.n_words[0] // self.LESS_FREQ_RATIO, self.MINIMUM_FREQ) 47 self.n_words[len(key)-1] -= count 53 if roman < self.n_words[0] // 3: 56 self.n_words[len(key)-1] -= count
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtksecurememory.c | 578 while (cell->n_words < n_words) { in sec_alloc() 600 other->n_words = n_words; in sec_alloc() 602 cell->n_words -= n_words; in sec_alloc() 667 other->n_words += cell->n_words; in sec_free() 678 other->n_words += cell->n_words; in sec_free() 766 if (n_words <= cell->n_words) { in sec_realloc() 792 if (n_words - cell->n_words + WASTE >= other->n_words) { in sec_realloc() 801 other->n_words -= n_words - cell->n_words; in sec_realloc() 803 cell->n_words = n_words; in sec_realloc() 808 if (cell->n_words >= n_words) { in sec_realloc() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/irqchip/ |
H A D | irq-bcm6345-l1.c | 78 unsigned int n_words; member 96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable() 106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status() 131 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle() 243 unsigned int i, n_words; in bcm6345_l1_init_one() local 248 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one() 250 if (!intc->n_words) in bcm6345_l1_init_one() 251 intc->n_words = n_words; in bcm6345_l1_init_one() 252 else if (intc->n_words != n_words) in bcm6345_l1_init_one() 264 for (i = 0; i < n_words; i++) { in bcm6345_l1_init_one() [all …]
|
H A D | irq-bcm7038-l1.c | 43 unsigned int n_words; member 138 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle() 260 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local 266 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one() 268 if (n_words > MAX_WORDS) in bcm7038_l1_init_one() 270 else if (!intc->n_words) in bcm7038_l1_init_one() 271 intc->n_words = n_words; in bcm7038_l1_init_one() 272 else if (intc->n_words != n_words) in bcm7038_l1_init_one() 276 intc->irq_fwd_mask, n_words); in bcm7038_l1_init_one() 292 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/irqchip/ |
H A D | irq-bcm6345-l1.c | 78 unsigned int n_words; member 96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable() 106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status() 131 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle() 243 unsigned int i, n_words; in bcm6345_l1_init_one() local 248 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one() 250 if (!intc->n_words) in bcm6345_l1_init_one() 251 intc->n_words = n_words; in bcm6345_l1_init_one() 252 else if (intc->n_words != n_words) in bcm6345_l1_init_one() 264 for (i = 0; i < n_words; i++) { in bcm6345_l1_init_one() [all …]
|
H A D | irq-bcm7038-l1.c | 43 unsigned int n_words; member 138 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle() 260 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local 266 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one() 268 if (n_words > MAX_WORDS) in bcm7038_l1_init_one() 270 else if (!intc->n_words) in bcm7038_l1_init_one() 271 intc->n_words = n_words; in bcm7038_l1_init_one() 272 else if (intc->n_words != n_words) in bcm7038_l1_init_one() 276 intc->irq_fwd_mask, n_words); in bcm7038_l1_init_one() 292 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/irqchip/ |
H A D | irq-bcm6345-l1.c | 78 unsigned int n_words; member 96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable() 106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status() 131 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle() 243 unsigned int i, n_words; in bcm6345_l1_init_one() local 248 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one() 250 if (!intc->n_words) in bcm6345_l1_init_one() 251 intc->n_words = n_words; in bcm6345_l1_init_one() 252 else if (intc->n_words != n_words) in bcm6345_l1_init_one() 264 for (i = 0; i < n_words; i++) { in bcm6345_l1_init_one() [all …]
|
H A D | irq-bcm7038-l1.c | 43 unsigned int n_words; member 138 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle() 260 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local 266 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one() 268 if (n_words > MAX_WORDS) in bcm7038_l1_init_one() 270 else if (!intc->n_words) in bcm7038_l1_init_one() 271 intc->n_words = n_words; in bcm7038_l1_init_one() 272 else if (intc->n_words != n_words) in bcm7038_l1_init_one() 276 intc->irq_fwd_mask, n_words); in bcm7038_l1_init_one() 292 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one() [all …]
|
/dports/math/gecode/gecode-0916a1a/examples/ |
H A D | scowl.hpp | 58 int n_words[limit_len]; member in Dictionary 13445 const int n_words[] = { variable 13477 n_words[i]=0; s_words[i]=nullptr; in Dictionary() 13492 n_words[l]=::n_words[l]; in init() 13493 n_all_words += n_words[l]; in init() 13494 sz += n_words[l] * (l+1); // Leave room for terminating zero in init() 13502 for (int i=0; i<n_words[l]; i++) { in init() 13537 n_words[n]++; in init() 13554 s_words[l] = c; c += (l+1)*n_words[l]; in init() 13591 s_words[l] = c; c += (l+1)*n_words[l]; in init() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/vendor/compiler_builtins/src/mem/ |
H A D | impls.rs | 104 let n_words = n & !WORD_MASK; in copy_forward() localVariable 111 dest = dest.add(n_words); in copy_forward() 112 src = src.add(n_words); in copy_forward() 113 n -= n_words; in copy_forward() 200 let n_words = n & !WORD_MASK; in copy_backward() localVariable 207 dest = dest.sub(n_words); in copy_backward() 208 src = src.sub(n_words); in copy_backward() 209 n -= n_words; in copy_backward() 251 let n_words = n & !WORD_MASK; in set_bytes() localVariable 253 s = s.add(n_words); in set_bytes() [all …]
|
/dports/games/banihstypos/banihstypos-0.2/ |
H A D | banihstypos.c | 47 char * get_word(char **words, int n_words) in get_word() argument 49 return strdup(words[lrand48() % n_words]); in get_word() 167 void game_loop(char **words, int n_words) in game_loop() argument 169 char *word = get_word(words, n_words); in game_loop() 271 word = get_word(words, n_words); in game_loop() 335 *words = realloc(*words, sizeof(char *) * (*n_words + 1)); in load_words_file() 360 (*words)[*n_words] = strdup(start); in load_words_file() 361 (*n_words)++; in load_words_file() 381 int n_words = 0; in main() local 423 load_words_file(words_file, lowercase_only, &words, &n_words); in main() [all …]
|
/dports/textproc/p5-Lingua-Stem/Lingua-Stem-2.31/examples/ |
H A D | benchmark-stemmers.pl | 25 my $n_words = 3000; 32 my $s = $n_words; 40 my $n = $n_words * $loops; 45 print "$n_words words repeated $loops times\n\n"; 67 … die(sprintf("Lingua::Stem::Snowball, %6s word batches, no caching: failed\n", $n_words)); 71 …printf "Lingua::Stem::Snowball, %6s word batches, no caching:%8s words/second\n", $n_words, int($… 85 …ie(sprintf("Lingua::Stem::Snowball, one batch, no caching: failed\n", $n_words)); 115 …printf "Lingua::Stem, %6s word batches, no caching: %8s words/second\n", $n_words, int($… 147 …printf "Lingua::Stem, %6s word batches, cache level 2: %8s words/second\n", $n_words, int($… 179 …printf "Lingua::Stem::En, %6s word batches, cache level 2: %8s words/second\n", $n_words, i…
|
/dports/lang/mit-scheme/mit-scheme-9.2/src/microcode/ |
H A D | memmag.h | 42 #define HEAP_AVAILABLE_P(n_words) \ argument 43 ((FREE_OK_P (Free)) && ((Free + (n_words)) <= heap_alloc_limit)) 45 #define GC_NEEDED_P(n_words) \ argument 46 ((!HEAP_AVAILABLE_P (n_words)) && (GC_ENABLED_P ())) 55 #define REQUEST_GC(n_words) do \ argument 58 gc_space_needed = (n_words); \
|
/dports/audio/sphinxbase/sphinxbase-0.8/src/libsphinxbase/lm/ |
H A D | ngram_model.c | 312 for (i = 0; i < model->n_words; ++i) { in ngram_model_casefold() 374 for (i = 0; i < model->n_words; ++i) { in ngram_model_recode() 388 for (i = 0; i < model->n_words; ++i) { in ngram_model_recode() 786 if (wid >= model->n_words) in ngram_word() 803 wid = model->n_words; in ngram_add_word_internal() 827 ++model->n_words; in ngram_add_word_internal() 1010 int32 n_words) in ngram_model_add_class() argument 1029 for (i = 0; i < n_words; ++i) { in ngram_model_add_class() 1098 int n_words; in read_classdef_file() local 1104 if (n_words <= 0) in read_classdef_file() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/sphinxbase/src/libsphinxbase/lm/ |
H A D | ngram_model.c | 310 for (i = 0; i < model->n_words; ++i) { in ngram_model_casefold() 678 if (wid >= model->n_words) in ngram_word() 700 wid = model->n_words; in ngram_add_word_internal() 720 ++model->n_words; in ngram_add_word_internal() 887 for (i = 0; i < lmclass->n_words; ++i) in ngram_model_add_class_word() 903 int32 n_words) in ngram_model_add_class() argument 922 for (i = 0; i < n_words; ++i) { in ngram_model_add_class() 991 int n_words; in read_classdef_file() local 996 n_words = str2words(line, wptr, 2); in read_classdef_file() 997 if (n_words <= 0) in read_classdef_file() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/sphinxbase/src/libsphinxbase/lm/ |
H A D | ngram_model.c | 310 for (i = 0; i < model->n_words; ++i) { 678 if (wid >= model->n_words) 700 wid = model->n_words; 720 ++model->n_words; 887 for (i = 0; i < lmclass->n_words; ++i) 903 int32 n_words) 922 for (i = 0; i < n_words; ++i) { 991 int n_words; 996 n_words = str2words(line, wptr, 2); 997 if (n_words <= 0) [all …]
|
/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/lib/Motif/ |
H A D | output.c | 202 int nchars = 0, n_words; in _XmHTMLTextGetPlain() local 227 n_words = elePtr->n_words; in _XmHTMLTextGetPlain() 250 i+1 < n_words && in _XmHTMLTextGetPlain() 254 while(k < n_words) in _XmHTMLTextGetPlain() 263 && k+1 < n_words && in _XmHTMLTextGetPlain() 297 n_words = elePtr->n_words; in _XmHTMLTextGetPlain() 353 n_words = elePtr->n_words; in _XmHTMLTextGetPlain() 386 i+1 < n_words && in _XmHTMLTextGetPlain() 390 while(k < n_words) in _XmHTMLTextGetPlain() 402 && k+1 < n_words && in _XmHTMLTextGetPlain() [all …]
|