Home
last modified time | relevance | path

Searched refs:filelen (Results 1 – 16 of 16) sorted by relevance

/external/u-boot/cmd/
Dreiser.c82 ulong addr = 0, filelen; in do_reiserload() local
141 filelen = reiserfs_open(filename); in do_reiserload()
142 if (filelen < 0) { in do_reiserload()
146 if ((count < filelen) && (count != 0)) { in do_reiserload()
147 filelen = count; in do_reiserload()
150 if (reiserfs_read((char *)addr, filelen) != filelen) { in do_reiserload()
158 printf ("\n%ld bytes read\n", filelen); in do_reiserload()
159 env_set_hex("filesize", filelen); in do_reiserload()
161 return filelen; in do_reiserload()
Dini.c116 static int ini_parse(char *filestart, size_t filelen, in ini_parse() argument
129 size_t memleft = filelen; in ini_parse()
/external/u-boot/common/spl/
Dspl_ext.c16 loff_t filelen, actlen; in spl_load_image_ext() local
37 err = ext4fs_open(filename, &filelen); in spl_load_image_ext()
54 err = ext4fs_read((char *)spl_image->load_addr, 0, filelen, &actlen); in spl_load_image_ext()
71 __maybe_unused loff_t filelen, actlen; in spl_load_image_ext_os() local
92 err = ext4fs_open(file, &filelen); in spl_load_image_ext_os()
97 err = ext4fs_read((void *)CONFIG_SYS_SPL_ARGS_ADDR, 0, filelen, &actlen); in spl_load_image_ext_os()
123 err = ext4fs_open(CONFIG_SPL_FS_LOAD_ARGS_NAME, &filelen); in spl_load_image_ext_os()
127 err = ext4fs_read((void *)CONFIG_SYS_SPL_ARGS_ADDR, 0, filelen, &actlen); in spl_load_image_ext_os()
/external/pcre/dist2/src/
Dpcre2_fuzzsupport.c299 size_t filelen; in main() local
337 filelen = ftell(f); in main()
340 buffer = (unsigned char *)malloc(filelen); in main()
343 printf("** Failed to allocate %lu bytes of memory\n", filelen); in main()
348 readsize = fread(buffer, 1, filelen, f); in main()
351 if (readsize != filelen) in main()
352 printf("** File size is %lu but fread() returned %lu\n", filelen, readsize); in main()
355 printf("Length = %lu\n", filelen); in main()
356 LLVMFuzzerTestOneInput(buffer, filelen); in main()
/external/elfutils/libdw/
Ddwarf_getalt.c61 size_t filelen = strlen (file); in __libdw_filepath() local
62 size_t len = dirlen + 1 + filelen + 1; in __libdw_filepath()
69 mempcpy (c, file, filelen + 1); in __libdw_filepath()
78 size_t filelen = strlen (file); in __libdw_filepath() local
79 size_t len = debugdirlen + 1 + dirlen + 1 + filelen + 1; in __libdw_filepath()
90 mempcpy (c, file, filelen + 1); in __libdw_filepath()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRFileStream.cs110 int filelen = (int)GetFileLength(f); in Load()
111 data = new char[filelen]; in Load()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPjitter.cc45 int filelen(FILE *fid) in filelen() function
112 *(filelen(dat_file)/sizeof(float)) + 1000); in main()
132 rtp_vec = (unsigned char *) malloc(sizeof(unsigned char)*filelen(in_file)); in main()
/external/vboot_reference/host/lib/
Dhost_key.c111 uint64_t filelen = 0; in PrivateKeyRead() local
115 buffer = ReadFile(filename, &filelen); in PrivateKeyRead()
132 filelen - sizeof(key->algorithm)); in PrivateKeyRead()
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp567 int32_t filelen = 0; in processFile() local
576 filelen = (int32_t)uprv_strlen(filename); in processFile()
581 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile()
607 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile()
633 openFileName = (char *) uprv_malloc(dirlen + filelen + 1); in processFile()
/external/kernel-headers/original/uapi/linux/
Dbcm933xx_hcs.h17 __u32 filelen; member
/external/icu/icu4c/source/tools/toolutil/
Ducbuf.cpp643 int32_t filelen = 0; in ucbuf_resolveFileName() local
655 filelen = (int32_t)uprv_strlen(fileName); in ucbuf_resolveFileName()
657 requiredLen = dirlen + filelen + 2; in ucbuf_resolveFileName()
682 requiredLen = dirlen + filelen + 1; in ucbuf_resolveFileName()
/external/selinux/policycoreutils/sestatus/
Dsestatus.c102 int filelen = strlen(FILES); in load_checks() local
133 else if (strncmp(bufp, FILES, filelen) == 0) in load_checks()
/external/curl/lib/vtls/
Dgtls.c249 long filelen; in load_file() local
256 || (filelen = ftell(f)) < 0 in load_file()
258 || !(ptr = malloc((size_t)filelen))) in load_file()
260 if(fread(ptr, 1, (size_t)filelen, f) < (size_t)filelen) { in load_file()
266 loaded_file.size = (unsigned int)filelen; in load_file()
/external/libpng/contrib/libtests/
Dmakepng.c1167 png_size_t filelen = load_file(params[1]+1, &profile); in insert_iCCP() local
1168 if (filelen > 0xfffffffc) /* Maximum profile length */ in insert_iCCP()
1171 params[1]+1, (unsigned long)filelen); in insert_iCCP()
1175 proflen = (png_uint_32)filelen; in insert_iCCP()
/external/openssh/
Dsftp.c1851 u_int i, hadglob, pwdlen, len, tmplen, filelen, cesc, isesc, isabs; in complete_match() local
1905 filelen = strlen(file); in complete_match()
1909 for (i = 0; i < filelen; i++) { in complete_match()
1910 if (!isesc && file[i] == '\\' && i + 1 < filelen){ in complete_match()
1917 if (tmplen > (filelen - cesc)) { in complete_match()
1918 tmp2 = tmp + filelen - cesc; in complete_match()
/external/u-boot/board/buffalo/lsxl/
DREADME138 sf erase 0 +${filelen}