Searched refs:buffer (Results 76 - 87 of 87) sorted by relevance
1234
/system/extras/ext4_utils/ |
H A D | sha1.c | 126 void SHA1Transform(state, buffer) 128 const u_char buffer[64]; 137 assert(buffer != 0); 142 (void)memcpy(block, buffer, 64); 144 block = (CHAR64LONG16 *)(void *)buffer; 232 (void)memcpy(&context->buffer[j], data, (i = 64-j)); 233 SHA1Transform(context->state, context->buffer); 240 (void)memcpy(&context->buffer[j], &data[i], len - i);
|
/system/netd/ |
H A D | BandwidthController.cpp | 160 int BandwidthController::StrncpyAndCheck(char *buffer, const char *src, size_t buffSize) { argument 162 memset(buffer, '\0', buffSize); // strncpy() is not filling leftover with '\0' 163 strncpy(buffer, src, buffSize); 164 return buffer[buffSize - 1]; 169 char buffer[MAX_CMD_LEN]; local 172 char *next = buffer; 196 if (StrncpyAndCheck(buffer, fullCmd.c_str(), sizeof(buffer))) {
|
H A D | CommandListener.cpp | 945 char buffer[512]; local 947 fgets(buffer, sizeof(buffer), fp); // Header 1 948 fgets(buffer, sizeof(buffer), fp); // Header 2 949 while(fgets(buffer, sizeof(buffer), fp)) { 950 buffer[strlen(buffer)-1] = '\0'; 954 sscanf(buffer, " [all...] |
H A D | BandwidthController.h | 131 static int StrncpyAndCheck(char *buffer, const char *src, size_t buffSize);
|
/system/core/adb/ |
H A D | sysdeps_win32.c | 808 * each buffer is implemented as two regions: 813 * an empty buffer has: a_start = a_end = b_end = 0 819 * the buffer is full when b_end == a_start && a_end == BUFFER_SIZE 868 HANDLE evt_write; /* event signaled when one can write to a buffer */ 870 HANDLE evt_read; /* event signaled when one can read from a buffer */ 877 bip_buffer_init( BipBuffer buffer ) 879 D( "bit_buffer_init %p\n", buffer ); 880 buffer->a_start = 0; 881 buffer->a_end = 0; 882 buffer [all...] |
H A D | commandline.c | 359 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* serial) argument 362 snprintf(buffer, buflen, "host-serial:%s:%s", serial, command); 370 snprintf(buffer, buflen, "%s:%s", prefix, command);
|
/system/vold/ |
H A D | cryptfs.c | 383 char buffer[DM_CRYPT_BUF_SIZE]; local 398 io = (struct dm_ioctl *) buffer; 416 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; 425 crypt_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec); 431 tgt->next = crypt_params - buffer; 467 char buffer[DM_CRYPT_BUF_SIZE]; local 476 io = (struct dm_ioctl *) buffer;
|
/system/core/libcutils/ |
H A D | Android.mk | 31 buffer.c \
|
H A D | mq.c | 37 #include "buffer.h" 278 /** Sets up the buffer for the outgoing header. */ 448 * buffer is filled. Returns true when the buffer is empty. 462 Buffer* buffer = peerProxy->currentPacket->bytes; local 463 if (peerProxyWriteFromBuffer(peerProxy, buffer)) { 940 * buffer is filled. Returns true when the buffer is full.
|
/system/core/sdcard/ |
H A D | sdcard.c | 132 /* To save memory, we never use the contents of the request buffer and the read 133 * buffer at the same time. This allows us to share the underlying storage. */ 204 /* Gets the absolute path to a node into the provided buffer. 207 * or returns -1 if the path is too long for the provided buffer. 231 * Performs a case-insensitive search for the file and sets the buffer to the path 233 * the buffer to the path that the file would have, assuming the name were case-sensitive. 236 * or returns NULL if the path is too long for the provided buffer. 844 /* Don't access any other fields of hdr or req beyond this point, the read buffer 845 * overlaps the request buffer and will clobber data in the request. This 863 const void* buffer) 861 handle_write(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_write_in* req, const void* buffer) argument 980 char buffer[8192]; local 1103 const void* buffer = (const __u8*)data + sizeof(*req); local [all...] |
/system/core/toolbox/ |
H A D | lsof.c | 102 char buffer[PATH_MAX + 100]; local
|
/system/media/camera/src/ |
H A D | camera_metadata.c | 33 // Align data buffer to largest supported data type 100 void *user; // User set pointer, not copied with buffer 168 void *buffer = malloc(memory_needed); local 169 return place_camera_metadata(buffer, memory_needed, 216 // Start buffer list at aligned boundary 295 // Appending onto empty buffer, keep sorted state 478 // Shift data buffer to overwrite deleted data
|
Completed in 238 milliseconds
1234