/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/xmltestdata/ |
simple-ns.xml | 1 <?pi data?>
|
/system/core/libcutils/ |
load_file.c | 24 char *data; local 28 data = 0; 37 data = (char*) malloc(sz + 1); 38 if(data == 0) goto oops; 40 if(read(fd, data, sz) != sz) goto oops; 42 data[sz] = 0; 45 return data; 49 if(data != 0) free(data);
|
/external/chromium_org/ipc/ |
ipc_logging.cc | 111 std::vector<LogData> data; local 113 if (!ReadParam(&message, &iter, &data)) 116 for (size_t i = 0; i < data.size(); ++i) { 117 Log(data[i]); 126 LogData* data = message->sync_log_data(); local 127 if (!data) 133 GenerateLogData("", *message, data, true); 134 data->channel = channel_id; 135 Log(*data); 136 delete data; [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarReport.java | 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 89 ReportData data = new ReportData(); local 90 data.version = Version; 91 data.gname = g.name; 93 data.gtype = g.getGrammarTypeString(); 95 data.language = (String) g.getOption("language"); 96 data.output = (String) g.getOption("output"); 97 if ( data.output==null ) { 98 data.output = "none"; 105 data.grammarLevelk = k 261 ReportData data = getReportData(grammar); local 325 ReportData data = new ReportData(); local 349 ReportData data = decodeReportData(notifyDataLine); local [all...] |
/external/chromium/net/base/ |
data_url_unittest.cc | 17 const char* data; member in struct:__anon5351::ParseTestData 24 { "data:", 30 { "data:,", 36 { "data:;base64,", 42 { "data:;charset=,test", 48 { "data:TeXt/HtMl,<b>x</b>", 54 { "data:,foo", 60 { "data:;base64,aGVsbG8gd29ybGQ=", 66 { "data:foo/bar;baz=1;charset=kk,boo", 72 { "data:text/html,%3Chtml%3E%3Cbody%3E%3Cb%3Ehello%20world 145 std::string data; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_vendor_test.c | 36 struct eap_vendor_test_data *data; local 37 data = os_zalloc(sizeof(*data)); 38 if (data == NULL) 40 data->state = INIT; 41 data->first_try = 1; 42 return data; 48 struct eap_vendor_test_data *data = priv; local 49 os_free(data); 68 struct eap_vendor_test_data *data = priv local 142 struct eap_vendor_test_data *data = priv; local 149 struct eap_vendor_test_data *data = priv; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_univnewlines.py | 41 # use a class variable DATA to define the data to write to the file 47 data = self.DATA 49 data = data.encode("ascii") 51 fp.write(data) 61 data = fp.read() 62 self.assertEqual(data, DATA_LF) 67 data = fp.readlines( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_univnewlines.py | 41 # use a class variable DATA to define the data to write to the file 47 data = self.DATA 49 data = data.encode("ascii") 51 fp.write(data) 61 data = fp.read() 62 self.assertEqual(data, DATA_LF) 67 data = fp.readlines( [all...] |
/external/srec/srec/cfront/ |
sp_fft.c | 59 /* convert trigonomy function data to its required representation*/ 107 /* determine the maximum number of bits required to represent the data */ 108 static PINLINE int data_bits(const int length, fftdata data[]) 114 ASSERT(sizeof(data[0]) == 4); 118 d = data[i]; 358 static PINLINE void four_point_fft1(fftdata* data) 362 r0 = data[0]; 363 r1 = data[4]; 364 data[0] = r0 + r1; 365 data[4] = r0 - r1 [all...] |
/frameworks/native/libs/gui/ |
IGraphicBufferConsumer.cpp | 211 Parcel data, reply; local 212 data.writeInterfaceToken(IGraphicBufferConsumer::getInterfaceDescriptor()); 213 data.writeInt64(presentWhen); 214 status_t result = remote()->transact(ACQUIRE_BUFFER, data, &reply); 228 Parcel data, reply; local 229 data.writeInterfaceToken(IGraphicBufferConsumer::getInterfaceDescriptor()); 230 data.writeInt32(buf); 231 data.writeInt64(frameNumber); 232 data.write(*releaseFence); 233 status_t result = remote()->transact(RELEASE_BUFFER, data, &reply) 241 Parcel data, reply; local 253 Parcel data, reply; local 263 Parcel data, reply; local 274 Parcel data, reply; local 286 Parcel data, reply; local 297 Parcel data, reply; local 307 Parcel data, reply; local 318 Parcel data, reply; local 325 Parcel data, reply; local 336 Parcel data, reply; local 347 Parcel data, reply; local 358 Parcel data, reply; local [all...] |
ISurfaceComposerClient.cpp | 56 Parcel data, reply; local 57 data.writeInterfaceToken(ISurfaceComposerClient::getInterfaceDescriptor()); 58 data.writeString8(name); 59 data.writeInt32(w); 60 data.writeInt32(h); 61 data.writeInt32(format); 62 data.writeInt32(flags); 63 remote()->transact(CREATE_SURFACE, data, &reply); 70 Parcel data, reply; local 71 data.writeInterfaceToken(ISurfaceComposerClient::getInterfaceDescriptor()) [all...] |
/bionic/libc/unistd/ |
syslog.c | 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 96 syslog_r(int pri, struct syslog_data *data, const char *fmt, ...) 101 vsyslog_r(pri, data, fmt, ap); 106 vsyslog_r(int pri, struct syslog_data *data, const char *fmt, va_list ap) 120 if (data == &sdata) { 124 syslog_r(INTERNALLOG, data, 131 if (!(LOG_MASK(LOG_PRI(pri)) & data->log_mask)) 138 pri |= data->log_fac; 141 if (data == &sdata) 164 if (data == &sdata) [all...] |
/external/icu4c/test/intltest/ |
bytestrietest.cpp | 58 void checkData(const StringAndValue data[], int32_t dataLength); 59 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption); 60 BytesTrie *buildTrie(const StringAndValue data[], int32_t dataLength, 62 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 63 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 64 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 65 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 66 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 67 void checkIterator(BytesTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength); 129 static const StringAndValue data[]= local 136 static const StringAndValue data[]={ local 143 static const StringAndValue data[]={ local 151 static const StringAndValue data[]={ local 159 static const StringAndValue data[]={ local 182 static const StringAndValue data[]={ local 199 static const StringAndValue data[]={ local 228 static const StringAndValue data[]={ local 241 static const StringAndValue data[]={ local 271 static const StringAndValue data[]={ local 407 static const StringAndValue data[]={ local 458 static const StringAndValue data[]={ local 480 static const StringAndValue data[]={ local 515 static const StringAndValue data[]={ local 543 static const StringAndValue data[]={ local 574 static const StringAndValue data[]={ local [all...] |
/external/harfbuzz_ng/test/api/ |
test-blob.c | 50 const char *data; local 63 data = hb_blob_get_data (blob, NULL); 64 g_assert (data == NULL); 66 data = hb_blob_get_data (blob, &len); 67 g_assert (data == NULL); 78 static const char test_data[] = "test\0data"; 93 char *data; member in struct:__anon20482 108 free (fixture->data); 135 munmap (fixture->data, get_pagesize ()); 145 const char *data; local 208 const char *data; local 267 const char *data; local [all...] |
/frameworks/base/core/java/android/os/ |
CommonTimeUtils.java | 50 android.os.Parcel data = android.os.Parcel.obtain(); local 56 data.writeInterfaceToken(mInterfaceDesc); 57 mRemote.transact(method_code, data, reply, 0); 64 data.recycle(); 71 android.os.Parcel data = android.os.Parcel.obtain(); local 75 data.writeInterfaceToken(mInterfaceDesc); 76 data.writeInt(val); 77 mRemote.transact(method_code, data, reply, 0); 86 data.recycle(); 92 android.os.Parcel data = android.os.Parcel.obtain() local 113 android.os.Parcel data = android.os.Parcel.obtain(); local 134 android.os.Parcel data = android.os.Parcel.obtain(); local 155 android.os.Parcel data = android.os.Parcel.obtain(); local 176 android.os.Parcel data = android.os.Parcel.obtain(); local 233 android.os.Parcel data = android.os.Parcel.obtain(); local [all...] |
/ndk/sources/cxx-stl/gabi++/src/ |
dwarf_helper.cc | 22 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 56 uintptr_t readULEB128(const uint8_t** data) { 60 const uint8_t *p = *data; 66 *data = p; 70 intptr_t readSLEB128(const uint8_t** data) { 74 const uint8_t *p = *data; 80 *data = p; 87 static inline uint16_t readUData2(const uint8_t* data) { 89 return ((static_cast<uint16_t>(data[0])) | 90 (static_cast<uint16_t>(data[1]) << 8)) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
buffer.h | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 38 // Unlike std::string/vector, does not initialize data when expanding capacity. 44 Buffer(const void* data, size_t length) { 45 Construct(data, length, length); 47 Buffer(const void* data, size_t length, size_t capacity) { 48 Construct(data, length, capacity); 51 Construct(buf.data(), buf.length(), buf.length()); 54 const char* data() const { return data_.get(); } function in class:talk_base::Buffer 55 char* data() { return data_.get(); } function in class:talk_base::Buffer 62 Construct(buf.data(), buf.length(), buf.length()) [all...] |
/external/chromium_org/content/browser/ |
tcmalloc_internals_request_job.cc | 41 void AboutTcmallocOutputs::DumpToHTMLTable(std::string* data) { 44 data->append("<table width=\"100%\">\n"); 48 data->append("<tr><td bgcolor=\"yellow\">"); 49 data->append(oit->first); 50 data->append("</td></tr>\n"); 51 data->append("<tr><td><pre>\n"); 52 data->append(oit->second); 53 data->append("</pre></td></tr>\n"); 55 data->append("</table>\n"); 73 void AboutTcmalloc(std::string* data) { [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
LocaleMacTest.cpp | 19 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 181 EXPECT_STREQ("Week 04, 2005", formatWeek("en_US", "2005-W04").utf8().data()); 182 EXPECT_STREQ("Week 52, 2005", formatWeek("en_US", "2005-W52").utf8().data()); 187 EXPECT_STREQ("April 2005", formatMonth("en_US", "2005-04", false).utf8().data()); 188 EXPECT_STREQ("avril 2005", formatMonth("fr_FR", "2005-04", false).utf8().data()); 189 EXPECT_STREQ("2005\xE5\xB9\xB4" "04\xE6\x9C\x88", formatMonth("ja_JP", "2005-04", false).utf8().data()); 191 EXPECT_STREQ("Apr 2005", formatMonth("en_US", "2005-04", true).utf8().data()); 192 EXPECT_STREQ("avr. 2005", formatMonth("fr_FR", "2005-04", true).utf8().data()); 193 EXPECT_STREQ("2005\xE5\xB9\xB4" "04\xE6\x9C\x88", formatMonth("ja_JP", "2005-04", true).utf8().data()); 198 EXPECT_STREQ("04/27/2005", formatDate("en_US", 2005, April, 27).utf8().data()); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
buffer.h | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 38 // Unlike std::string/vector, does not initialize data when expanding capacity. 44 Buffer(const void* data, size_t length) { 45 Construct(data, length, length); 47 Buffer(const void* data, size_t length, size_t capacity) { 48 Construct(data, length, capacity); 51 Construct(buf.data(), buf.length(), buf.length()); 54 const char* data() const { return data_.get(); } function in class:talk_base::Buffer 55 char* data() { return data_.get(); } function in class:talk_base::Buffer 62 Construct(buf.data(), buf.length(), buf.length()) [all...] |
/external/webrtc/test/testsupport/ |
packet_reader_unittest.cc | 56 WebRtc_UWord8 data[kDataLengthInBytes]; local 57 WebRtc_UWord8* data_pointer = data; 58 memset(data, 1, kDataLengthInBytes); 60 reader_->InitializeReading(data, kDataLengthInBytes, kPacketSizeInBytes); 62 VerifyPacketData(kDataLengthInBytes, length_to_read, data, data_pointer); 63 EXPECT_EQ(0, data_pointer - data); // pointer hasn't moved 68 EXPECT_EQ(kDataLengthInBytes, data_pointer - data); 71 // Test with data length that exactly matches one packet 73 WebRtc_UWord8 data[kPacketSizeInBytes]; local 74 WebRtc_UWord8* data_pointer = data; 114 WebRtc_UWord8* data = new WebRtc_UWord8[kDataLengthInBytes]; local [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps.c | 25 * wps_init - Initialize WPS Registration protocol data 27 * Returns: Pointer to allocated data or %NULL on failure 29 * This function is used to initialize WPS data for a registration protocol 31 * Enrollee. The caller is responsible for freeing this data after the 36 struct wps_data *data = os_zalloc(sizeof(*data)); local 37 if (data == NULL) 39 data->wps = cfg->wps; 40 data->registrar = cfg->registrar; 42 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN) [all...] |
/frameworks/av/media/libmedia/ |
IAudioFlingerClient.cpp | 44 Parcel data, reply; local 45 data.writeInterfaceToken(IAudioFlingerClient::getInterfaceDescriptor()); 46 data.writeInt32(event); 47 data.writeInt32((int32_t) ioHandle); 51 data.writeInt32(stream); 55 data.writeInt32(desc->samplingRate); 56 data.writeInt32(desc->format); 57 data.writeInt32(desc->channelMask); 58 data.writeInt32(desc->frameCount); 59 data.writeInt32(desc->latency) [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
Math.h | 27 length(length), data(new PBQPNum[length]) { 32 length(length), data(new PBQPNum[length]) { 33 std::fill(data, data + length, initVal); 38 length(v.length), data(new PBQPNum[length]) { 39 std::copy(v.data, v.data + length, data); 43 ~Vector() { delete[] data; } 47 delete[] data; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
path.c | 78 static INLINE void data_at(void **data, 90 VGbyte **bdata = (VGbyte **)data; 99 VGshort **bdata = (VGshort **)data; 108 VGint **bdata = (VGint **)data; 117 VGfloat **fdata = (VGfloat **)data; 133 const VGfloat *data, 140 common_data[i] = (VGubyte)data[i]; 147 buf[i] = (VGshort)data[i]; 154 buf[i] = (VGint)data[i]; 159 memcpy(common_data, data, sizeof(VGfloat) * num_coords) 172 VGfloat data[8]; local 308 VGfloat data[8]; local 366 VGfloat data[8]; local 678 VGfloat data[8]; local 823 VGfloat data[8]; local 904 struct transform_data data; local 1235 VGfloat data[8]; local 1634 VGfloat data[2] = {x, y}; local 1644 VGfloat data[2] = {x, y}; local 1657 VGfloat data[6]; local [all...] |