Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/NextBSD/sys/net/
HDslcompress.c54 #define INCR(counter) ++comp->counter;
63 sl_compress_init(comp, max_state) in sl_compress_init() argument
64 struct slcompress *comp; in sl_compress_init()
68 register struct cstate *tstate = comp->tstate;
72 bzero((char *)comp, sizeof(*comp));
75 bzero((char *)comp->tstate, sizeof(comp->tstate));
76 bzero((char *)comp->rstate, sizeof(comp->rstate));
84 comp->last_cs = &tstate[0];
85 comp->last_recv = 255;
86 comp->last_xmit = 255;
[all …]
/NextBSD/contrib/less/
HDpattern.c33 struct re_pattern_buffer *comp = (struct re_pattern_buffer *) local
38 if (re_compile_pattern(pattern, strlen(pattern), comp))
40 free(comp);
47 *pcomp = comp;
50 regex_t *comp = (regex_t *) ecalloc(1, sizeof(regex_t)); local
52 if (regcomp(comp, pattern, REGCOMP_FLAG))
54 free(comp);
61 *pcomp = comp;
64 pcre *comp; local
69 comp = pcre_compile(pattern, 0,
[all …]
/NextBSD/usr.sbin/ppp/
HDslcompress.c84 sl_compress_init(struct slcompress *comp, int max_state) in sl_compress_init() argument
87 register struct cstate *tstate = comp->tstate; in sl_compress_init()
89 memset(comp, '\0', sizeof *comp); in sl_compress_init()
96 comp->last_cs = &tstate[0]; in sl_compress_init()
97 comp->last_recv = 255; in sl_compress_init()
98 comp->last_xmit = 255; in sl_compress_init()
99 comp->flags = SLF_TOSS; in sl_compress_init()
159 struct slcompress *comp, in sl_compress_tcp() argument
163 register struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
213 register struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
[all …]
/NextBSD/contrib/libc++/include/
Dqueue107 Compare comp;
119 explicit priority_queue(const Compare& comp);
120 priority_queue(const Compare& comp, const container_type& c);
121 explicit priority_queue(const Compare& comp, container_type&& c);
124 const Compare& comp = Compare());
127 const Compare& comp, const container_type& c);
130 const Compare& comp, container_type&& c);
134 priority_queue(const Compare& comp, const Alloc& a);
136 priority_queue(const Compare& comp, const container_type& c,
139 priority_queue(const Compare& comp, container_type&& c,
[all …]
/NextBSD/usr.sbin/mfiutil/
HDmfiutil.c160 scan_firmware(struct mfi_info_component *comp) in scan_firmware() argument
164 len = strlen(comp->name); in scan_firmware()
167 len = strlen(comp->version); in scan_firmware()
170 len = strlen(comp->build_date); in scan_firmware()
173 len = strlen(comp->build_time); in scan_firmware()
179 display_firmware(struct mfi_info_component *comp, const char *tag) in display_firmware() argument
182 printf("%-*s %-*s %-*s %-*s %s\n", fw_name_width, comp->name, in display_firmware()
183 fw_version_width, comp->version, fw_date_width, comp->build_date, in display_firmware()
184 fw_time_width, comp->build_time, tag); in display_firmware()
/NextBSD/sys/geom/virstor/
HDg_virstor.c117 static void dump_component(struct g_virstor_component *comp);
660 clear_metadata(struct g_virstor_component *comp) in clear_metadata() argument
666 comp->gcons->provider->name); in clear_metadata()
668 error = g_access(comp->gcons, 0, 1, 0); in clear_metadata()
671 buf = malloc(comp->gcons->provider->sectorsize, M_GVIRSTOR, in clear_metadata()
673 error = g_write_data(comp->gcons, in clear_metadata()
674 comp->gcons->provider->mediasize - in clear_metadata()
675 comp->gcons->provider->sectorsize, in clear_metadata()
677 comp->gcons->provider->sectorsize); in clear_metadata()
679 g_access(comp->gcons, 0, -1, 0); in clear_metadata()
[all …]
/NextBSD/usr.bin/calendar/
HDsunpos.c56 comp(char *s, double v, double c) in comp() function
166 comp("ZJ", ZJ, expZJ); in sunpos()
167 comp("UTHM", UTHM, expUTHM); in sunpos()
168 comp("D", D, expD); in sunpos()
169 comp("T", T, expT); in sunpos()
170 comp("L", L, fixup(&expL)); in sunpos()
171 comp("M", M, fixup(&expM)); in sunpos()
172 comp("epsilon", epsilon, fixup(&expepsilon)); in sunpos()
173 comp("lambda", lambda, fixup(&explambda)); in sunpos()
174 comp("alpha", alpha, fixup(&expalpha)); in sunpos()
[all …]
/NextBSD/contrib/libarchive/libarchive/test/
HDtest_read_format_cab.c184 verify(const char *refname, enum comp_type comp) in verify() argument
208 if (comp != STORE) { in verify()
221 if (comp == MSZIP && rsize == ARCHIVE_FATAL && !libz_enabled) { in verify()
256 if (comp != STORE) { in verify()
276 verify2(const char *refname, enum comp_type comp) in verify2() argument
283 if (comp == MSZIP && !libz_enabled) { in verify2()
298 if (comp != STORE) { in verify2()
317 if (comp != STORE) { in verify2()
336 verify3(const char *refname, enum comp_type comp) in verify3() argument
352 if (comp != STORE) { in verify3()
[all …]
/NextBSD/libexec/fingerd/
HDfingerd.c73 char **ap, *av[ENTRIES + 1], **comp, line[1024], *prog; in main() local
148 comp = &av[2]; in main()
151 *comp-- = "-k"; in main()
168 *comp-- = "-l"; in main()
178 *comp = ++lp; in main()
180 *comp = prog; in main()
186 for (ap = comp; *ap != NULL; ++ap) in main()
200 execv(prog, comp); in main()
/NextBSD/crypto/openssl/crypto/stack/
HDstack.c83 int (*old) (const void *, const void *) = sk->comp; in sk_set_cmp_func()
85 if (sk->comp != c) in sk_set_cmp_func()
87 sk->comp = c; in sk_set_cmp_func()
97 if ((ret = sk_new(sk->comp)) == NULL) in sk_dup()
110 ret->comp = sk->comp; in sk_dup()
126 ret->comp = sk->comp; in sk_deep_copy()
168 ret->comp = c; in sk_new()
255 if (st->comp == NULL) { in internal_find()
264 r = OBJ_bsearch_ex_(&data, st->data, st->num, sizeof(void *), st->comp, in internal_find()
373 comp_func = (int (*)(const void *, const void *))(st->comp); in sk_sort()
/NextBSD/contrib/apr/tables/
HDapr_skiplist.c250 apr_skiplist_compare comp, in apr_skiplist_set_compare() argument
254 apr_skiplist_add_index(sl, comp, compk); in apr_skiplist_set_compare()
257 sl->compare = comp; in apr_skiplist_set_compare()
263 apr_skiplist_compare comp, in apr_skiplist_add_index() argument
269 apr_skiplist_find(sl->index, (void *)comp, &m); in apr_skiplist_add_index()
274 apr_skiplist_set_compare(ni, comp, compk); in apr_skiplist_add_index()
302 apr_skiplist_compare comp) in skiplisti_find_compare() argument
309 int compared = comp(data, m->next->data); in skiplisti_find_compare()
333 apr_skiplist_compare comp) in apr_skiplist_find_compare() argument
337 if (!comp) { in apr_skiplist_find_compare()
[all …]
/NextBSD/usr.bin/mt/
HDmt.c203 static const char *comptostring(u_int32_t comp);
209 const struct commands *comp; in main() local
239 for (comp = com;; comp++) { in main()
240 if (comp->c_name == NULL) in main()
242 if (strncmp(p, comp->c_name, len) == 0) in main()
245 if((comp->c_flags & NEED_2ARGS) && argc != 2) in main()
247 if(comp->c_flags & DISABLE_THIS) { in main()
250 if (comp->c_flags & USE_GETOPT) { in main()
255 if ((mtfd = open(tape, comp->c_ronly ? O_RDONLY : O_RDWR)) < 0) in main()
257 if (comp->c_code != MTNOP) { in main()
[all …]
/NextBSD/lib/libc/gen/
HDfmtmsg.c117 char *comp, *output; in printfmt() local
135 while ((comp = nextcomp(msgverb)) != NULL) { in printfmt()
136 if (strcmp(comp, "label") == 0 && label != MM_NULLLBL) { in printfmt()
139 } else if (strcmp(comp, "severity") == 0 && sevname != NULL) { in printfmt()
142 } else if (strcmp(comp, "text") == 0 && text != MM_NULLTXT) { in printfmt()
145 } else if (strcmp(comp, "action") == 0 && act != MM_NULLACT) { in printfmt()
149 } else if (strcmp(comp, "tag") == 0 && tag != MM_NULLTAG) { in printfmt()
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDblkptr.c48 enum zio_compress comp, int uncompressed_size, int compressed_size) in encode_embedded_bp_compressed() argument
56 comp != ZIO_COMPRESS_OFF); in encode_embedded_bp_compressed()
57 ASSERT3U(comp, >=, ZIO_COMPRESS_OFF); in encode_embedded_bp_compressed()
58 ASSERT3U(comp, <, ZIO_COMPRESS_FUNCTIONS); in encode_embedded_bp_compressed()
62 BP_SET_COMPRESS(bp, comp); in encode_embedded_bp_compressed()
/NextBSD/contrib/ofed/management/opensm/osmtest/
HDosmtest.c3027 if ((p_path->comp.dlid == 0) || (p_path->comp.slid == 0)) { in osmtest_path_rec_kay_is_valid()
3088 if ((p_path->comp.dgid.unicast.interface_id & in osmtest_validate_path_data()
3090 (p_path->comp.dgid.unicast.interface_id & in osmtest_validate_path_data()
3109 if ((p_path->comp.sgid.unicast.interface_id & in osmtest_validate_path_data()
3111 (p_path->comp.sgid.unicast.interface_id & in osmtest_validate_path_data()
3130 if ((p_path->comp.pkey & p_path->rec.pkey) != in osmtest_validate_path_data()
3131 (p_path->comp.pkey & p_rec->pkey)) { in osmtest_validate_path_data()
3178 if ((p_node->comp.lid & p_node->rec.lid) != in osmtest_validate_node_data()
3179 (p_node->comp.lid & p_rec->lid)) { in osmtest_validate_node_data()
3189 if ((p_node->comp.node_info.base_version & in osmtest_validate_node_data()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Commands/
HDCommandCompletions.cpp614 regex_chars (const char comp) in regex_chars() argument
616 if (comp == '[' || comp == ']' || in regex_chars()
617 comp == '(' || comp == ')' || in regex_chars()
618 comp == '{' || comp == '}' || in regex_chars()
619 comp == '+' || in regex_chars()
620 comp == '.' || in regex_chars()
621 comp == '*' || in regex_chars()
622 comp == '|' || in regex_chars()
623 comp == '^' || in regex_chars()
624 comp == '$' || in regex_chars()
[all …]
/NextBSD/crypto/heimdal/lib/krb5/
HDprincipal.c193 heim_general_string *comp; in krb5_parse_name_flags() local
239 comp = calloc(ncomp, sizeof(*comp)); in krb5_parse_name_flags()
240 if (comp == NULL) { in krb5_parse_name_flags()
249 free (comp); in krb5_parse_name_flags()
282 comp[n] = malloc(q - start + 1); in krb5_parse_name_flags()
283 if (comp[n] == NULL) { in krb5_parse_name_flags()
289 memcpy(comp[n], start, q - start); in krb5_parse_name_flags()
290 comp[n][q - start] = 0; in krb5_parse_name_flags()
338 comp[n] = malloc(q - start + 1); in krb5_parse_name_flags()
339 if (comp[n] == NULL) { in krb5_parse_name_flags()
[all …]
/NextBSD/contrib/libstdc++/include/bits/
Dstl_queue.h343 _Compare comp; variable
352 : c(__s), comp(__x) in c()
353 { std::make_heap(c.begin(), c.end(), comp); } in c()
374 : c(__s), comp(__x) in c()
378 std::make_heap(c.begin(), c.end(), comp); in c()
416 std::push_heap(c.begin(), c.end(), comp); in push()
434 std::pop_heap(c.begin(), c.end(), comp); in pop()
/NextBSD/crypto/openssl/ssl/
HDssl_ciph.c483 SSL_COMP *comp = NULL; in load_builtin_compressions() local
488 comp = (SSL_COMP *)OPENSSL_malloc(sizeof(SSL_COMP)); in load_builtin_compressions()
489 if (comp != NULL) { in load_builtin_compressions()
490 comp->method = COMP_zlib(); in load_builtin_compressions()
491 if (comp->method && comp->method->type == NID_undef) in load_builtin_compressions()
492 OPENSSL_free(comp); in load_builtin_compressions()
494 comp->id = SSL_COMP_ZLIB_IDX; in load_builtin_compressions()
495 comp->name = comp->method->name; in load_builtin_compressions()
496 sk_SSL_COMP_push(ssl_comp_methods, comp); in load_builtin_compressions()
514 int *mac_secret_size, SSL_COMP **comp) in ssl_cipher_get_evp() argument
[all …]
HDssl_txt.c227 SSL_COMP *comp = NULL; in SSL_SESSION_print() local
229 ssl_cipher_get_evp(x, NULL, NULL, NULL, NULL, &comp); in SSL_SESSION_print()
230 if (comp == NULL) { in SSL_SESSION_print()
236 (bp, "\n Compression: %d (%s)", comp->id, in SSL_SESSION_print()
237 comp->method->name) <= 0) in SSL_SESSION_print()
/NextBSD/crypto/openssh/
HDpacket.c743 Comp *comp; in set_newkeys() local
766 comp = &active_state->newkeys[mode]->comp; in set_newkeys()
776 free(comp->name); in set_newkeys()
784 comp = &active_state->newkeys[mode]->comp; in set_newkeys()
794 if ((comp->type == COMP_ZLIB || in set_newkeys()
795 (comp->type == COMP_DELAYED && in set_newkeys()
796 active_state->after_authentication)) && comp->enabled == 0) { in set_newkeys()
802 comp->enabled = 1; in set_newkeys()
825 Comp *comp = NULL; in packet_enable_delayed_compress() local
837 comp = &active_state->newkeys[mode]->comp; in packet_enable_delayed_compress()
[all …]
/NextBSD/contrib/ntp/ntpd/
HDrefclock_irig.c227 double comp[SIZE]; /* decompanding table */ member
363 up->comp[0] = up->comp[OFFSET] = 0.; in irig_start()
364 up->comp[1] = 1; up->comp[OFFSET + 1] = -1.; in irig_start()
365 up->comp[2] = 3; up->comp[OFFSET + 2] = -3.; in irig_start()
368 up->comp[i] = up->comp[i - 1] + step; in irig_start()
369 up->comp[OFFSET + i] = -up->comp[i]; in irig_start()
435 sample = up->comp[~*dpt++ & 0xff]; in irig_receive()
/NextBSD/usr.bin/comm/
HDcomm.c71 int comp, read1, read2; in main() local
160 comp = strcmp(line1, line2); in main()
162 comp = wcscoll(tline1, tline2); in main()
169 if (!comp) { in main()
177 if (comp < 0) { in main()
/NextBSD/contrib/gcclibs/libiberty/
HDsplay-tree.c148 cmp1 = (*sp->comp) (key, n->key); in splay_tree_splay()
164 cmp2 = (*sp->comp) (key, c->key); in splay_tree_splay()
271 sp->comp = compare_fn; in splay_tree_new_with_allocator()
302 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_insert()
351 if (sp->root && (*sp->comp) (sp->root->key, key) == 0) in splay_tree_remove()
391 if (sp->root && (*sp->comp)(sp->root->key, key) == 0) in splay_tree_lookup()
445 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_predecessor()
476 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_successor()
/NextBSD/contrib/binutils/libiberty/
HDsplay-tree.c148 cmp1 = (*sp->comp) (key, n->key); in splay_tree_splay()
164 cmp2 = (*sp->comp) (key, c->key); in splay_tree_splay()
271 sp->comp = compare_fn; in splay_tree_new_with_allocator()
302 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_insert()
351 if (sp->root && (*sp->comp) (sp->root->key, key) == 0) in splay_tree_remove()
391 if (sp->root && (*sp->comp)(sp->root->key, key) == 0) in splay_tree_lookup()
445 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_predecessor()
476 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_successor()

12345678910>>...12