Searched refs:data (Results 26 - 50 of 135) sorted by relevance

123456

/system/extras/tests/fstest/
H A Dperm_checker.conf8 /data/ 771 771 system system system system
9 /data/* 000 744 system system system system
10 /data/anr/ 000 751 root system log log
11 /data/anr/... 000 662 root system log log
12 /data/app/ 771 771 system system system system
13 /data/app/... 644 664 system system system system
14 /data/app-private/ 700 771 system system system system
15 /data/dalvik-cache/ 750 771 root system root system
16 /data/dalvik-cache/... 400 744 root 19999 root 19999
17 /data/dat
[all...]
/system/core/libpixelflinger/
H A Dbuffer.cpp63 dst->data = src->data;
69 dst->data += bpr * (dst->height-1);
96 gen.data = int32_t(s.data);
118 uint8_t* const data = s->data + index * f->size; local
121 case 1: v = *data; break;
122 case 2: v = *(uint16_t*)data; break;
123 case 3: v = (data[
175 uint8_t* const data = s->data + index * f->size; local
[all...]
/system/core/adb/
H A Dutils.h21 /* all these functions are used to append data to a bounded buffer.
53 char* buff_addb (char* buff, char* buffEnd, const void* data, int len);
/system/core/include/sysutils/
H A DFrameworkClient.h17 int sendMsg(const char *msg, const char *data);
H A DFrameworkListener.h45 void dispatchCommand(SocketClient *c, char *data);
H A DSocketClient.h52 // Provides a mechanism to send binary data to client.
54 // big-endian length, and the data.
55 int sendBinaryMsg(int code, const void *data, int len);
57 // Sending binary data:
58 int sendData(const void *data, int len);
75 // Sending binary data. The caller should use make sure this is protected
79 int sendDataLocked(const void *data, int len);
/system/core/libcorkscrew/arch-arm/
H A Dptrace-arm.c65 void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data) { argument
66 load_exidx_header(pid, mi, &data->exidx_start, &data->exidx_size);
69 void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data) { argument
/system/extras/ext4_utils/
H A Dextent.c28 /* Creates data buffers for the first backing_len bytes of a block allocation
33 u8 *data = calloc(backing_len, 1); local
34 if (!data)
37 u8 *ptr = data;
51 return data;
54 /* Queues each chunk of a file to be written to contiguous data block
124 u8 *data = calloc(info.block_size, 1); local
125 if (!data)
128 sparse_file_add_data(info.sparse_file, data, info.block_size,
138 hdr = (struct ext4_extent_header *)data;
185 u8 *data = NULL; local
[all...]
/system/core/init/
H A Dgrab-bootchart.sh12 LOGROOT=/data/bootchart
H A Dutil.c151 char *data; local
156 data = 0;
176 data = (char*) malloc(sz + 2);
177 if(data == 0) goto oops;
179 if(read(fd, data, sz) != sz) goto oops;
181 data[sz] = '\n';
182 data[sz+1] = 0;
184 return data;
188 if(data != 0) free(data);
395 char data[1024]; local
[all...]
H A Dlogo.c109 unsigned short *data, *bits, *ptr; local
126 data = mmap(0, s.st_size, PROT_READ, MAP_SHARED, fd, 0);
127 if (data == MAP_FAILED)
134 ptr = data;
148 munmap(data, s.st_size);
156 munmap(data, s.st_size);
/system/core/libcutils/
H A Dbuffer.h31 * Byte buffer of known size. Keeps track of how much data has been read
35 /** Buffered data. */
36 char* data; member in struct:__anon388
54 * Returns true if all data has been read into the buffer.
71 Buffer* bufferWrap(char* data, size_t capacity, size_t size);
74 * Frees and its data.
86 * Reads some data into a buffer. Returns -1 in case of an error and sets
100 * Writes data from buffer to the given fd. Returns -1 and sets errno in case
/system/core/include/zipfile/
H A Dzipfile.h30 zipfile_t init_zipfile(const void* data, size_t size);
/system/core/libpixelflinger/tinyutils/
H A DSharedBuffer.cpp45 memcpy(sb->data(), data(), size());
65 memcpy(sb->data(), data(), newSize < mySize ? newSize : mySize);
/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp241 EXPECT_EQ(exposure_time, *entry.data.i64);
250 EXPECT_EQ(sensitivity, *entry.data.i32);
259 EXPECT_EQ(focusDistance, *entry.data.f);
269 EXPECT_EQ(colorTransform[i], entry.data.f[i] );
336 EXPECT_EQ(exposure_time, *entry.data.i64);
340 entry.data.u8 = NULL;
347 EXPECT_EQ(NULL, entry.data.u8);
400 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]);
459 EXPECT_EQ(e1.data
765 uint8_t data[entry_data_count * 8]; local
[all...]
/system/core/rootdir/etc/
H A Dinit.testmenu6 n1=`cat /data/phoneentry1 2>/dev/null`
7 n2=`cat /data/phoneentry2 2>/dev/null`
8 n3=`cat /data/phoneentry3 2>/dev/null`
72 echo " 5: test data connection"
134 "4" ) echo -n "Number: "; read n1; echo $n1 >/data/phoneentry1;;
135 "5" ) echo -n "Number: "; read n2; echo $n2 >/data/phoneentry2;;
136 "6" ) echo -n "Number: "; read n3; echo $n3 >/data/phoneentry3;;
148 echo " 1: Save FFS data"
149 echo " 2: Load user FFS data"
150 echo " 3: Load system FFS data"
[all...]
/system/core/toolbox/grep/
H A Dfastgrep.c205 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch) argument
219 /* No point in going farther if we do not have enough data. */
226 /* Verify data is >= pattern length before searching on it. */
228 /* Determine where in data to start search at. */
231 if (grep_cmp(fg->pattern, data + j,
242 if (grep_cmp(fg->pattern, data + j - fg->len,
252 j -= fg->qsBc[data[j - fg->len - 1]];
258 if (grep_cmp(fg->pattern, data + j, fg->len) == -1) {
269 j += fg->qsBc[data[j + fg->len]];
281 grep_cmp(const unsigned char *pat, const unsigned char *data, size_ argument
[all...]
/system/core/libsysutils/src/
H A DSocketClient.cpp82 /** send 3-digit code, null, binary-length, binary data */
83 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { argument
96 result = sendDataLocked(data, len);
142 int SocketClient::sendData(const void *data, int len) { argument
145 int rc = sendDataLocked(data, len);
151 int SocketClient::sendDataLocked(const void *data, int len) { argument
153 const char *p = (const char*) data;
/system/core/libsparse/
H A Dbacked_block.c32 void *data; member in struct:backed_block::__anon460::__anon461
33 } data; member in union:backed_block::__anon460
78 return bb->data.data;
216 /* Don't support merging data for now */
287 /* Queues a fill block of memory to be written to the specified data blocks */
305 /* Queues a block of memory to be written to the specified data blocks */
306 int backed_block_add_data(struct backed_block_list *bbl, void *data, argument
317 bb->data.data
[all...]
H A Doutput_file.c79 void *data);
159 static int file_write(struct output_file *out, void *data, int len) argument
164 ret = write(outn->fd, data, len);
242 static int gz_file_write(struct output_file *out, void *data, int len) argument
247 ret = gzwrite(outgz->gz_fd, data, len);
303 static int callback_file_write(struct output_file *out, void *data, int len) argument
308 return outc->write(outc->priv, data, len);
359 /* We are skipping data, so emit a don't care chunk. */
385 /* Finally we can safely emit a chunk of data */
411 void *data)
410 write_sparse_data_chunk(struct output_file *out, unsigned int len, void *data) argument
484 write_normal_data_chunk(struct output_file *out, unsigned int len, void *data) argument
691 write_data_chunk(struct output_file *out, unsigned int len, void *data) argument
717 char *data = mmap64(NULL, buffer_size, PROT_READ, MAP_SHARED, fd, local
725 char *data = malloc(len); local
[all...]
/system/core/include/corkscrew/
H A Dmap_info.h36 void* data; // arbitrary data associated with the map by the user, initially NULL member in struct:map_info
/system/core/include/cutils/
H A Dconfig_utils.h37 void config_load(cnode *root, char *data);
H A Dselector.h20 * write data and handle errors.
40 * when the descriptor contains out-of-band data. Simply set a callback to
55 /** Pointer to user-specific data. Can be NULL. */
56 void* data; member in struct:SelectableFd
71 * Invoked by the selector when the descriptor has data available. Set to
77 * Invoked by the selector when the descriptor can accept data. Set to
83 * Invoked by the selector when out-of-band (OOB) data is available. Set to
84 * NULL to indicate that you're not interested in OOB data.
/system/core/libzipfile/
H A Dprivate.h16 const unsigned char* data; member in struct:Zipentry
/system/security/keystore/
H A Dkeystore_client.cpp74 uint8_t* data = reply->get(); local
80 int n = TEMP_FAILURE_RETRY(recv(sock, &data[offset], length - offset, 0));
82 ALOGW("truncated read from keystore for data");
130 uint8_t* data = mData; local
132 return data;

Completed in 141 milliseconds

123456