HomeSort by relevance Sort by last modified time
    Searched defs:pos (Results 101 - 125 of 5226) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/wpa_supplicant_8/wpa_supplicant/
wpa_passphrase.c 19 char *ssid, *passphrase, buf[64], *pos; local
40 pos = buf;
41 while (*pos != '\0') {
42 if (*pos == '\r' || *pos == '\n') {
43 *pos = '\0';
46 pos++;
  /frameworks/av/media/libstagefright/codecs/amrwb/src/
dec_acelp_4p_in_64.cpp 123 void add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]);
160 int16 k, pos[6]; local
173 dec_1p_N1(L_index, 4, 0, pos);
174 add_pulses(pos, 1, k, code);
182 dec_2p_2N1(L_index, 4, 0, pos);
183 add_pulses(pos, 2, k, code);
190 dec_3p_3N1(L_index, 4, 0, pos);
191 add_pulses(pos, 3, k, code);
196 dec_2p_2N1(L_index, 4, 0, pos);
197 add_pulses(pos, 2, k, code)
    [all...]
  /frameworks/base/cmds/statsd/tests/metrics/
metrics_test_helper.cpp 23 int pos[] = {key, 0, 0}; local
24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value)));
  /frameworks/base/libs/hwui/tests/common/scenes/
SimpleColorMatrixAnimation.cpp 74 float pos[] = {0, 1}; local
77 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2,
  /frameworks/compile/mclinker/lib/Core/
GeneralOptions.cpp 72 size_t pos = pName.find_last_of(sys::fs::separator); local
73 if (std::string::npos == pos)
76 m_SOName = pName.substr(pos + 1);
  /libcore/luni/src/test/java/libcore/java/io/
InputStreamReaderTest.java 33 PipedOutputStream pos = new PipedOutputStream(pin); local
34 pos.write("hello".getBytes("UTF-8"));
  /libcore/ojluni/src/main/native/
UnixCopyFile.c 60 ssize_t n, pos, len; local
71 pos = 0;
75 bufp += pos;
81 pos += n;
  /packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
buffer_with_extendable_buffer_test.cpp 28 int pos = 0; local
31 EXPECT_TRUE(buffer.writeUint(data_1, 1 /* size */, pos));
32 EXPECT_EQ(data_1, buffer.readUint(1, pos));
33 pos += 1;
36 EXPECT_TRUE(buffer.writeUint(data_2, 2 /* size */, pos));
37 EXPECT_EQ(data_2, buffer.readUint(2, pos));
38 pos += 2;
41 EXPECT_TRUE(buffer.writeUint(data_3, 3 /* size */, pos));
42 EXPECT_EQ(data_3, buffer.readUint(3, pos));
43 pos += 3
85 int pos = 0; local
    [all...]
