HomeSort by relevance Sort by last modified time
    Searched defs:unit (Results 26 - 50 of 246) sorted by null

12 3 4 5 6 7 8 910

  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
MediaRecorderStopStateUnitTest.java 17 package com.android.mediaframeworktest.unit;
26 * Unit test class to test the set of valid and invalid states that
MediaRecorderStateErrors.java 17 package com.android.mediaframeworktest.unit;
MediaMetadataRetrieverTest.java 17 package com.android.mediaframeworktest.unit;
MediaPlayerStateErrors.java 17 package com.android.mediaframeworktest.unit;
  /external/guava/guava/src/com/google/common/base/
Stopwatch.java 150 * in the desired time unit, with any fraction rounded down.
180 * appropriate unit and using the specified number of significant figures.
188 TimeUnit unit = chooseUnit(nanos); local
189 double value = (double) nanos / NANOSECONDS.convert(1, unit);
193 value, abbreviate(unit));
209 private static String abbreviate(TimeUnit unit) {
210 switch (unit) {
  /external/jmonkeyengine/engine/src/core/com/jme3/material/
MatParamTexture.java 15 private int unit; field in class:MatParamTexture
17 public MatParamTexture(VarType type, String name, Texture texture, int unit) {
20 this.unit = unit;
35 public void setUnit(int unit) {
36 this.unit = unit;
40 return unit;
56 oc.write(unit, "texture_unit", -1);
64 unit = ic.readInt("texture_unit", -1)
    [all...]
  /external/linux-tools-perf/util/
string.c 13 s64 length = -1, unit = 1; local
32 unit = K;
43 unit = K * K;
54 unit = K * K * K;
65 unit = K * K * K * K;
68 unit = 1;
77 length = atoll(str) * unit;
  /external/oprofile/gui/
oprof_start.h 36 /// unit mask values if applicable
37 op_unit_mask const * unit; member in struct:op_event_descr
95 /// calculate unit mask for given event and unit mask part
97 /// calculate unit mask for given event
99 /// set the unit mask widgets for given event
108 /// hide unit mask widgets
  /external/qemu/distrib/sdl-1.2.15/src/video/dc/
SDL_dcevents.c 98 int port,unit; local
114 maple_raddr(addr,&port,&unit);
116 state = maple_dev_state(port,unit);
  /frameworks/av/media/libstagefright/rtsp/
AH263Assembler.cpp 156 LOG(VERBOSE) << "Access unit complete (" << mPackets.size() << " packets)";
162 const sp<ABuffer> &unit = *it; local
164 totalSize += unit->size();
172 const sp<ABuffer> &unit = *it; local
175 unit->data(), unit->size());
177 offset += unit->size();
197 msg->setBuffer("access-unit", accessUnit);
AAVCAssembler.cpp 155 sp<ABuffer> unit = new ABuffer(nalSize); local
156 memcpy(unit->data(), &data[2], nalSize);
158 CopyTimes(unit, buffer);
160 addSingleNALUnit(unit);
274 // We found all the fragments that make up the complete NAL unit.
280 sp<ABuffer> unit = new ABuffer(totalSize); local
281 CopyTimes(unit, *queue->begin());
283 unit->data()[0] = (nri << 5) | nalType;
295 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2);
301 unit->setRange(0, totalSize)
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
WifiSoftAPTest.java 17 package com.android.connectivitymanagertest.unit;
  /external/chromium/base/
pickle_unittest.cc 207 size_t unit = Pickle::kPayloadUnit; local
208 scoped_array<char> data(new char[unit]);
210 for (size_t i = 0; i < unit; i++)
213 // construct a message that will be exactly the size of one payload unit,
215 const size_t payload_size_after_header = unit - sizeof(uint32);
221 // note: we assume 'unit' is a power of 2
222 EXPECT_EQ(unit, pickle.capacity());
226 pickle.WriteData(data_ptr, static_cast<int>(unit - sizeof(uint32)));
227 cur_payload += unit;
228 EXPECT_EQ(unit * 2, pickle.capacity())
    [all...]
  /external/chromium/chrome/browser/
process_info_snapshot_mac.cc 83 // Converts a byte unit such as 'K' or 'M' into the scale for the unit.
87 static bool ConvertByteUnitToScale(char unit, uint64_t* out_scale) {
89 switch (unit) {
247 std::string unit; local
248 in >> unit; local
252 if (unit.empty())
256 if (!ConvertByteUnitToScale(unit[0], &scale))
  /external/icu4c/common/unicode/
stringtriebuilder.h 110 // Finds the first unit index after this one where
121 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const = 0;
328 // Adds a unit with a final value.
336 // Adds a unit which leads to another match node.
359 unit(middleUnit), lessThan(lessThanNode), greaterOrEqual(greaterOrEqualNode) {}
364 UChar unit; member in class:StringTrieBuilder::SplitBranchNode
369 // Branch head node, for writing the actual node lead unit.
390 virtual int32_t write(int32_t unit) = 0;
  /external/openssh/openbsd-compat/
fmt_scaled.c 35 * "Human-readable" output uses 4 digits max, and puts a unit suffix at
197 unit_type unit = NONE; local
212 unit = units[i];
233 else if (unit == NONE || number >= 100 || number <= -100) {
241 number, scale_chars[unit]);
244 number, fract, scale_chars[unit]);
  /external/oprofile/libop/
op_events.h 23 /** Describe an unit mask type. Events can optionally use a filter called
24 * the unit mask. the mask type can be a bitmask or a discrete value */
31 /** up to thirty two allowed unit masks */
35 /** Describe an unit mask. */
37 char * name; /**< name of unit mask type */
38 u32 num; /**< number of possible unit masks */
54 /** which unit mask if any allowed */
55 struct op_unit_mask * unit; member in struct:op_event
86 OP_INVALID_UM = 2, /**< unit mask is invalid */
94 * @param um unit mask for counte
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
Wap230WspContentTypeTest.java 225 WspTypeDecoder unit = new WspTypeDecoder( local
227 assertTrue(unit.decodeContentType(0));
228 String mimeType = unit.getValueString();
229 int wellKnownValue = (int) unit.getValue32();
232 assertEquals(1, unit.getDecodedDataLength());
245 WspTypeDecoder unit = new WspTypeDecoder(data); local
246 assertTrue(unit.decodeContentType(0));
247 String mimeType = unit.getValueString();
248 int wellKnownValue = (int) unit.getValue32();
251 assertEquals(4, unit.getDecodedDataLength())
259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
286 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
301 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
317 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
336 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
355 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
374 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
392 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
411 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
432 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
454 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
479 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
497 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
516 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
540 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
565 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
590 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
612 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
633 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
658 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
680 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
703 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
724 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
746 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
768 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
788 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
800 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
822 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
847 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
870 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ColorPickerDialog.java 116 private int interpColor(int colors[], float unit) {
117 if (unit <= 0) {
120 if (unit >= 1) {
124 float p = unit * (colors.length - 1);
188 // need to turn angle [-PI ... PI] into unit [0....1]
189 float unit = angle/(2*PI); local
190 if (unit < 0) {
191 unit += 1;
193 mCenterPaint.setColor(interpColor(mColors, unit));
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
GLClientState.cpp 62 memset(m_tex.unit, 0, sizeof(m_tex.unit));
63 m_tex.activeUnit = &m_tex.unit[0];
245 GLuint unit = texture - GL_TEXTURE0; local
246 if (unit >= MAX_TEXTURE_UNITS) {
249 m_tex.activeUnit = &m_tex.unit[unit];
255 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]);
405 for (TextureUnit* unit = m_tex.unit;
    [all...]
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
ColorWheel.java 133 private int interpColor(int colors[], float unit) {
134 if (unit <= 0) {
137 if (unit >= 1) {
141 float p = unit * (colors.length - 1);
205 // need to turn angle [-PI ... PI] into unit [0....1]
206 float unit = angle/(2*PI); local
207 if (unit < 0) {
208 unit += 1;
210 mCenterPaint.setColor(interpColor(mColors, unit));
  /external/dropbear/
progressmeter.c 68 static const char unit[] = " KMGT"; variable
82 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++)
91 unit[i],
100 for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++)
104 unit[i],
  /external/icu4c/common/
stringtriebuilder.cpp 138 // Branch on the middle unit.
139 // First, find the middle unit.
142 middleUnits[ltLength]=getElementUnit(i, unitIndex); // middle unit
149 // For each unit, find its elements array start and whether it has a final value.
155 UChar unit=getElementUnit(i++, unitIndex); local
156 i=indexOfElementWithNextUnit(i, unitIndex, unit);
179 // Write the rest of this node's unit-value pairs.
184 // Write the final value for the one string ending with this unit.
267 // Branch on the middle unit.
268 // First, find the middle unit
290 UChar unit=getElementUnit(i++, unitIndex); local
300 UChar unit=getElementUnit(start, unitIndex); local
    [all...]
ucharstriebuilder.cpp 30 * of the 16-bit-unit sequences, until the UCharsTrie is built.
57 // The first strings unit contains the string length.
71 // Too long: We store the length in 1 unit.
258 UChar unit=elements[i++].charAt(unitIndex, strings); local
259 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) {
270 UChar unit=elements[i++].charAt(unitIndex, strings); local
271 while(unit==elements[i].charAt(unitIndex, strings)) {
279 UCharsTrieBuilder::indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const {
280 while(unit==elements[i].charAt(unitIndex, strings)) {
348 UCharsTrieBuilder::write(int32_t unit) {
    [all...]
  /external/icu4c/tools/toolutil/
ucmstate.c 623 uint16_t unit; local
799 unit=(*pUnicodeCodeUnits)[offset]=oldUnicodeCodeUnits[oldOffset];
800 if(unit==0xfffe && (fallback=ucm_findFallback(toUFallbacks, countToUFallbacks, oldOffset))>=0) {
    [all...]

Completed in 1740 milliseconds

12 3 4 5 6 7 8 910