/external/chromium_org/chrome/browser/history/ |
query_parser_unittest.cc | 75 TestData data[] = { local 82 for (size_t i = 0; i < arraysize(data); ++i) { 84 EXPECT_EQ(data[i].expected_word_count, 85 query_parser_.ParseQuery(UTF8ToUTF16(data[i].input), 99 } data[] = { local 117 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { 120 parser.ParseQueryNodes(UTF8ToUTF16(data[i].query), &query_nodes.get()); 122 ASSERT_EQ(data[i].matches, 123 parser.DoesQueryMatch(UTF8ToUTF16(data[i].text), 127 if (data[i].m1_start != 0 || data[i].m1_end != 0) 148 } data[] = { local [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
event.cc | 13 scoped_ptr<base::DictionaryValue> data) 14 : type_(type), time_(time), data_(data.release()) { 20 scoped_ptr<Event> Event::FromValue(scoped_ptr<base::DictionaryValue> data) { 22 if (!data->GetInteger(std::string("eventType"), &type)) 25 if (!data->GetDouble(std::string("time"), &time)) 29 data.Pass()));
|
/external/chromium_org/chrome/common/extensions/api/sockets/ |
sockets_manifest_handler.cc | 22 scoped_ptr<SocketsManifestData> data = local 24 if (!data) 27 extension->SetManifestData(manifest_keys::kSockets, data.release()); 37 SocketsManifestData* data = SocketsManifestData::Get(extension); local 38 if (data) 39 return data->permission()->Clone();
|
/external/chromium_org/chrome/test/functional/ispy/server/ |
debug_view_handler.py | 35 data = {} 40 data['expected'] = _ImagePath(expected_path) 41 data['actual'] = _ImagePath(actual_path) 42 data['test_run'] = test_run 43 data['expectation'] = expectation 45 self.response.write(template.render(data))
|
/external/chromium_org/media/base/ |
data_buffer.cc | 26 DataBuffer::DataBuffer(const uint8* data, int data_size) 29 if (!data) { 36 memcpy(data_.get(), data, data_size_); 42 scoped_refptr<DataBuffer> DataBuffer::CopyFrom(const uint8* data, int size) { 44 CHECK(data); 45 return make_scoped_refptr(new DataBuffer(data, size));
|
/external/chromium_org/ppapi/tests/ |
test_pdf.cc | 35 pp::ImageData data = local 37 ASSERT_EQ(43, data.size().width()); 38 ASSERT_EQ(42, data.size().height()); 39 for (int i = 0; i < data.size().width(); ++i) { 40 for (int j = 0; j < data.size().height(); ++j) { 42 ASSERT_NE(*data.GetAddr32(point), 0);
|
/external/chromium_org/rlz/lib/ |
crc32_unittest.cc | 15 const char* data; member in struct:__anon10245 27 for (int i = 0; kData[i].data; i++) 29 rlz_lib::Crc32(reinterpret_cast<const unsigned char*>(kData[i].data), 35 const char* data; member in struct:__anon10246 48 for (int i = 0; kData[i].data; i++) { 49 EXPECT_TRUE(rlz_lib::Crc32(kData[i].data, &crc));
|
/external/chromium_org/third_party/icu/source/i18n/ |
utmscale.c | 57 const int64_t *data; local 68 data = (const int64_t *)(&timeScaleTable[timeScale]); 70 if (otherTime < data[UTSV_FROM_MIN_VALUE] || otherTime > data[UTSV_FROM_MAX_VALUE]) { 75 return (otherTime + data[UTSV_EPOCH_OFFSET_VALUE]) * data[UTSV_UNITS_VALUE]; 81 const int64_t *data; local 92 data = (const int64_t *)(&timeScaleTable[timeScale]); 94 if (universalTime < data[UTSV_TO_MIN_VALUE] || universalTime > data[UTSV_TO_MAX_VALUE]) [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
Bra.h | 18 data - data buffer 19 size - size of data 49 SizeT processed = Convert(data, size, ip, 1); 50 data += processed; 57 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding); 58 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 59 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 60 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 61 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/tools/ |
fxdis.cpp | 51 std::vector<char> data; local 56 data.push_back(c); 59 dxbc_container* dxbc = dxbc_parse(&data[0], data.size()); 63 dxbc_chunk_header* sm4_chunk = dxbc_find_shader_bytecode(&data[0], data.size());
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/ |
subtable.h | 35 // @param data the data for the subtable being built 36 // @param master_data the data for the full table 38 Builder(WritableFontData* data, ReadableFontData* master_data); 39 Builder(ReadableFontData* data, ReadableFontData* master_data); 40 explicit Builder(WritableFontData* data); 41 explicit Builder(ReadableFontData* data); 52 // Sets the amount of padding that is part of the data being used by this 57 SubTable(ReadableFontData* data, ReadableFontData* master_data); 60 // caller need to do data->Slice(offset, length) beforehand [all...] |
table_based_table_builder.cc | 26 int32_t TableBasedTableBuilder::SubSerialize(WritableFontData* data) { 27 UNREFERENCED_PARAMETER(data); 49 WritableFontData* data) 50 : Table::Builder(header, data) { 54 ReadableFontData* data) 55 : Table::Builder(header, data) {
|
/external/doclava/src/com/google/doclava/ |
TodoFile.java | 19 import com.google.clearsilver.jsilver.data.Data; 49 public static void setHDF(Data data, String base, SourcePositionInfo pos, String name, 51 data.setValue(base + ".pos", pos.toString()); 52 data.setValue(base + ".name", name); 53 data.setValue(base + ".descr", descr); 67 Data data = Doclava.makeHDF(); local 68 Doclava.setPageTitle(data, "Missing Documentation") [all...] |
/external/icu4c/i18n/ |
utmscale.c | 57 const int64_t *data; local 68 data = (const int64_t *)(&timeScaleTable[timeScale]); 70 if (otherTime < data[UTSV_FROM_MIN_VALUE] || otherTime > data[UTSV_FROM_MAX_VALUE]) { 75 return (otherTime + data[UTSV_EPOCH_OFFSET_VALUE]) * data[UTSV_UNITS_VALUE]; 81 const int64_t *data; local 92 data = (const int64_t *)(&timeScaleTable[timeScale]); 94 if (universalTime < data[UTSV_TO_MIN_VALUE] || universalTime > data[UTSV_TO_MAX_VALUE]) [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
ImageFlipper.java | 26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 61 ByteBuffer data = img.getData(index); local 64 data.rewind(); 68 data.position(y * scanline); 69 data.limit(data.position() + scanline); 72 temp.put(data);
|
/external/lzma/C/ |
Bra.h | 18 data - data buffer
19 size - size of data
49 SizeT processed = Convert(data, size, ip, 1);
50 data += processed;
57 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
58 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
59 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
60 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
61 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/tools/ |
fxdis.cpp | 51 std::vector<char> data; local 56 data.push_back(c); 59 dxbc_container* dxbc = dxbc_parse(&data[0], data.size()); 63 dxbc_chunk_header* sm4_chunk = dxbc_find_shader_bytecode(&data[0], data.size());
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
Hex.java | 31 public static String encodeHex(byte[] data) { 32 return encodeHex(data, 0); 35 public static String encodeHex(byte[] data, int group) { 36 int l = data.length; 44 out[j++] = DIGITS[(0xF0 & data[i]) >>> 4]; 45 out[j++] = DIGITS[0x0F & data[i]];
|
/external/sfntly/cpp/src/sfntly/table/ |
subtable.h | 35 // @param data the data for the subtable being built 36 // @param master_data the data for the full table 38 Builder(WritableFontData* data, ReadableFontData* master_data); 39 Builder(ReadableFontData* data, ReadableFontData* master_data); 40 explicit Builder(WritableFontData* data); 41 explicit Builder(ReadableFontData* data); 52 // Sets the amount of padding that is part of the data being used by this 57 SubTable(ReadableFontData* data, ReadableFontData* master_data); 60 // caller need to do data->Slice(offset, length) beforehand [all...] |
table_based_table_builder.cc | 26 int32_t TableBasedTableBuilder::SubSerialize(WritableFontData* data) { 27 UNREFERENCED_PARAMETER(data); 49 WritableFontData* data) 50 : Table::Builder(header, data) { 54 ReadableFontData* data) 55 : Table::Builder(header, data) {
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_wsc.c | 53 static void eap_wsc_state(struct eap_wsc_data *data, int state) 56 eap_wsc_state_txt(data->state), 58 data->state = state; 142 struct eap_wsc_data *data; local 174 data = os_zalloc(sizeof(*data)); 175 if (data == NULL) 177 data->state = registrar ? MESG : WAIT_START; 178 data->registrar = registrar; 179 data->wps_ctx = wps 265 struct eap_wsc_data *data = priv; local 407 struct eap_wsc_data *data = priv; local [all...] |
/frameworks/base/libs/storage/ |
IObbActionListener.cpp | 41 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 45 CHECK_INTERFACE(IObbActionListener, data, reply); 46 String16 filename = data.readString16(); 47 int32_t nonce = data.readInt32(); 48 int32_t state = data.readInt32(); 54 return BBinder::onTransact(code, data, reply, flags);
|
/hardware/libhardware/tests/nusensors/ |
nusensors.cpp | 131 const sensors_event_t& data = buffer[i]; local 133 if (data.version != sizeof(sensors_event_t)) { 135 data.version, sizeof(sensors_event_t)); 139 switch(data.type) { 148 getSensorName(data.type), 149 data.timestamp, 150 data.data[0], 151 data.data[1] [all...] |
/hardware/qcom/display/msm8960/libqservice/ |
IQService.cpp | 47 Parcel data, reply; local 48 data.writeInterfaceToken(IQService::getInterfaceDescriptor()); 49 data.writeInt32(startEnd); 50 remote()->transact(SECURING, data, &reply); 54 Parcel data, reply; local 55 data.writeInterfaceToken(IQService::getInterfaceDescriptor()); 56 data.writeInt32(startEnd); 57 remote()->transact(UNSECURING, data, &reply); 61 Parcel data, reply; local 62 data.writeInterfaceToken(IQService::getInterfaceDescriptor()) 68 Parcel data, reply; local [all...] |
/hardware/qcom/display/msm8974/libqservice/ |
IQService.cpp | 47 Parcel data, reply; local 48 data.writeInterfaceToken(IQService::getInterfaceDescriptor()); 49 data.writeInt32(startEnd); 50 remote()->transact(SECURING, data, &reply); 54 Parcel data, reply; local 55 data.writeInterfaceToken(IQService::getInterfaceDescriptor()); 56 data.writeInt32(startEnd); 57 remote()->transact(UNSECURING, data, &reply); 61 Parcel data, reply; local 62 data.writeInterfaceToken(IQService::getInterfaceDescriptor()) 68 Parcel data, reply; local [all...] |