/system/core/toolbox/cp/ |
utils.c | 142 (void)fprintf(stderr, "overwrite %s? ", to.p_path); 153 lstat(to.p_path, &sb) : stat(to.p_path, &sb); 155 warn("stat: %s", to.p_path); 161 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0); 163 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, 171 (void)unlink(to.p_path); 172 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, 177 warn("%s", to.p_path); 188 (void)unlink(to.p_path); [all...] |
cp.c | 82 while ((p).p_end > (p).p_path + 1 && (p).p_end[-1] == '/') \ 87 PATH_T to = { .p_end = to.p_path, .target_end = empty }; 212 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path)) 214 to.p_end = to.p_path + strlen(to.p_path); 242 r = lstat(to.p_path, &to_stat); 244 r = stat(to.p_path, &to_stat); 246 err(EXIT_FAILURE, "%s", to.p_path); [all...] |
extern.h | 40 char p_path[MAXPATHLEN + 1]; /* pointer to the start of a path */ member in struct:__anon44022
|
/hardware/broadcom/libbt/src/ |
conf.c | 87 ** Description Read conf entry from p_path file one by one and call 93 void vnd_load_conf(const char *p_path) 101 ALOGI("Attempt to load conf from %s", p_path); 103 if ((p_file = fopen(p_path, "r")) != NULL) 144 ALOGI( "vnd_load_conf file >%s< not found", p_path);
|
bt_vendor_brcm.c | 55 void vnd_load_conf(const char *p_path);
|
/external/bluetooth/bluedroid/btif/co/ |
bta_fs_co.c | 131 inline int getAccess(int accType, struct stat *buffer, char *p_path) 150 if(statfs(p_path, &fsbuffer)==0) 242 ** Parameters p_path - Fully qualified path and file name. 249 static int btapp_fs_check_space( const char *p_path, const UINT32 size, const UINT8 app_id ) 262 if (NULL != (p_dir = (char *) GKI_getbuf(strlen(p_path) + 1))) 264 strcpy(p_dir, p_path); 310 ** Parameters p_path - Fully qualified path and file name. 326 void bta_fs_co_open(const char *p_path, int oflags, UINT32 size, UINT16 evt, 342 err = btapp_fs_check_space(p_path, size, app_id); 347 if ((fd = open(p_path, oflags | O_NONBLOCK, 0666)) >= 0 [all...] |
/external/bluetooth/bluedroid/stack/include/ |
goep_fs.h | 138 ** Parameters p_path - Fully qualified path and file name. 225 ** Parameters p_path - directory to search (Fully qualified path) 241 typedef void (tGOEP_DIRENTRY_CBACK) (const char *p_path, BOOLEAN first_item, 258 typedef tGOEP_STATUS (tGOEP_ACCESS_CBACK) (const char *p_path, UINT16 mode, 269 ** Parameters p_path - (input) name of directory to create (fully qualified path). 276 typedef tGOEP_STATUS (tGOEP_MKDIR_CBACK) (const char *p_path, UINT8 app_id); 285 ** Parameters p_path - (input) name of directory to remove (fully qualified path). 294 typedef tGOEP_STATUS (tGOEP_RMDIR_CBACK) (const char *p_path, UINT8 app_id); 303 ** Parameters p_path - (input) name of file to remove (fully qualified path). 311 typedef tGOEP_STATUS (tGOEP_UNLINK_CBACK) (const char *p_path, UINT8 app_id) [all...] |
/external/bluetooth/bluedroid/main/ |
bte_conf.c | 184 ** Description Read conf entry from p_path file one by one and call 190 void bte_load_conf(const char *p_path) 199 ALOGI("Attempt to load stack conf from %s", p_path); 201 if ((p_file = fopen(p_path, "r")) != NULL) 251 ALOGI( "bte_load_conf file >%s< not found", p_path); 259 ** Description Read conf entry from p_path file one by one and get 265 static BOOLEAN bte_parse_did_conf (const char *p_path, UINT32 num, 275 ALOGI("Attempt to load did conf from %s", p_path); 277 if ((p_file = fopen(p_path, "r")) != NULL) 335 ALOGI( "bte_parse_did_conf file >%s< not found", p_path); [all...] |
bte_main.c | 107 extern void bte_load_conf(const char *p_path);
|
/external/bluetooth/bluedroid/bta/include/ |
bta_fs_co.h | 187 ** Parameters p_path - Fully qualified path and file name. 202 BTA_API extern void bta_fs_co_open(const char *p_path, int oflags, UINT32 size, 222 tBTA_FS_CO_SESS_ST new_st, char *p_path, UINT8 *p_info, UINT8 app_id); 310 ** Parameters p_path - the new path. 318 BTA_API extern void bta_fs_co_setdir(const char *p_path, UINT8 app_id); 422 ** Parameters p_path - (input) file or directory to access (fully qualified path). 424 ** p_is_dir - (output) returns TRUE if p_path specifies a directory. 435 BTA_API extern tBTA_FS_CO_STATUS bta_fs_co_access(const char *p_path, int mode, 446 ** Parameters p_path - (input) name of directory to create (fully qualified path). 456 BTA_API extern tBTA_FS_CO_STATUS bta_fs_co_mkdir(const char *p_path, UINT8 app_id) [all...] |
/external/bluetooth/bluedroid/hci/include/ |
bt_hci_lib.h | 188 int (*logging)(bt_hc_logging_state_t state, char *p_path);
|
/external/bluetooth/bluedroid/hci/src/ |
bt_hci_bdroid.c | 68 void btsnoop_open(char *p_path); 341 static int logging(bt_hc_logging_state_t state, char *p_path) 347 if (p_path != NULL) 348 btsnoop_open(p_path);
|
btsnoop.c | 595 void btsnoop_open(char *p_path) 599 btsnoop_log_open(p_path);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
URI.java | 243 * @param p_path the URI path - if the path contains '?' or '#', 256 public URI(String p_scheme, String p_host, String p_path, String p_queryString, String p_fragment) 259 this(p_scheme, null, p_host, -1, p_path, p_queryString, p_fragment); 274 * @param p_path the URI path - if the path contains '?' or '#', 287 public URI(String p_scheme, String p_userinfo, String p_host, int p_port, String p_path, String p_queryString, String p_fragment) 311 if (p_path != null) 313 if (p_path.indexOf('?') != -1 && p_queryString != null) 319 if (p_path.indexOf('#') != -1 && p_fragment != null) 330 setPath(p_path); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
URI.java | 240 * @param p_path the URI path - if the path contains '?' or '#', 253 public URI(String p_scheme, String p_host, String p_path, String p_queryString, String p_fragment) 256 this(p_scheme, null, p_host, -1, p_path, p_queryString, p_fragment); 271 * @param p_path the URI path - if the path contains '?' or '#', 284 public URI(String p_scheme, String p_userinfo, String p_host, int p_port, String p_path, String p_queryString, String p_fragment) 308 if (p_path != null) 310 if (p_path.indexOf('?') != -1 && p_queryString != null) 316 if (p_path.indexOf('#') != -1 && p_fragment != null) 327 setPath(p_path); [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_core.c | 129 extern void bte_load_did_conf(const char *p_path); [all...] |