/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/squashfs/ |
H A D | dir.c | 105 struct squashfs_dir_entry *dire; in squashfs_readdir() local 109 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_readdir() 110 if (dire == NULL) { in squashfs_readdir() 171 &offset, sizeof(*dire)); in squashfs_readdir() 175 size = le16_to_cpu(dire->size) + 1; in squashfs_readdir() 186 length += sizeof(*dire) + size; in squashfs_readdir() 191 dire->name[size] = '\0'; in squashfs_readdir() 194 type = le16_to_cpu(dire->type); in squashfs_readdir() 199 if (!dir_emit(ctx, dire->name, size, in squashfs_readdir() 209 kfree(dire); in squashfs_readdir() [all …]
|
H A D | namei.c | 134 struct squashfs_dir_entry *dire; in squashfs_lookup() local 142 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_lookup() 143 if (dire == NULL) { in squashfs_lookup() 179 &offset, sizeof(*dire)); in squashfs_lookup() 183 size = le16_to_cpu(dire->size) + 1; in squashfs_lookup() 194 length += sizeof(*dire) + size; in squashfs_lookup() 196 if (name[0] < dire->name[0]) in squashfs_lookup() 203 off = le16_to_cpu(dire->offset); in squashfs_lookup() 205 (short) le16_to_cpu(dire->inode_number); in squashfs_lookup() 219 kfree(dire); in squashfs_lookup() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/squashfs/ |
H A D | dir.c | 105 struct squashfs_dir_entry *dire; in squashfs_readdir() local 109 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_readdir() 110 if (dire == NULL) { in squashfs_readdir() 171 &offset, sizeof(*dire)); in squashfs_readdir() 175 size = le16_to_cpu(dire->size) + 1; in squashfs_readdir() 186 length += sizeof(*dire) + size; in squashfs_readdir() 191 dire->name[size] = '\0'; in squashfs_readdir() 194 type = le16_to_cpu(dire->type); in squashfs_readdir() 199 if (!dir_emit(ctx, dire->name, size, in squashfs_readdir() 209 kfree(dire); in squashfs_readdir() [all …]
|
H A D | namei.c | 134 struct squashfs_dir_entry *dire; in squashfs_lookup() local 142 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_lookup() 143 if (dire == NULL) { in squashfs_lookup() 179 &offset, sizeof(*dire)); in squashfs_lookup() 183 size = le16_to_cpu(dire->size) + 1; in squashfs_lookup() 194 length += sizeof(*dire) + size; in squashfs_lookup() 196 if (name[0] < dire->name[0]) in squashfs_lookup() 203 off = le16_to_cpu(dire->offset); in squashfs_lookup() 205 (short) le16_to_cpu(dire->inode_number); in squashfs_lookup() 219 kfree(dire); in squashfs_lookup() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/squashfs/ |
H A D | dir.c | 105 struct squashfs_dir_entry *dire; in squashfs_readdir() local 109 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_readdir() 110 if (dire == NULL) { in squashfs_readdir() 171 &offset, sizeof(*dire)); in squashfs_readdir() 175 size = le16_to_cpu(dire->size) + 1; in squashfs_readdir() 186 length += sizeof(*dire) + size; in squashfs_readdir() 191 dire->name[size] = '\0'; in squashfs_readdir() 194 type = le16_to_cpu(dire->type); in squashfs_readdir() 199 if (!dir_emit(ctx, dire->name, size, in squashfs_readdir() 209 kfree(dire); in squashfs_readdir() [all …]
|
H A D | namei.c | 134 struct squashfs_dir_entry *dire; in squashfs_lookup() local 142 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_lookup() 143 if (dire == NULL) { in squashfs_lookup() 179 &offset, sizeof(*dire)); in squashfs_lookup() 183 size = le16_to_cpu(dire->size) + 1; in squashfs_lookup() 194 length += sizeof(*dire) + size; in squashfs_lookup() 196 if (name[0] < dire->name[0]) in squashfs_lookup() 203 off = le16_to_cpu(dire->offset); in squashfs_lookup() 205 (short) le16_to_cpu(dire->inode_number); in squashfs_lookup() 219 kfree(dire); in squashfs_lookup() [all …]
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/plugins/deaddrop/ |
H A D | protocol_lws_deaddrop.c | 89 struct dir_entry *dire; member 139 struct dir_entry *dire; in scan_upload_dir() local 211 dire = lwsac_use(&lwsac_head, sizeof(*dire) + m, 0); in scan_upload_dir() 212 if (!dire) { in scan_upload_dir() 218 dire->next = NULL; in scan_upload_dir() 221 dire->user[0] = '\0'; in scan_upload_dir() 224 lws_strncpy(dire->user, subdir[1], sizeof(dire->user)); in scan_upload_dir() 528 pss->dire = lp_to_dir_entry(pss->dire->next, next); in callback_deaddrop() 531 if (!pss->dire) { in callback_deaddrop() 542 !pss->dire)); in callback_deaddrop() [all …]
|
/dports/sysutils/squashfs-tools/squashfs4.4/squashfs-tools/ |
H A D | unsquash-1.c | 273 SQUASHFS_SWAP_DIR_ENTRY_2(dire, &sdire); in squashfs_opendir() 275 memcpy(dire, directory_table + bytes, in squashfs_opendir() 276 sizeof(*dire)); in squashfs_opendir() 277 bytes += sizeof(*dire); in squashfs_opendir() 280 if(dire->size >= SQUASHFS_NAME_LEN) { in squashfs_opendir() 285 memcpy(dire->name, directory_table + bytes, in squashfs_opendir() 286 dire->size + 1); in squashfs_opendir() 287 dire->name[dire->size + 1] = '\0'; in squashfs_opendir() 289 "%d:%d, type %d\n", dire->name, in squashfs_opendir() 290 dirh.start_block, dire->offset, dire->type); in squashfs_opendir() [all …]
|
H A D | unsquash-2.c | 374 SQUASHFS_SWAP_DIR_ENTRY_2(dire, &sdire); in squashfs_opendir() 376 memcpy(dire, directory_table + bytes, in squashfs_opendir() 377 sizeof(*dire)); in squashfs_opendir() 378 bytes += sizeof(*dire); in squashfs_opendir() 381 if(dire->size >= SQUASHFS_NAME_LEN) { in squashfs_opendir() 386 memcpy(dire->name, directory_table + bytes, in squashfs_opendir() 387 dire->size + 1); in squashfs_opendir() 388 dire->name[dire->size + 1] = '\0'; in squashfs_opendir() 390 "%d:%d, type %d\n", dire->name, in squashfs_opendir() 391 dirh.start_block, dire->offset, dire->type); in squashfs_opendir() [all …]
|
H A D | unsquash-3.c | 401 SQUASHFS_SWAP_DIR_ENTRY_3(dire, &sdire); in squashfs_opendir() 403 memcpy(dire, directory_table + bytes, in squashfs_opendir() 404 sizeof(*dire)); in squashfs_opendir() 405 bytes += sizeof(*dire); in squashfs_opendir() 408 if(dire->size >= SQUASHFS_NAME_LEN) { in squashfs_opendir() 413 memcpy(dire->name, directory_table + bytes, in squashfs_opendir() 414 dire->size + 1); in squashfs_opendir() 415 dire->name[dire->size + 1] = '\0'; in squashfs_opendir() 417 "%d:%d, type %d\n", dire->name, in squashfs_opendir() 418 dirh.start_block, dire->offset, dire->type); in squashfs_opendir() [all …]
|
H A D | unsquash-4.c | 341 bytes += sizeof(*dire); in squashfs_opendir() 344 if(dire->size >= SQUASHFS_NAME_LEN) { in squashfs_opendir() 349 memcpy(dire->name, directory_table + bytes, in squashfs_opendir() 350 dire->size + 1); in squashfs_opendir() 351 dire->name[dire->size + 1] = '\0'; in squashfs_opendir() 353 "%d:%d, type %d\n", dire->name, in squashfs_opendir() 354 dirh.start_block, dire->offset, dire->type); in squashfs_opendir() 363 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir() 366 dir->dirs[dir->dir_count].offset = dire->offset; in squashfs_opendir() 367 dir->dirs[dir->dir_count].type = dire->type; in squashfs_opendir() [all …]
|
H A D | read_fs.c | 691 bytes += sizeof(*dire); in squashfs_readdir() 694 if(dire->size >= SQUASHFS_NAME_LEN) { in squashfs_readdir() 700 memcpy(dire->name, directory_table + bytes, in squashfs_readdir() 701 dire->size + 1); in squashfs_readdir() 702 dire->name[dire->size + 1] = '\0'; in squashfs_readdir() 704 "inode %x:%x, type 0x%x\n", dire->name, in squashfs_readdir() 705 dirh.start_block, dire->offset, dire->type); in squashfs_readdir() 706 push_directory_entry(dire->name, in squashfs_readdir() 708 dire->offset), dirh.inode_number + in squashfs_readdir() 709 dire->inode_number, dire->type); in squashfs_readdir() [all …]
|
/dports/games/xqf/xqf-xqf-1.0.6.2/src/ |
H A D | utmaps.c | 40 struct dirent* dire = NULL; in findutmaps_dir() local 80 while ((dire = readdir(dir))) { in findutmaps_dir() 81 char* name = dire->d_name; in findutmaps_dir() 105 …if (strlen(dire->d_name)>strlen(suffix) && !g_ascii_strcasecmp(dire->d_name+strlen(dire->d_name)-s… in findutmaps_dir() 107 …gchar* mapname = g_ascii_strdown(dire->d_name, strlen(dire->d_name)-strlen(suffix)); /* g_ascii_st… in findutmaps_dir()
|
/dports/audio/clementine-player/Clementine-1.4.0rc1/dist/ |
H A D | cpplint.sh | 2 dire=$1 3 if [ x$dire == "x" ];then 4 dire="src" 7 find $dire -regex '.*\.\(h\|cpp\|mm\)' -type f -exec ./dist/cpplint.py --root=src {} 2>&1 \;
|
/dports/net-mgmt/rrdbot/rrdbot-396ca60/common/ |
H A D | config-parser.c | 247 struct dirent* dire; in parse_dir_internal() local 263 while((dire = readdir(dir)) != NULL) in parse_dir_internal() 270 strlcat(path, dire->d_name, MAXPATHLEN); in parse_dir_internal() 273 strlcpy(path, dire->d_name, MAXPATHLEN); in parse_dir_internal() 277 if(dire->d_type != DT_UNKNOWN) in parse_dir_internal() 279 is_dir = (dire->d_type == DT_DIR); in parse_dir_internal() 280 is_reg = (dire->d_type == DT_REG); in parse_dir_internal() 281 is_lnk = (dire->d_type == DT_LNK); in parse_dir_internal() 304 if(dire->d_name[0] == '.') in parse_dir_internal()
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/tools/matlab/solver/MATLAB_PB_SOLVER_4/ |
H A D | comparison.m | 79 dire='COMPARATIVE_ANALYSIS'; 80 mkdir(dire) 87 movefile (outputfile,dire) 101 movefile (strcat(name1,'.fig'),dire) 103 movefile (strcat(name1,'.tiff'),dire) 114 movefile (strcat(name2,'.fig'),dire) 116 movefile (strcat(name2,'.tiff'),dire)
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/tools/matlab/solver/MATLAB_PB_SOLVER_1/ |
H A D | comparison.m | 83 dire='COMPARATIVE_ANALYSIS'; 84 mkdir(dire) 91 movefile (outputfile,dire) 105 movefile (strcat(name1,'.fig'),dire) 107 movefile (strcat(name1,'.tiff'),dire) 118 movefile (strcat(name2,'.fig'),dire) 120 movefile (strcat(name2,'.tiff'),dire)
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/tools/matlab/solver/MATLAB_PB_SOLVER_3/ |
H A D | comparison.m | 83 dire='COMPARATIVE_ANALYSIS'; 84 mkdir(dire) 91 movefile (outputfile,dire) 105 movefile (strcat(name1,'.fig'),dire) 107 movefile (strcat(name1,'.tiff'),dire) 118 movefile (strcat(name2,'.fig'),dire) 120 movefile (strcat(name2,'.tiff'),dire)
|
H A D | comparison_reaction_field.m | 92 dire='COMPARATIVE_ANALYSIS'; 93 mkdir(dire) 100 movefile (outputfile,dire) 114 movefile (strcat(name1,'.fig'),dire) 116 movefile (strcat(name1,'.tiff'),dire) 127 movefile (strcat(name2,'.fig'),dire) 129 movefile (strcat(name2,'.tiff'),dire)
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/tools/matlab/solver/MATLAB_PB_SOLVER_6/ |
H A D | comparison.m | 79 dire='COMPARATIVE_ANALYSIS'; 80 mkdir(dire) 87 movefile (outputfile,dire) 104 movefile (strcat(name1,'.fig'),dire) 106 movefile (strcat(name1,'.tiff'),dire) 117 movefile (strcat(name2,'.fig'),dire) 119 movefile (strcat(name2,'.tiff'),dire)
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/tools/matlab/solver/MATLAB_PB_SOLVER_5/ |
H A D | comparison.m | 79 dire='COMPARATIVE_ANALYSIS'; 80 mkdir(dire) 87 movefile (outputfile,dire) 104 movefile (strcat(name1,'.fig'),dire) 106 movefile (strcat(name1,'.tiff'),dire) 117 movefile (strcat(name2,'.fig'),dire) 119 movefile (strcat(name2,'.tiff'),dire)
|
H A D | comparison_reaction_field.m | 92 dire='COMPARATIVE_ANALYSIS'; 93 mkdir(dire) 100 movefile (outputfile,dire) 114 movefile (strcat(name1,'.fig'),dire) 116 movefile (strcat(name1,'.tiff'),dire) 127 movefile (strcat(name2,'.fig'),dire) 129 movefile (strcat(name2,'.tiff'),dire)
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/tools/matlab/solver/MATLAB_PB_SOLVER_2/ |
H A D | comparison.m | 83 dire='COMPARATIVE_ANALYSIS'; 84 mkdir(dire) 91 movefile (outputfile,dire) 105 movefile (strcat(name1,'.fig'),dire) 107 movefile (strcat(name1,'.tiff'),dire) 118 movefile (strcat(name2,'.fig'),dire) 120 movefile (strcat(name2,'.tiff'),dire)
|
/dports/cad/opencascade/opencascade-7.6.0/src/ShapeFix/ |
H A D | ShapeFix_Shell.cxx | 203 TopTools_MapOfShape dire, reve; in GetShells() local 228 if(dire.Contains(edge)) dire.Remove(edge); in GetShells() 257 dire.Add(ite1.Key()); in GetShells() 262 dire.Add(ite.Key()); in GetShells() 396 TopTools_MapOfShape dire,reve; in AddMultiConexityFaces() local 407 if( edge.Orientation() == TopAbs_FORWARD) dire.Add(edge); in AddMultiConexityFaces() 490 dire.Clear(); in AddMultiConexityFaces() 565 TopTools_MapOfShape dire,reve; in GlueClosedCandidate() local 571 if(edge1.Orientation() == TopAbs_FORWARD) dire.Add(edge1); in GlueClosedCandidate() 807 TopTools_MapOfShape dire,reve; in CreateClosedShell() local [all …]
|
/dports/mail/courier/courier-0.65.3/webmail/ |
H A D | maildir.c | 1114 struct dirent *dire; in maildir_checknew() local 1130 if (dire->d_name[0] == '.') continue; in maildir_checknew() 1189 if (dire->d_name[0] == '.') continue; in maildir_checknew() 1266 struct dirent *dire; in maildir_autopurge() local 1278 if (dire->d_name[0] != '.') continue; in maildir_autopurge() 1281 if (strcmp(dire->d_name, ".")) in maildir_autopurge() 1346 if (dire->d_name[0] == '.') in maildir_autopurge() 1358 + strlen(dire-> in maildir_autopurge() 1364 dire->d_name); in maildir_autopurge() 1375 + strlen(dire->d_name)); in maildir_autopurge() [all …]
|