Searched refs:size (Results 126 - 134 of 134) sorted by last modified time
123456
/system/extras/tests/sdcard/ |
H A D | stopwatch.cpp | 36 #define SNPRINTF_OR_RETURN(str, size, format, ...) { \ 37 int len = snprintf((str), (size), (format), ## __VA_ARGS__); \ 39 if (len > static_cast<int>(size)) { \ 43 (size) -= len; (str) += len; \ 106 void StopWatch::sprint(char **str, size_t *size) argument 118 if (kVerbose) SNPRINTF_OR_RETURN(*str, *size, "# Got %d samples for %s\n", mDataLen, mName); 121 SNPRINTF_OR_RETURN(*str, *size, "# StopWatch %s total/cumulative duration %f Samples: %d\n", 123 printThroughput(str, size); 124 printAverageMinMax(str, size); 130 SNPRINTF_OR_RETURN(*str, *size, "# Nam 217 printAverageMinMax(char **str, size_t *size) argument 228 printThroughput(char **str, size_t *size) argument [all...] |
H A D | stopwatch.h | 71 // size_t size = sizeof(buffer); 72 // watch.sprint(&str, &size); 89 // to size the internal storage, when the capacity 111 // @param size[inout] On entry points to the size of the buffer 112 // pointed by *str. On exit *size is the amount of free space left 115 void sprint(char **str, size_t *size); 127 void printAverageMinMax(char **str, size_t *size); 128 void printThroughput(char **str, size_t *size);
|
H A D | sysutil.cpp | 74 // @param size The size of the buffer pointed by str. Must be >= 1. 77 int readStringFromFile(const char *filename, char *const start, size_t size, bool must_exist=true) argument 79 if (NULL == start || size == 0) 99 --size; // reserve space for trailing '\0' 101 while (size > 0 && !error && !eof && attempts < kMaxAttempts) 105 s = read(fd, end, size); 122 size -= s; 161 size_t size = len; local 165 while (size > 235 kernelVersion(char *str, size_t size) argument 285 schedFeatures(char *str, size_t size) argument 447 size_t size = sizeof(pid); local 525 size_t size; local [all...] |
H A D | sysutil.h | 57 // Minimum size for the buffer to retrieve the kernel version. 62 // @param size of the buffer pointed by str. 65 int kernelVersion(char *str, size_t size); 81 // Minimum size for the buffer to retrieve the sched features. 86 // @param size of the buffer pointed by str. 89 int schedFeatures(char *str, size_t size);
|
/system/media/camera/src/ |
H A D | camera_metadata.c | 28 * array is no larger than 4 bytes in size, it is stored in the data.value[] 72 * With the total length of the whole packet being camera_metadata.size bytes. 78 size_t size; member in struct:camera_metadata 155 metadata->size = memory_needed; 181 return metadata->size; 187 ptrdiff_t reserved_size = metadata->size - 220 ptrdiff_t reserved_size = src->size - 234 metadata->size = memory_needed; 528 // data size unchanged, reuse same data location
|
/system/netd/ |
H A D | CommandListener.cpp | 206 int CommandListener::writeFile(const char *path, const char *value, int size) { argument 213 if (write(fd, value, size) != size) {
|
H A D | CommandListener.h | 52 static int writeFile(const char *path, const char *value, int size);
|
H A D | List.h | 185 size_t size() const { function in class:android::netd::List
|
H A D | NetdConstants.cpp | 55 const char* argv[argsList.size()];
|
Completed in 57 milliseconds
123456