/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_debug.cpp | 23 const size_t buffer_size = 4096; in LogArgs() local 24 char* buffer = reinterpret_cast<char*>(::malloc(buffer_size)); in LogArgs() 27 ret = vsnprintf(buffer, buffer_size, fmt, args); in LogArgs() 28 if (ret >= static_cast<int>(buffer_size)) in LogArgs() 29 ret = static_cast<int>(buffer_size) - 1; in LogArgs() 32 strlcat(buffer, ": ", buffer_size); in LogArgs() 33 strlcat(buffer, strerror(error), buffer_size); in LogArgs()
|
D | crazy_linker_system_mock.cpp | 170 bool GetString(char* buffer, size_t buffer_size) { in GetString() argument 174 if (offset_ >= data_size || buffer_size == 0) in GetString() 177 while (buffer_size > 1) { in GetString() 180 buffer_size--; in GetString() 188 int Read(void* buffer, size_t buffer_size) { in Read() argument 189 if (buffer_size == 0) in Read() 199 if (buffer_size > avail) in Read() 200 buffer_size = avail; in Read() 202 ::memcpy(buffer, data + offset_, buffer_size); in Read() 203 offset_ += buffer_size; in Read() [all …]
|
D | crazy_linker_system.cpp | 33 int FileDescriptor::Read(void* buffer, size_t buffer_size) { in Read() argument 34 return TEMP_FAILURE_RETRY(::read(fd_, buffer, buffer_size)); in Read()
|
D | crazy_linker_system.h | 53 int Read(void* buffer, size_t buffer_size);
|
/ndk/sources/android/support/src/stdio/ |
D | stdio_impl.c | 14 void fake_file_init_buffer(FakeFILE* file, char* buffer, size_t buffer_size) { in fake_file_init_buffer() argument 18 file->buffer_size = buffer_size; in fake_file_init_buffer() 23 size_t buffer_size) { in fake_file_init_wbuffer() argument 24 fake_file_init_buffer(file, (char*)buffer, buffer_size * sizeof(wchar_t)); in fake_file_init_wbuffer() 36 size_t avail = file->buffer_size - file->buffer_pos; in fake_file_out() 62 size_t avail = (file->buffer_size - file->buffer_pos) / sizeof(wchar_t); in fake_file_outw() 76 return (file->buffer_pos >= file->buffer_size); in fake_feof() 116 if (file->buffer_pos < file->buffer_size) in fake_fputc() 125 if (file->buffer_pos + sizeof(wchar_t) - 1U < file->buffer_size) { in fake_fputwc()
|
D | stdio_impl.h | 18 size_t buffer_size; member 26 void fake_file_init_buffer(FakeFILE* file, char* buffer, size_t buffer_size) 31 void fake_file_init_wbuffer(FakeFILE* file, wchar_t* buffer, size_t buffer_size)
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _deque.c | 49 size_t __num_nodes = __num_elements / this->buffer_size() + 1 ; in _M_initialize_map() 65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size(); in _M_initialize_map() 74 *__cur = _M_map_size.allocate(this->buffer_size()); in _M_create_nodes() 83 _M_map_size.deallocate(*__n, this->buffer_size()); in _M_destroy_nodes() 350 _STLP_STD::_Destroy_Range(*__node, *__node + this->buffer_size()); in clear() 351 this->_M_map_size.deallocate(*__node, this->buffer_size()); in clear() 357 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size()); in clear() 373 uninitialized_fill(*__cur, *__cur + this->buffer_size(), __val); in _M_fill_initialize() 384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); in _M_push_back_aux_v() 391 this->buffer_size())) in _M_push_back_aux_v() [all …]
|
D | _deque.h | 354 static size_t _STLP_CALL buffer_size() { return _Deque_iterator_base<_Tp>::_S_buffer_size(); } 883 _STLP_STD::advance(__mid, this->buffer_size());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/ |
D | support.cpp | 40 size_t buffer_size = static_cast<size_t>(count) + 1; in vasprintf() local 41 char* p = static_cast<char*>(malloc(buffer_size)); in vasprintf() 46 if (_vsnprintf(p, buffer_size, format, ap) != count) { in vasprintf()
|
/ndk/sources/host-tools/gdb-pretty-printers/stlport/gppfs-0.2/stlport/ |
D | printers.py | 154 finish_cur, buffer_size): argument 159 self.buffer_size = buffer_size 174 self.node_last = self.item + self.buffer_size 187 self.buffer_size = int (blocksize / size) 189 self.buffer_size = 1 200 size = self.buffer_size * delta_n + delta_s + delta_f 208 start['_M_last'], finish['_M_cur'], self.buffer_size)
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
D | pngstruct.h | 215 png_size_t buffer_size; /* total amount of available input data */ member
|
D | png.h | 1854 png_bytep buffer, png_size_t buffer_size));
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 1718 size_t wbuffer_size, buffer_size, from_offset, wbuf_offset; in __ConvertToCP() local 1749 buffer_size = 0; in __ConvertToCP() 1754 buffer_size += WideCharToMultiByte(to_cp, WC_COMPOSITECHECK | WC_SEPCHARS, in __ConvertToCP() 1761 buffer = (char*)malloc(buffer_size); in __ConvertToCP() 1762 *ret_buf_size = buffer_size; in __ConvertToCP() 1768 to_size = trim_size_t_to_int(buffer_size); in __ConvertToCP() 1769 buffer_size -= WideCharToMultiByte(to_cp, WC_COMPOSITECHECK | WC_SEPCHARS, in __ConvertToCP()
|