Searched refs:as (Results 1 - 25 of 404) sorted by relevance

1234567891011>>

/freebsd-10.3-release/usr.bin/csup/
H A Dattrstack.c47 struct attrstack *as; local
49 as = xmalloc(sizeof(struct attrstack));
50 as->stack = xmalloc(sizeof(struct fattr *) * ATTRSTACK_DEFSIZE);
51 as->size = ATTRSTACK_DEFSIZE;
52 as->cur = 0;
53 return (as);
57 attrstack_pop(struct attrstack *as) argument
60 assert(as->cur > 0);
61 return (as->stack[--as
65 attrstack_push(struct attrstack *as, struct fattr *fa) argument
77 attrstack_size(struct attrstack *as) argument
84 attrstack_free(struct attrstack *as) argument
[all...]
/freebsd-10.3-release/sys/net80211/
H A Dieee80211_acl.c63 * NB: ACL_POLICY_RADIUS must be the same value as
100 struct aclstate *as; local
102 as = (struct aclstate *) malloc(sizeof(struct aclstate),
104 if (as == NULL)
106 ACL_LOCK_INIT(as, "acl");
107 TAILQ_INIT(&as->as_list);
108 as->as_policy = ACL_POLICY_OPEN;
109 as->as_vap = vap;
110 vap->iv_as = as;
118 struct aclstate *as local
130 _find_acl(struct aclstate *as, const uint8_t *macaddr) argument
144 _acl_free(struct aclstate *as, struct acl *acl) argument
157 struct aclstate *as = vap->iv_as; local
174 struct aclstate *as = vap->iv_as; local
212 struct aclstate *as = vap->iv_as; local
231 struct aclstate *as = vap->iv_as; local
247 struct aclstate *as = vap->iv_as; local
274 struct aclstate *as = vap->iv_as; local
289 struct aclstate *as = vap->iv_as; local
[all...]
/freebsd-10.3-release/contrib/libarchive/libarchive/
H A Darchive_string_sprintf.c54 append_uint(struct archive_string *as, uintmax_t d, unsigned base) argument
58 append_uint(as, d/base, base);
59 archive_strappend_char(as, digits[d % base]);
63 append_int(struct archive_string *as, intmax_t d, unsigned base) argument
68 archive_strappend_char(as, '-');
72 append_uint(as, ud, base);
77 archive_string_sprintf(struct archive_string *as, const char *fmt, ...) argument
82 archive_string_vsprintf(as, fmt, ap);
91 archive_string_vsprintf(struct archive_string *as, const char *fmt, argument
100 if (archive_string_ensure(as, 6
[all...]
H A Darchive_cmdline.c45 extract_quotation(struct archive_string *as, const char *p) argument
52 archive_strappend_char(as, s[1]);
59 archive_strappend_char(as, s[0]);
69 get_argument(struct archive_string *as, const char *p) argument
73 archive_string_empty(as);
82 archive_strappend_char(as, s[1]);
89 ssize_t q = extract_quotation(as, s);
94 archive_strappend_char(as, s[0]);
111 struct archive_string as; local
116 archive_string_init(&as);
[all...]
H A Darchive_string.c202 archive_string_append(struct archive_string *as, const char *p, size_t s) argument
204 if (archive_string_ensure(as, as->length + s + 1) == NULL)
206 memcpy(as->s + as->length, p, s);
207 as->length += s;
208 as->s[as->length] = 0;
209 return (as);
213 archive_wstring_append(struct archive_wstring *as, cons argument
239 archive_string_free(struct archive_string *as) argument
248 archive_wstring_free(struct archive_wstring *as) argument
257 archive_wstring_ensure(struct archive_wstring *as, size_t s) argument
266 archive_string_ensure(struct archive_string *as, size_t s) argument
328 archive_strncat(struct archive_string *as, const void *_p, size_t n) argument
348 archive_wstrncat(struct archive_wstring *as, const wchar_t *p, size_t n) argument
366 archive_strcat(struct archive_string *as, const void *p) argument
378 archive_wstrcat(struct archive_wstring *as, const wchar_t *p) argument
385 archive_strappend_char(struct archive_string *as, char c) argument
393 archive_wstrappend_wchar(struct archive_wstring *as, wchar_t c) argument
653 archive_string_append_from_wcs(struct archive_string *as, const wchar_t *w, size_t len) argument
660 archive_string_append_from_wcs_in_codepage(struct archive_string *as, const wchar_t *ws, size_t len, struct archive_string_conv *sc) argument
756 archive_string_append_from_wcs(struct archive_string *as, const wchar_t *w, size_t len) argument
829 archive_string_append_from_wcs(struct archive_string *as, const wchar_t *w, size_t len) argument
1929 archive_strncpy_l(struct archive_string *as, const void *_p, size_t n, struct archive_string_conv *sc) argument
1937 archive_strncat_l(struct archive_string *as, const void *_p, size_t n, struct archive_string_conv *sc) argument
1997 iconv_strncat_in_locale(struct archive_string *as, const void *_p, size_t length, struct archive_string_conv *sc) argument
2099 strncat_in_codepage(struct archive_string *as, const void *_p, size_t length, struct archive_string_conv *sc) argument
2201 best_effort_strncat_in_locale(struct archive_string *as, const void *_p, size_t length, struct archive_string_conv *sc) argument
2647 strncat_from_utf8_to_utf8(struct archive_string *as, const void *_p, size_t len, struct archive_string_conv *sc) argument
2721 archive_string_append_unicode(struct archive_string *as, const void *_p, size_t len, struct archive_string_conv *sc) argument
2936 archive_string_normalize_C(struct archive_string *as, const void *_p, size_t len, struct archive_string_conv *sc) argument
3243 archive_string_normalize_D(struct archive_string *as, const void *_p, size_t len, struct archive_string_conv *sc) argument
3424 strncat_from_utf8_libarchive2(struct archive_string *as, const void *_p, size_t len, struct archive_string_conv *sc) argument
3508 win_strncat_from_utf16(struct archive_string *as, const void *_p, size_t bytes, struct archive_string_conv *sc, int be) argument
3605 win_strncat_from_utf16be(struct archive_string *as, const void *_p, size_t bytes, struct archive_string_conv *sc) argument
3612 win_strncat_from_utf16le(struct archive_string *as, const void *_p, size_t bytes, struct archive_string_conv *sc) argument
3735 best_effort_strncat_from_utf16(struct archive_string *as, const void *_p, size_t bytes, struct archive_string_conv *sc, int be) argument
3775 best_effort_strncat_from_utf16be(struct archive_string *as, const void *_p, size_t bytes, struct archive_string_conv *sc) argument
3782 best_effort_strncat_from_utf16le(struct archive_string *as, const void *_p, size_t bytes, struct archive_string_conv *sc) argument
[all...]
H A Darchive_string.h76 /* Append a C char to an archive_string, resizing as necessary. */
140 /* Ensure that the underlying buffer is at least as large as the request. */
149 * Declaring it "char *" as with some of the other functions just
156 /* Append a C string to an archive_string, resizing as necessary. */
162 /* Copy a C string to an archive_string, resizing as necessary. */
163 #define archive_strcpy(as,p) \
164 archive_strncpy((as), (p), ((p) == NULL ? 0 : strlen(p)))
165 #define archive_wstrcpy(as,p) \
166 archive_wstrncpy((as), (
[all...]
H A Darchive_write_add_filter_lrzip.c132 struct archive_string as; local
135 archive_string_init(&as);
136 archive_strcpy(&as, "lrzip -q");
143 archive_strcat(&as, " -b");
146 archive_strcat(&as, " -g");
149 archive_strcat(&as, " -l");
152 archive_strcat(&as, " -z");
158 archive_strcat(&as, " -L ");
159 archive_strappend_char(&as, '0' + data->compression_level);
162 r = __archive_write_program_open(f, data->pdata, as
[all...]
H A Darchive_write_add_filter_uuencode.c172 uu_encode(struct archive_string *as, const unsigned char *p, size_t len) argument
177 archive_strappend_char(as, c?c + 0x20:'`');
180 archive_strappend_char(as, c?c + 0x20:'`');
182 archive_strappend_char(as, c?c + 0x20:'`');
184 archive_strappend_char(as, c?c + 0x20:'`');
186 archive_strappend_char(as, c?c + 0x20:'`');
190 archive_strappend_char(as, c?c + 0x20:'`');
193 archive_strappend_char(as, c?c + 0x20:'`');
194 archive_strappend_char(as, '`');
195 archive_strappend_char(as, '`');
[all...]
H A Darchive_write_add_filter_b64encode.c183 b64_encode(struct archive_string *as, const unsigned char *p, size_t len) argument
189 archive_strappend_char(as, base64[c]);
191 archive_strappend_char(as, base64[c]);
193 archive_strappend_char(as, base64[c]);
195 archive_strappend_char(as, base64[c]);
199 archive_strappend_char(as, base64[c]);
202 archive_strappend_char(as, base64[c]);
203 archive_strappend_char(as, '=');
204 archive_strappend_char(as, '=');
207 archive_strappend_char(as, base6
[all...]
/freebsd-10.3-release/usr.bin/clang/llvm-as/
H A DMakefile1 # $FreeBSD: releng/10.3/usr.bin/clang/llvm-as/Makefile 249423 2013-04-12 17:57:40Z dim $
5 PROG_CXX=llvm-as
7 SRCDIR= tools/llvm-as
8 SRCS= llvm-as.cpp
/freebsd-10.3-release/crypto/openssh/
H A Dauth-bsdauth.c64 if (authctxt->as != NULL) {
66 challenge = auth_getitem(authctxt->as, AUTHV_CHALLENGE);
68 auth_close(authctxt->as);
69 authctxt->as = NULL;
77 authctxt->as = auth_userchallenge(authctxt->user,
79 if (authctxt->as == NULL)
106 if (authctxt->as == NULL)
112 authok = auth_userresponse(authctxt->as, responses[0], 0);
113 authctxt->as = NULL;
124 if (authctxt && authctxt->as) {
[all...]
H A Dauth-passwd.c9 * As far as I am concerned, the code I have written for this software
11 * software must be clearly marked as such, and if the derived work is
139 warn_expiry(Authctxt *authctxt, auth_session_t *as) argument
146 pwtimeleft = auth_check_change(as);
147 actimeleft = auth_check_expire(as);
176 auth_session_t *as; local
179 as = auth_usercheck(pw->pw_name, authctxt->style, "auth-ssh",
181 if (as == NULL)
183 if (auth_getstate(as) & AUTH_PWEXPIRED) {
184 auth_close(as);
[all...]
/freebsd-10.3-release/sys/dev/acpica/Osd/
H A DOsdSynch.c81 struct acpi_sema *as; local
88 if ((as = malloc(sizeof(*as), M_ACPISEM, M_NOWAIT | M_ZERO)) == NULL)
91 snprintf(as->as_name, sizeof(as->as_name), "ACPI sema (%p)", as);
92 mtx_init(&as->as_lock, as->as_name, NULL, MTX_DEF);
93 cv_init(&as->as_cv, as
108 struct acpi_sema *as = (struct acpi_sema *)Handle; local
154 struct acpi_sema *as = (struct acpi_sema *)Handle; local
222 struct acpi_sema *as = (struct acpi_sema *)Handle; local
[all...]
/freebsd-10.3-release/gnu/usr.bin/binutils/
H A DMakefile4 addr2line as ld nm objcopy objdump readelf \
/freebsd-10.3-release/share/doc/psd/20.ipctut/
H A Dpipe.c36 #define DATA "Bright star, would I were steadfast as thou art . . ."
/freebsd-10.3-release/sys/kgssapi/krb5/
H A Dkcrypto_aes.c52 struct aes_state *as; local
54 as = malloc(sizeof(struct aes_state), M_GSSAPI, M_WAITOK|M_ZERO);
55 mtx_init(&as->as_lock, "gss aes lock", NULL, MTX_DEF);
56 ks->ks_priv = as;
62 struct aes_state *as = ks->ks_priv; local
64 if (as->as_session)
65 crypto_freesession(as->as_session);
66 mtx_destroy(&as->as_lock);
74 struct aes_state *as = ks->ks_priv; local
80 if (as
115 struct aes_state *as = (struct aes_state *) crp->crp_opaque; local
135 struct aes_state *as = ks->ks_priv; local
314 struct aes_state *as = ks->ks_priv; local
[all...]
/freebsd-10.3-release/crypto/heimdal/lib/sl/
H A Dslc-gram.y126 check_option(struct assignment *as)
138 for(a = as; a != NULL; a = a->next) {
159 ex(as, "neither long nor short option");
163 ex(as, "either of long or name option must be used");
167 ex(as, "multiple long options");
171 ex(as, "multiple short options");
175 ex(as, "multiple types");
179 ex(as, "multiple arguments");
183 ex(as, "multiple help strings");
187 ex(as, "multipl
[all...]
/freebsd-10.3-release/contrib/ntp/sntp/libevent/
H A Dlistener.c521 free_and_unlock_accepting_socket(struct accepting_socket *as) argument
524 if (as->s != INVALID_SOCKET)
525 closesocket(as->s);
527 LeaveCriticalSection(&as->lock);
528 DeleteCriticalSection(&as->lock);
529 mm_free(as);
533 start_accepting(struct accepting_socket *as) argument
538 SOCKET s = socket(as->family, SOCK_STREAM, 0);
541 if (!as->lev->base.enabled)
552 (char *)&as
587 stop_accepting(struct accepting_socket *as) argument
598 struct accepting_socket *as = arg; local
665 struct accepting_socket *as = local
715 struct accepting_socket *as = lev_iocp->accepting[i]; local
737 struct accepting_socket *as = lev_iocp->accepting[i]; local
[all...]
/freebsd-10.3-release/contrib/ntp/tests/libntp/
H A Drefidsmear.c51 char *as; local
59 as = lfptoa(&l, 8);
61 //printf("refid %#x, smear %s\n", r, as);
63 TEST_ASSERT_NOT_NULL_MESSAGE(as, msg);
64 TEST_ASSERT_EQUAL_STRING_MESSAGE(es, as, msg);
74 char *as; local
83 as = lfptoa(&l, 8);
89 TEST_ASSERT_NOT_NULL_MESSAGE(as, msg);
90 TEST_ASSERT_EQUAL_STRING_MESSAGE(es, as, msg);
/freebsd-10.3-release/sys/dev/acpi_support/
H A Datk0110.c142 struct aibs_sensor *as; local
199 as = malloc(sizeof(*as) * n, M_DEVBUF, M_NOWAIT | M_ZERO);
200 if (as == NULL) {
207 sc->sc_asens_volt = as;
210 sc->sc_asens_temp = as;
213 sc->sc_asens_fan = as;
246 as[i].i = oi[0].Integer.Value;
248 as[i].l = oi[2].Integer.Value;
249 as[
299 struct aibs_sensor *as; local
[all...]
/freebsd-10.3-release/sys/sys/
H A Dsyslimits.h38 #error this file needs sys/cdefs.h as a prerequisite
/freebsd-10.3-release/contrib/netbsd-tests/net/net/
H A Dt_tcp.c72 int srvr = -1, clnt = -1, as = -1; local
108 as = paccept(srvr, NULL, NULL, NULL, pacceptblock ? 0 : SOCK_NONBLOCK);
123 if (as == -1) { /* not true under NetBSD */
124 as = paccept(srvr, NULL, NULL, NULL, pacceptblock ? 0 : SOCK_NONBLOCK);
125 if (as == -1)
129 fl = fcntl(as, F_GETFL, 0);
134 ok = fcntl(as, F_SETFL, fl & ~O_NONBLOCK);
138 fl = fcntl(as, F_GETFL, 0);
147 n = read(as, buf, 10);
160 close(as);
[all...]
/freebsd-10.3-release/contrib/binutils/gas/doc/
H A DMakefile.am8 # Options to extract the man page from as.texinfo
16 man_MANS = as.1
18 info_TEXINFOS = as.texinfo
69 # We want install to imply install-info as per GNU standards, despite the
113 as.1: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS)
115 -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
116 -($(POD2MAN) as.pod | \
120 rm -f as
[all...]
H A DMakefile.in8 # with or without modifications, as long as this notice is preserved.
61 INFO_DEPS = as.info
64 DVIS = as.dvi
65 PDFS = as.pdf
66 PSS = as.ps
67 HTMLS = as.html
68 TEXINFOS = as.texinfo
219 # Options to extract the man page from as.texinfo
225 man_MANS = as
[all...]
/freebsd-10.3-release/crypto/heimdal/lib/hx509/
H A Dks_p12.c330 PKCS12_AuthenticatedSafe as; local
410 &as,
419 for (i = 0; i < as.len; i++)
422 &as.val[i].contentType,
423 as.val[i].content->data,
424 as.val[i].content->length,
427 free_PKCS12_AuthenticatedSafe(&as);
449 PKCS12_AuthenticatedSafe *as,
457 ptr = realloc(as->val, sizeof(as
448 addBag(hx509_context context, PKCS12_AuthenticatedSafe *as, const heim_oid *oid, void *data, size_t length) argument
488 PKCS12_AuthenticatedSafe *as = ctx; local
569 PKCS12_AuthenticatedSafe as; local
[all...]

Completed in 424 milliseconds

1234567891011>>