byte_array_utils_test.cpp 29 int pos = 0; local
31 EXPECT_EQ(0x6f, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos));
33 EXPECT_EQ(0x6b, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos));
36 EXPECT_EQ(0x100, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos));
53 int pos = 0; local
54 EXPECT_EQ(0x18A00, ByteArrayUtils::readSint24AndAdvancePosition(buffer, &pos));
55 pos = 1;
56 EXPECT_EQ(-0xA00AA, ByteArrayUtils::readSint24AndAdvancePosition(buffer, &pos));
62 int pos = 0; local
64 ByteArrayUtils::writeUintAndAdvancePosition(buffer, data_1B, 1, &pos);
81 int pos = 0; local
95 int pos = 0; local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp 57 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local
58 _GLIBCXX_DEBUG_ASSERT(pos < m_num_e);
59 entry* const p_e = m_entries + pos;
66 return (ins_pos == m_num_e) ? pos : ins_pos;
71 ins_pos = pos;
78 return pos;
99 const size_type pos = find_ins_pos(r_key, local
102 if (m_entries[pos].m_stat == valid_entry_status)
105 return std::make_pair(&(m_entries + pos)->m_value, false);
109 return std::make_pair(insert_new_imp(r_val, pos), true)
    [all...]
insert_store_hash_fn_imps.hpp 59 const size_type pos = ranged_probe_fn_base::operator()(r_key, pos_hash_pair.second, i); local
61 entry* const p_e = m_entries + pos;
70 std::make_pair(pos, pos_hash_pair.second) :
76 ins_pos = pos;
84 return std::make_pair(pos, pos_hash_pair.second);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp 57 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local
58 _GLIBCXX_DEBUG_ASSERT(pos < m_num_e);
59 entry* const p_e = m_entries + pos;
66 return (ins_pos == m_num_e) ? pos : ins_pos;
71 ins_pos = pos;
78 return pos;
99 const size_type pos = find_ins_pos(r_key, local
102 if (m_entries[pos].m_stat == valid_entry_status)
105 return std::make_pair(&(m_entries + pos)->m_value, false);
109 return std::make_pair(insert_new_imp(r_val, pos), true)
    [all...]
insert_store_hash_fn_imps.hpp 59 const size_type pos = ranged_probe_fn_base::operator()(r_key, pos_hash_pair.second, i); local
61 entry* const p_e = m_entries + pos;
70 std::make_pair(pos, pos_hash_pair.second) :
76 ins_pos = pos;
84 return std::make_pair(pos, pos_hash_pair.second);
  /prebuilts/jdk/jdk8/darwin-x86/sample/nio/file/
Chmod.java 130 int pos = 0; local
138 switch (expr.charAt(pos)) {
147 pos++;
153 char op = expr.charAt(pos++);
154 String mask = (expr.length() == pos) ? "" : expr.substring(pos);
  /prebuilts/jdk/jdk8/linux-x86/sample/nio/file/
Chmod.java 130 int pos = 0; local
138 switch (expr.charAt(pos)) {
147 pos++;
153 char op = expr.charAt(pos++);
154 String mask = (expr.length() == pos) ? "" : expr.substring(pos);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/
rfind_pointer_size.pass.cpp 11 // constexpr size_type rfind(const charT* s, size_type pos = npos) const;
21 test(const S& s, const typename S::value_type* str, typename S::size_type pos,
24 assert(s.rfind(str, pos) == x);
28 assert(x <= pos && x + n <= s.size());
39 typename S::size_type pos = s.size(); local
41 assert(x <= pos && x + n <= s.size());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_rfind/
pointer_size.pass.cpp 12 // size_type rfind(const charT* s, size_type pos = npos) const;
21 test(const S& s, const typename S::value_type* str, typename S::size_type pos,
24 assert(s.rfind(str, pos) == x);
28 assert(x <= pos && x + n <= s.size());
39 typename S::size_type pos = s.size(); local
41 assert(x <= pos && x + n <= s.size());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/string.view/string.view.find/
rfind_pointer_size.pass.cpp 11 // constexpr size_type rfind(const charT* s, size_type pos = npos) const;
21 test(const S& s, const typename S::value_type* str, typename S::size_type pos,
24 assert(s.rfind(str, pos) == x);
28 assert(x <= pos && x + n <= s.size());
39 typename S::size_type pos = s.size(); local
41 assert(x <= pos && x + n <= s.size());
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/util/
bit_stream.h 96 const uint64_t pos = GetLowerBits(uval, block_exponent); local
97 return (block_num << block_exponent) + pos;
105 const uint64_t pos = GetLowerBits(val, block_exponent);
108 return -1LL - ((block_num >> 1) << block_exponent) - pos;
111 return ((block_num >> 1) << block_exponent) + pos;
  /system/chre/util/nanoapp/
debug.cc 65 char *pos = tabs; local
67 *pos++ = '\t';
70 *pos = '\0';
  /libcore/ojluni/src/test/java/time/test/java/time/format/
TestSettingsParser.java 97 ParsePosition pos = new ParsePosition(0); local
98 getFormatter().parseUnresolved("a", pos);
99 assertEquals(pos.getIndex(), 0);
104 ParsePosition pos = new ParsePosition(0); local
105 getFormatter().parseUnresolved("a", pos);
106 assertEquals(pos.getIndex(), 0);
111 ParsePosition pos = new ParsePosition(0); local
112 getFormatter().parseUnresolved("a", pos);
113 assertEquals(pos.getIndex(), 0);
118 ParsePosition pos = new ParsePosition(0) local
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/format/
TCKLocalizedPrinterParser.java 102 private ParsePosition pos; field in class:TCKLocalizedPrinterParser
107 pos = new ParsePosition(0);
162 TemporalAccessor parsed = f.parse(text, pos);
163 assertEquals(pos.getIndex(), text.length());
164 assertEquals(pos.getErrorIndex(), -1);
215 TemporalAccessor parsed = f.parse(text, pos);
216 assertEquals(pos.getIndex(), text.length());
217 assertEquals(pos.getErrorIndex(), -1);
TCKPadPrinterParser.java 83 private ParsePosition pos; field in class:TCKPadPrinterParser
88 pos = new ParsePosition(0);
132 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text, pos);
133 assertEquals(pos.getIndex(), expectedIndex);
134 assertEquals(pos.getErrorIndex(), expectedErrorIndex);
173 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text, pos);
174 assertEquals(pos.getIndex(), expectedIndex);
175 assertEquals(pos.getErrorIndex(), expectedErrorIndex);
188 TemporalAccessor parsed = builder.toFormatter().parseUnresolved("--HELLO-", pos);
189 assertEquals(pos.getIndex(), 0)
    [all...]
  /art/openjdkjvmti/
ti_breakpoint.cc 121 auto pos = env->breakpoints.find(/* Breakpoint */ {art_method, location}); local
122 if (pos == env->breakpoints.end()) {
125 env->breakpoints.erase(pos);
  /art/runtime/gc/space/
bump_pointer_space-walk-inl.h 32 uint8_t* pos = Begin(); local
34 uint8_t* main_end = pos;
64 while (pos < main_end) {
65 mirror::Object* obj = reinterpret_cast<mirror::Object*>(pos);
74 pos = reinterpret_cast<uint8_t*>(GetNextObject(obj));
78 while (pos < end) {
79 BlockHeader* header = reinterpret_cast<BlockHeader*>(pos);
81 pos += sizeof(BlockHeader); // Skip the header so that we know where the objects
82 mirror::Object* obj = reinterpret_cast<mirror::Object*>(pos);
83 const mirror::Object* end_obj = reinterpret_cast<const mirror::Object*>(pos + block_size)
    [all...]

Completed in 489 milliseconds

1 2 3 45 6 7 8 91011>>