Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 37) sorted by relevance

12

/curl/lib/
H A Dstrtoofft.c73 static int get_char(char c, int base);
111 if(base == 16 || base == 0) { in strtooff()
113 base = 16; in strtooff()
117 if(base == 8 || base == 0) { in strtooff()
119 base = 8; in strtooff()
126 if(base == 0) { in strtooff()
127 base = 10; in strtooff()
131 for(i = get_char(end[0], base); in strtooff()
139 value = base * value + i; in strtooff()
173 static int get_char(char c, int base) in get_char() argument
[all …]
H A Dinet_ntop.c99 int base; in inet_ntop6() member
113 best.base = -1; in inet_ntop6()
114 cur.base = -1; in inet_ntop6()
120 if(cur.base == -1) { in inet_ntop6()
126 else if(cur.base != -1) { in inet_ntop6()
129 cur.base = -1; in inet_ntop6()
132 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop6()
135 best.base = -1; in inet_ntop6()
140 if(best.base != -1 && i >= best.base && i < (best.base + best.len)) { in inet_ntop6()
141 if(i == best.base) in inet_ntop6()
[all …]
H A Damigaos.c81 struct Library *base = OpenLibrary("bsdsocket.library", 4); in Curl_amiga_init() local
83 if(base) { in Curl_amiga_init()
84 ISocket = (struct SocketIFace *)GetInterface(base, "main", 1, NULL); in Curl_amiga_init()
102 CloseLibrary(base); in Curl_amiga_init()
111 struct Library *base = __CurlISocket->Data.LibBase; in Curl_amiga_cleanup() local
113 CloseLibrary(base); in Curl_amiga_cleanup()
155 struct Library *base = OpenLibrary("bsdsocket.library", 4); in Curl_ipv4_resolve_r() local
156 if(base) { in Curl_ipv4_resolve_r()
157 ISocket = (struct SocketIFace *)GetInterface(base, "main", 1, NULL); in Curl_ipv4_resolve_r()
165 CloseLibrary(base); in Curl_ipv4_resolve_r()
H A Dstrtoofft.h51 CURLofft curlx_strtoofft(const char *str, char **endp, int base,
H A Dmprintf.c773 base = 8; in formatf()
779 base = 16; in formatf()
784 base = 10; in formatf()
789 base = 10; in formatf()
807 switch(base) { in formatf()
816 *w-- = digits[num % base]; in formatf()
817 num /= base; in formatf()
824 if(is_alt && base == 8 && prec <= 0) { in formatf()
835 if(is_alt && base == 16) in formatf()
852 if(is_alt && base == 16) { in formatf()
[all …]
H A Dmime.c362 char *base; in strippath() local
367 base = strdup(basename(filename)); in strippath()
371 return base; /* returns an allocated string or NULL ! */ in strippath()
1415 char *base; in curl_mime_filedata() local
1439 base = strippath(filename); in curl_mime_filedata()
1440 if(!base) in curl_mime_filedata()
1443 result = curl_mime_filename(part, base); in curl_mime_filedata()
1444 free(base); in curl_mime_filedata()
/curl/docs/examples/
H A Dmulti-event.c35 struct event_base *base; variable
54 context->event = event_new(base, sockfd, 0, curl_perform, context); in create_curl_context()
191 event_assign(curl_context->event, base, curl_context->sockfd, events, in handle_socket()
220 base = event_base_new(); in main()
221 timeout = evtimer_new(base, on_timeout, NULL); in main()
231 event_base_dispatch(base); in main()
235 event_base_free(base); in main()
/curl/packages/vms/
H A Dpcsi_product_gnv_curl.com117 $ base = f$element(1, "-", kit_name)
137 $! Move to the base directories
157 $ base = ""
158 $ if arch_name .eqs. "ALPHA" then base = "AXPVMS"
159 $ if arch_name .eqs. "IA64" then base = "I64VMS"
160 $ if arch_name .eqs. "VAX" then base = "VAXVMS"
162 $ if base .eqs. "" then exit 44
172 /base='base' -
191 /version='version'/base='base'
H A Dmake_pcsi_curl_kit_name.com176 $! Write out a logical name for the resulting base kit name.
H A Dbackup_gnv_curl_src.com96 $! Move to the base directories
H A Dbuild_libcurl_pc.com38 $ base = f$element(1, "-", kit_name)
H A Dbuild_gnv_curl_pcsi_text.com54 $ base = f$element(1, "-", kit_name)
H A Dclean_gnv_curl.com38 $! Move to where the base directory is.
/curl/src/
H A Dtool_doswin.c445 char *p, *base; in rename_if_reserved_dos() local
474 base = basename(fname); in rename_if_reserved_dos()
481 for(p = fname; p; p = (p == fname && fname != base ? base : NULL)) { in rename_if_reserved_dos()
526 base = basename(fname); in rename_if_reserved_dos()
537 if(base && ((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) { in rename_if_reserved_dos()
539 size_t blen = strlen(base); in rename_if_reserved_dos()
543 memmove(base + 1, base, blen + 1); in rename_if_reserved_dos()
544 base[0] = '_'; in rename_if_reserved_dos()
H A Dtool_paramhlp.c165 static ParameterError getnum(long *val, const char *str, int base) in getnum() argument
173 num = strtol(str, &endptr, base); in getnum()
/curl/tests/data/
H A Dtest117637 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o '%LOGDIR/base-#0'
51 <file name="%LOGDIR/base-#0">
/curl/tests/libtest/
H A Dlib570.c28 static char *suburl(const char *base, int i) in suburl() argument
30 return curl_maprintf("%s%.4d", base, i); in suburl()
H A Dlib569.c28 static char *suburl(const char *base, int i) in suburl() argument
30 return curl_maprintf("%s%.4d", base, i); in suburl()
H A Dlib568.c36 static char *suburl(const char *base, int i) in suburl() argument
38 return curl_maprintf("%s%.4d", base, i); in suburl()
H A Dlib572.c36 static char *suburl(const char *base, int i) in suburl() argument
38 return curl_maprintf("%s%.4d", base, i); in suburl()
H A Dlib571.c98 static char *suburl(const char *base, int i) in suburl() argument
100 return curl_maprintf("%s%.4d", base, i); in suburl()
H A Dlib506.c168 static char *suburl(const char *base, int i) in suburl() argument
170 return curl_maprintf("%s%.4d", base, i); in suburl()
/curl/packages/OS400/
H A Dos400sys.c580 Curl_ldap_search_s_a(void *ld, char *base, int scope, char *filter, in Curl_ldap_search_s_a() argument
595 if(base) { in Curl_ldap_search_s_a()
596 i = strlen(base); in Curl_ldap_search_s_a()
602 QadrtConvertA2E(ebase, base, i, i); in Curl_ldap_search_s_a()
/curl/docs/libcurl/
H A Dcurl_mime_filedata.md44 As a side effect, the part's remote filename is set to the base name of the
/curl/lib/vquic/
H A Dcurl_ngtcp2.c1032 (const char *)h3val.base, h3val.len); in cb_h3_recv_header()
1039 (const char *)h3val.base, h3val.len); in cb_h3_recv_header()
1054 stream_id, (int)h3name.len, h3name.base, in cb_h3_recv_header()
1055 (int)h3val.len, h3val.base); in cb_h3_recv_header()
1058 (const char *)h3name.base, h3name.len); in cb_h3_recv_header()
1063 (const char *)h3val.base, h3val.len); in cb_h3_recv_header()
1349 (const unsigned char **)&vec[nvecs].base, in cb_h3_read_req_body()

Completed in 60 milliseconds

12