Searched refs:file_len (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/base/files/
H A Dmemory_mapped_file_win.cc40 int64 file_len = file_.GetLength(); local
41 if (file_len <= 0 || file_len > kint32max)
43 length_ = static_cast<size_t>(file_len);
H A Dmemory_mapped_file_posix.cc28 int64 file_len = file_.GetLength(); local
29 if (file_len == -1) {
33 map_size = static_cast<size_t>(file_len);
/external/chromium_org/third_party/icu/source/test/perf/ubrkperf/
H A Dubrkperf.h23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
26 m_fileLen_(file_len),
59 ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
60 ICUBreakFunction(locale, mode, file, file_len)
86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
87 ICUBreakFunction(locale, mode, file, file_len)
/external/icu/icu4c/source/test/perf/ubrkperf/
H A Dubrkperf.h23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
26 m_fileLen_(file_len),
59 ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
60 ICUBreakFunction(locale, mode, file, file_len)
86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
87 ICUBreakFunction(locale, mode, file, file_len)
/external/chromium_org/net/disk_cache/blockfile/
H A Dmapped_file.cc40 size_t file_len = GetLength(); local
41 scoped_ptr<char[]> buf(new char[file_len]);
42 if (!Read(buf.get(), file_len, 0))
H A Dblock_files.cc481 size_t file_len = file->GetLength(); local
482 if (file_len < static_cast<size_t>(kBlockHeaderSize)) {
502 if (static_cast<int>(file_len) <
/external/bluetooth/bluedroid/bta/fs/
H A Dbta_fs_ci.c263 UINT16 file_len = strlen(p_file) + 1; local
264 UINT16 size = sizeof(tBTA_FS_CI_OPEN_EVT) + file_len;
274 BCM_STRNCPY_S (p, file_len, p_file, file_len-1);
275 p[file_len] = '\0';
/external/qemu/android/utils/
H A Dfilelock.c396 int file_len = strlen(file); local
397 int lock_len = file_len + sizeof(LOCK_NAME);
401 int temp_len = file_len + sizeof(TEMP_NAME);
403 int total_len = sizeof(FileLock) + file_len + lock_len + temp_len + 3;
408 memcpy( (char*)lock->file, file, file_len+1 );
410 lock->lock = lock->file + file_len + 1;
411 memcpy( (char*)lock->lock, file, file_len+1 );
/external/qemu/distrib/libsparse/src/
H A Dsparse.c232 int64_t file_len = 0; local
253 if (file_len + count > len) {
259 if (!last_bb || (len - file_len > (len / 8))) {
260 backed_block_split(from->backed_block_list, bb, len - file_len);
265 file_len += count;
/external/chromium_org/net/quic/
H A Dquic_in_memory_cache.cc128 int file_len = static_cast<int>(file_contents.length()); local
131 file_len);
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
H A Dstorage_api.py779 file_len = '*'
781 file_len = self._written + len(data)
782 self._send_data(data, self._written, file_len)
784 if file_len != '*':
787 def _send_data(self, data, start_offset, file_len):
795 file_len: an int if this is the last data to append to the file.
803 (start_offset, end_offset, file_len))
805 headers['content-range'] = ('bytes */%s' % file_len)
809 if file_len == '*':
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dpcsc_funcs.c259 int *ps_do, int *file_len)
265 if (file_len)
266 *file_len = -1;
314 if ((pos[1] == 1 || pos[1] == 2) && file_len) {
316 *file_len = (int) pos[2];
318 *file_len = ((int) pos[2] << 8) |
321 *file_len);
258 scard_parse_fsp_templ(unsigned char *buf, size_t buf_len, int *ps_do, int *file_len) argument
/external/wpa_supplicant_8/src/utils/
H A Dpcsc_funcs.c259 int *ps_do, int *file_len)
265 if (file_len)
266 *file_len = -1;
314 if ((pos[1] == 1 || pos[1] == 2) && file_len) {
316 *file_len = (int) pos[2];
318 *file_len = ((int) pos[2] << 8) |
321 *file_len);
258 scard_parse_fsp_templ(unsigned char *buf, size_t buf_len, int *ps_do, int *file_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dpcsc_funcs.c259 int *ps_do, int *file_len)
265 if (file_len)
266 *file_len = -1;
314 if ((pos[1] == 1 || pos[1] == 2) && file_len) {
316 *file_len = (int) pos[2];
318 *file_len = ((int) pos[2] << 8) |
321 *file_len);
258 scard_parse_fsp_templ(unsigned char *buf, size_t buf_len, int *ps_do, int *file_len) argument

Completed in 2898 milliseconds