Searched defs:dir (Results 1 - 13 of 13) sorted by path

/device/google/marlin/dataservices/datatop/src/
H A Ddatatop_gen_poll.c152 * @param dir Directory which file is located in, assigned to the dpg prefix.
155 static void dpg_construction(char *dir, char *name) argument
158 int both_len = strlen(dir) + strlen(name) + 1;
163 strlcpy(both, dir, both_len);
165 maindir = malloc(strlen(dir) + 1);
166 strlcpy(maindir, dir, strlen(dir) + 1);
219 * @param dir Directory to search.
221 static int dtop_search(char *dir) argument
229 fprintf(stderr, "Failed to get current working dir\
277 dtop_gen_init(char *dir) argument
[all...]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/
H A DDwUsbDxe.c312 int usb_drv_request_endpoint(unsigned int type, int dir) argument
318 ret = (int)ep | dir;
328 if (dir) { // IN: to host
/device/linaro/bootloader/arm-trusted-firmware/common/
H A Dbl_common.c40 unsigned long page_align(unsigned long value, unsigned dir) argument
47 if (dir == UP)
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
H A Dusb.c204 static int usb_drv_request_endpoint(int type, int dir) argument
218 if (dir) { // IN: to host
231 return ep | dir;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
H A Dedk2module.c102 #include <sys/dir.h>
5637 "tempnam([dir[, prefix]]) -> string\n\n\
5646 char *dir = NULL; local
5650 if (!PyArg_ParseTuple(args, "|zz:tempnam", &dir, &pfx))
5661 name = tempnam(dir, pfx);
H A Dgetpath.c107 in the path, dir, is removed from the path. Parameter dir is modified in place.
109 @param[in,out] dir Pointer to the path to modify.
112 reduce(char *dir) argument
114 size_t i = strlen(dir);
115 while (i > 0 && !is_sep(dir[i]))
117 dir[i] = '\0';
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
H A Dedk2module.c103 #include <sys/dir.h>
3591 "tempnam([dir[, prefix]]) -> string\n\n\
3600 char *dir = NULL; local
3604 if (!PyArg_ParseTuple(args, "|zz:tempnam", &dir, &pfx))
3615 name = tempnam(dir, pfx);
H A Dgetpath.c109 in the path, dir, is removed from the path. Parameter dir is modified in place.
111 @param[in,out] dir Pointer to the path to modify.
114 reduce(char *dir) argument
116 size_t i = strlen(dir);
117 while (i > 0 && !is_sep(dir[i]))
119 dir[i] = '\0';
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dftplib.py502 def dir(self, *args): member in class:FTP
982 Usage: ftp [-d] [-r[file]] host [-l[dir]] [-d[dir]] [-p] [file] ...
984 -d dir
1022 ftp.dir(file[2:])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dgetpath.c135 reduce(char *dir) argument
137 size_t i = strlen(dir);
138 while (i > 0 && dir[i] != SEP)
140 dir[i] = '\0';
H A Dposixmodule.c254 #include <sys/dir.h>
7290 "tempnam([dir[, prefix]]) -> string\n\n\
7299 char *dir = NULL; local
7303 if (!PyArg_ParseTuple(args, "|zz:tempnam", &dir, &pfx))
7315 name = _tempnam(dir, pfx);
7317 name = tempnam(dir, pfx);
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
H A Dtempnam.c76 tempnam(const char *dir, const char *pfx) argument
92 if (dir != NULL &&
93 (f = gentemp(name, (size_t)MAXPATHLEN, dir, pfx)) != NULL)
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
H A DTime.c254 register int dir; local
340 dir = tmcomp(&mytm, &yourtm); // Is mytm larger, equal, or less than yourtm?
341 if (dir != 0) { // If mytm != yourtm...
346 else if (dir > 0) // else if mytm > yourtm...

Completed in 319 milliseconds