/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/pptp/ |
H A D | dirutil.h | 8 char *basenamex(char *pathname); 10 char *dirnamex(char *pathname); 12 char *stripslash(char *pathname);
|
H A D | dirutil.c | 15 char *basenamex(char *pathname) argument 17 char *dup = strdup(pathname); 26 char *dirnamex(char *pathname) argument 28 char *dup = strdup(pathname); 39 char *stripslash(char *pathname) { argument 40 int len = strlen(pathname); 41 while (len > 1 && pathname[len - 1] == '/') 42 pathname[--len] = '\0'; 43 return pathname;
|
/asus-wl-520gu-7.0.1.45/src/router/pptp-client/ |
H A D | dirutil.h | 8 char *basenamex(char *pathname); 10 char *dirname(char *pathname); 12 char *stripslash(char *pathname);
|
H A D | dirutil.c | 15 char *basenamex(char *pathname) argument 17 char *dup = strdup(pathname); 26 char *dirname(char *pathname) argument 28 char *dup = strdup(pathname); 39 char *stripslash(char *pathname) { argument 40 int len = strlen(pathname); 41 while (len > 1 && pathname[len - 1] == '/') 42 pathname[--len] = '\0'; 43 return pathname;
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/intl/ |
H A D | relocatable.h | 41 Relocation simply replaces a pathname starting with the original prefix 42 by the corresponding pathname with the current prefix instead. Both 49 /* Returns the pathname, relocated according to the current installation 51 extern const char * relocate (const char *pathname); 54 a fresh pathname. If this is a problem because your program calls 60 file, and the current pathname of this file. Returns NULL upon failure. */ 68 #define relocate(pathname) (pathname)
|
H A D | relocatable.c | 101 Relocation simply replaces a pathname starting with the original prefix 102 by the corresponding pathname with the current prefix instead. Both 139 Relocation simply replaces a pathname starting with the original prefix 140 by the corresponding pathname with the current prefix instead. Both 165 file, and the current pathname of this file. Returns NULL upon failure. */ 249 /* The last pathname component was the same. opi and cpi now point 280 /* Full pathname of shared library, or NULL. */ 285 /* Determine the full pathname of the shared library when it is loaded. */ 364 /* Return the full pathname of the current shared library. 383 /* Returns the pathname, relocate 386 relocate(const char *pathname) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/LPRng/UTILS/ |
H A D | freefs.c | 60 char *pathname = argv[1]; local 64 if( !pathname ){ 65 pathname = "."; 67 if( plp_statfs( pathname, &fsb ) == -1 ){ 68 fprintf(stderr, "Space_avail: cannot stat '%s'", pathname ); 73 pathname, USING, BLOCKS(fsb), BLOCKSIZE(fsb), space );
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/ |
H A D | freefs.c | 60 char *pathname = argv[1]; local 64 if( !pathname ){ 65 pathname = "."; 67 if( plp_statfs( pathname, &fsb ) == -1 ){ 68 fprintf(stderr, "Space_avail: cannot stat '%s'", pathname ); 73 pathname, USING, BLOCKS(fsb), BLOCKSIZE(fsb), space );
|
/asus-wl-520gu-7.0.1.45/src/router/attr/examples/ |
H A D | copyattr.c | 53 quote(struct error_context *ctx, const char *pathname) argument 55 char *pn = strdup(pathname), *p; 56 pathname = strdup(pathname);
|
/asus-wl-520gu-7.0.1.45/src/router/shared/ |
H A D | semaphore.c | 45 int semaphore_open(const char *pathname, int oflag, ... ) argument 60 if (mkfifo(pathname, mode) < 0) 74 if ( (Semaphore.sem_fd[0] = open(pathname, O_RDONLY | O_NONBLOCK)) < 0) 76 if ( (Semaphore.sem_fd[1] = open(pathname, O_WRONLY | O_NONBLOCK)) < 0) 96 unlink(pathname); // if we created FIFO 107 int semaphore_unlink(const char *pathname) argument 109 return unlink(pathname);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/namespace/ |
H A D | nsaccess.c | 207 * Pathname - Search pathname, in internal format 228 NATIVE_CHAR *pathname, 307 /* TBD: [Restructure] - Move the pathname stuff into a new procedure */ 311 if (!pathname) { 341 if (*pathname == AML_ROOT_PREFIX) { 348 pathname++; 355 if (!(*pathname)) { 373 while (*pathname == AML_PARENT_PREFIX) { 376 pathname++; 398 if (*pathname 226 acpi_ns_lookup( acpi_generic_state *scope_info, NATIVE_CHAR *pathname, acpi_object_type8 type, operating_mode interpreter_mode, u32 flags, acpi_walk_state *walk_state, acpi_namespace_node **return_node) argument [all...] |
H A D | nseval.c | 64 NATIVE_CHAR *pathname, 87 status = acpi_ns_internalize_name (pathname, &internal_path); 114 pathname, acpi_format_exception (status))); 123 pathname, node, node->object)); 128 pathname)); 141 * PARAMETERS: Pathname - Fully qualified pathname to the object 159 NATIVE_CHAR *pathname, 173 status = acpi_ns_internalize_name (pathname, &internal_path); 190 pathname, status)); 199 pathname, nod 62 acpi_ns_evaluate_relative( acpi_namespace_node *handle, NATIVE_CHAR *pathname, acpi_operand_object **params, acpi_operand_object **return_object) argument 158 acpi_ns_evaluate_by_name( NATIVE_CHAR *pathname, acpi_operand_object **params, acpi_operand_object **return_object) argument [all...] |
H A D | nsxfname.c | 62 acpi_string pathname, 75 if (!ret_handle || !pathname) { 95 if (STRCMP (pathname, NS_ROOT_PATH) == 0) { 103 status = acpi_ns_get_node (pathname, prefix_node, &node); 118 * PARAMETERS: Handle - Handle to be converted to a pathname 119 * Name_type - Full pathname or single segment 154 /* Get the full pathname (From the namespace root) */ 60 acpi_get_handle( acpi_handle parent, acpi_string pathname, acpi_handle *ret_handle) argument
|
H A D | nsxfobj.c | 43 * *Pathname - Object pathname (optional) 61 acpi_string pathname, 111 * 1) Fully qualified pathname 112 * 2) No handle, not fully qualified pathname (error) 115 if ((pathname) && 116 (acpi_ns_valid_root_prefix (pathname[0]))) { 120 status = acpi_ns_evaluate_by_name (pathname, internal_params, &internal_return_obj); 125 * A handle is optional iff a fully qualified pathname 129 if (!pathname) { 143 * pathname i 59 acpi_evaluate_object( acpi_handle handle, acpi_string pathname, acpi_object_list *external_params, acpi_buffer *return_buffer) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/busmgr/ |
H A D | bmutils.c | 62 acpi_string pathname, 83 if (pathname) { 84 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Evaluate object [%s.%s], %s\n", (char*)buffer.pointer, pathname, 377 acpi_string pathname, 397 status = acpi_evaluate_object(handle, pathname, arguments, buffer); 410 status = acpi_evaluate_object(handle, pathname, 416 DEBUG_EVAL_ERROR(ACPI_LV_WARN, handle, pathname, 445 acpi_string pathname, 464 status = bm_evaluate_object(handle, pathname, NULL, &buffer); 478 DEBUG_EVAL_ERROR(ACPI_LV_WARN, handle, pathname, statu 59 bm_print_eval_error( u32 debug_level, acpi_handle handle, acpi_string pathname, acpi_status status) argument 375 bm_evaluate_object( acpi_handle handle, acpi_string pathname, acpi_object_list *arguments, acpi_buffer *buffer) argument 443 bm_evaluate_simple_integer( acpi_handle handle, acpi_string pathname, u32 *data) argument 510 bm_evaluate_reference_list( acpi_handle handle, acpi_string pathname, BM_HANDLE_LIST *reference_list) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/ |
H A D | namei.c | 24 const char *pathname, size_t pathlen, int follow, 31 char *pathname; local 59 pathname = buffer; 61 pathname = (char *)&(ei.i_block[0]); 62 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, 70 * This routine interprets a pathname in the context of the current 73 * (pointing into the pathname) and the length of the filename. 76 const char *pathname, int pathlen, 87 if ((c = *pathname) == '/') { 89 pathname 75 dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, const char *pathname, int pathlen, int link_count, char *buf, const char **name, int *namelen, ext2_ino_t *res_inode) argument 113 open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, const char *pathname, size_t pathlen, int follow, int link_count, char *buf, ext2_ino_t *res_inode) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/intermezzo/ |
H A D | ext_attr.c | 152 char * pathname; local 160 pathname=getname(path); 161 error = PTR_ERR(pathname); 162 if (IS_ERR(pathname)) { 168 error=presto_walk(pathname,&nd); 188 putname(pathname);
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/debugfs/ |
H A D | ncheck.c | 24 char *pathname; member in struct:inode_info 152 iinfo->ino, &iinfo->pathname); 155 "while resolving pathname for inode %d (%d)", 165 printf("%u\t%s\n", iinfo->ino, iinfo->pathname ? 166 iinfo->pathname : "<unknown pathname>"); 167 if (iinfo->pathname) 168 free(iinfo->pathname);
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/include/ |
H A D | lpd_rcvjob.h | 20 int Check_space( double jobsize, int min_space, char *pathname );
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/debugger/ |
H A D | dbexec.c | 109 status = acpi_evaluate_object (NULL, info->pathname, ¶m_objects, return_obj); 137 info->pathname[0] = 0; 140 STRCAT (info->pathname, acpi_gbl_db_scope_buf); 143 STRCAT (info->pathname, info->name); 144 acpi_db_prep_namestring (info->pathname); 147 acpi_os_printf ("Executing %s\n", info->pathname); 261 acpi_gbl_db_method_info.pathname, acpi_format_exception (status)); 269 acpi_gbl_db_method_info.pathname, return_obj.pointer, return_obj.length); 306 info->pathname, return_obj.pointer, return_obj.length);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/msdfs/ |
H A D | msdfs.c | 29 Parse the pathname of the form \hostname\service\reqpath 33 static BOOL parse_dfs_path(char* pathname, struct dfs_path* pdp) argument 38 pstrcpy(pathname_local,pathname); 281 DFS pathname passed to use to remove the last 309 Decides if a dfs pathname should be redirected or not. 310 If not, the pathname is converted to a tcon-relative local unix path 313 BOOL dfs_redirect(pstring pathname, connection_struct* conn, argument 318 if (!conn || !pathname) 321 parse_dfs_path(pathname, &dp); 323 /* if dfs pathname fo 355 get_referred_path(char *pathname, struct junction_map* jucn, int* consumedcntp, BOOL* self_referralp) argument 462 setup_ver2_dfs_referral(char* pathname, char** ppdata, struct junction_map* junction, int consumedcnt, BOOL self_referral) argument 558 setup_ver3_dfs_referral(char* pathname, char** ppdata, struct junction_map* junction, int consumedcnt, BOOL self_referral) argument 641 setup_dfs_referral(connection_struct *orig_conn, char *pathname, int max_referral_level, char** ppdata) argument 715 create_junction(char* pathname, struct junction_map* jucn) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/common/ |
H A D | checkpc.c | 499 WARNMSG( "%s: lp device not absolute pathname '%s'", 723 * Check_file( char *dpath - pathname of directory/files 879 char *pathname = 0; local 885 pathname = path+safestrlen(path)-1; 886 if( pathname[0] == '/' ) *pathname = 0; 893 pathname = 0; 897 pathname = safeextend3(pathname,"/",parts.list[i],__FILE__,__LINE__); 898 if(Verbose)MESSAGE(" directory '%s'", pathname); [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/hotplug/ |
H A D | acpiphp.h | 47 acpi_string pathname, 58 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); 60 acpi_util_eval_error(handle, pathname, status); 65 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); 45 acpi_evaluate_integer( acpi_handle handle, acpi_string pathname, acpi_object_list *arguments, unsigned long *data) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/sn/io/ |
H A D | ml_iograph.c | 390 char pathname[128]; local 475 sprintf(pathname, EDGE_LBL_MODULE "/%M/" 482 sprintf(pathname, EDGE_LBL_MODULE "/%s/" 493 DBG("io_xswitch_widget_init: path= %s\n", pathname); 494 rc = hwgraph_path_add(hwgraph_root, pathname, &widgetv); 529 sprintf(pathname, EDGE_LBL_MODULE "/%M/" 531 sprintf(pathname, EDGE_LBL_MODULE "/%x/" 546 sprintf(pathname, EDGE_LBL_MODULE "/%M/" 553 sprintf(pathname, EDGE_LBL_MODULE "/%s/" 560 rc = hwgraph_path_add(hwgraph_root, pathname, 645 char pathname[128]; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/squashfs/ |
H A D | sort.c | 206 void generate_file_priorities(char *pathname, int priority, struct stat *buf) argument 212 priority = get_priority(pathname, buf, priority); 214 if((linuxdir = opendir(pathname)) == NULL) { 215 ERROR("Could not open %s, skipping...\n", pathname); 222 strcat(strcat(strcpy(filename, pathname), "/"), d_name->d_name);
|