Searched refs:cdir (Results 1 – 8 of 8) sorted by relevance
/external/libvncserver/x11vnc/ |
D | sslcmds.c | 57 void sslGenCA(char *cdir); 483 char *cdir, *home, *tmp; in get_Cert_dir() local 490 cdir = cdir_in; in get_Cert_dir() 492 cdir = ssl_certs_dir; in get_Cert_dir() 495 if (cdir == NULL) { in get_Cert_dir() 500 cdir = (char *) malloc(strlen(home) + strlen("/.vnc/certs/CA") + 1); in get_Cert_dir() 502 sprintf(cdir, "%s%s", home, cases1[i]); in get_Cert_dir() 503 if (stat(cdir, &sbuf) != 0) { in get_Cert_dir() 504 rfbLog("creating dir: %s\n", cdir); in get_Cert_dir() 505 if (mkdir(cdir, 0755) != 0) { in get_Cert_dir() [all …]
|
D | sslcmds.h | 44 extern void sslGenCA(char *cdir);
|
D | sslhelper.c | 89 char *s = NULL, *path, *cdir, *tmp; in get_saved_pem() local 116 cdir = get_Cert_dir(NULL, &tmp); in get_saved_pem() 117 if (! cdir || ! tmp) { in get_saved_pem() 122 len = strlen(cdir) + strlen("/server.pem") + strlen(s) + 1; in get_saved_pem() 125 sprintf(path, "%s/server%s.pem", cdir, s); in get_saved_pem() 548 char *p, *str, *cdir, *tmp; in get_ssl_verify_file() local 564 cdir = get_Cert_dir(NULL, &tmp); in get_ssl_verify_file() 565 if (! cdir || ! tmp) { in get_ssl_verify_file() 596 sprintf(tfile2, "%s/CA/cacert.pem", cdir); in get_ssl_verify_file() 608 sprintf(tfile2, "%s/clients", cdir); in get_ssl_verify_file() [all …]
|
D | x11vnc.c | 2849 char *cdir = NULL; in main() local 2853 cdir = strdup(s); in main() 2857 sslGenCA(cdir); in main()
|
/external/toybox/toys/pending/ |
D | crontab.c | 31 char *cdir; 215 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, name); in do_list() 224 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, name); in do_remove() 233 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, dest); in update_crontab() 275 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, pwd->pw_name); in do_edit() 338 if (TT.cdir && (TT.cdir[strlen(TT.cdir)-1] != '/')) in crontab_main() 339 TT.cdir = xmprintf("%s/", TT.cdir); in crontab_main() 340 if (!TT.cdir) TT.cdir = xstrdup("/var/spool/cron/crontabs/"); in crontab_main() 365 if (!(toys.optflags & FLAG_c)) free(TT.cdir); in crontab_main()
|
/external/skia/src/c/ |
D | sk_surface.cpp | 113 static bool from_c_path_direction(sk_path_direction_t cdir, SkPath::Direction* dir) { in from_c_path_direction() argument 115 if (gPathDirMap[i].fC == cdir) { in from_c_path_direction() 272 void sk_path_add_rect(sk_path_t* cpath, const sk_rect_t* crect, sk_path_direction_t cdir) { in sk_path_add_rect() argument 274 if (!from_c_path_direction(cdir, &dir)) { in sk_path_add_rect() 280 void sk_path_add_oval(sk_path_t* cpath, const sk_rect_t* crect, sk_path_direction_t cdir) { in sk_path_add_oval() argument 282 if (!from_c_path_direction(cdir, &dir)) { in sk_path_add_oval()
|
/external/llvm/bindings/go/llvm/ |
D | dibuilder.go | 149 cdir := C.CString(dir) 150 defer C.free(unsafe.Pointer(cdir)) 151 result := C.LLVMDIBuilderCreateFile(d.ref, cfilename, cdir)
|
/external/toybox/generated/ |
D | globals.h | 407 char *cdir; member
|