Searched defs:pair (Results 51 - 75 of 185) sorted by relevance

12345678

/external/icu/icu4c/source/i18n/
H A Dcollationfastlatin.h103 * Use INDEX_MASK to find the pair of CEs after the fixed table.
231 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { argument
232 uint32_t ce = pair & 0xffff;
233 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; }
234 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; }
236 return pair; // special mini CE
246 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
247 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
248 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
249 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
[all...]
H A Dcollationsettings.cpp160 uint32_t pair = ranges[i]; local
161 int32_t limit1 = (int32_t)(pair >> 24);
163 table[b] = (uint8_t)(b + pair);
167 if((pair & 0xff0000) != 0) {
H A Dcollationfastlatin.cpp125 * Single mini CE or a pair.
461 * Single mini CE or a pair.
947 CollationFastLatin::getSecondaries(uint32_t variableTop, uint32_t pair) { argument
948 if(pair <= 0xffff) {
950 if(pair >= MIN_SHORT) {
951 pair = getSecondariesFromOneShortCE(pair);
952 } else if(pair > variableTop) {
953 pair = COMMON_SEC_PLUS_OFFSET;
954 } else if(pair >
973 getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair) argument
1014 getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair) argument
1065 getQuaternaries(uint32_t variableTop, uint32_t pair) argument
[all...]
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestConversion.java104 public void conversionTest(TestDataPair pair) { argument
105 TestData td = pair.td;
106 //DataMap settings = pair.dm;
/external/ipsec-tools/src/racoon/
H A Dproposal.c1176 struct prop_pair **pair; local
1180 /* get proposal pair */
1181 pair = get_proppair(iph2->sa, IPSECDOI_TYPE_PH2);
1182 if (pair == NULL)
1190 if (pair[i] == NULL)
1196 pp_peer = aproppair2saprop(pair[i]);
1291 if (pair)
1292 free_proppair(pair);
/external/libbrillo/brillo/dbus/
H A Ddbus_object.cc41 for (const auto& pair : handlers_) {
42 std::string method_name = pair.first;
75 for (const auto& pair : handlers_) {
76 std::string method_name = pair.first;
119 auto pair = handlers_.find(method_name); local
120 if (pair == handlers_.end()) {
129 pair->second->HandleMethod(method_call, sender);
210 for (const auto& pair : interfaces_) {
211 pair.second->ExportAsync(
216 sequencer->GetHandler("Failed to export interface " + pair
[all...]
/external/libbrillo/brillo/http/
H A Dhttp_connection_curl.cc126 for (auto pair : headers_) {
128 brillo::string_utils::Join(": ", pair.first, pair.second);
254 auto pair = SplitAtFirst(header, " "); local
255 me->protocol_version_ = pair.first;
256 me->status_text_ = SplitAtFirst(pair.second, " ").second;
259 auto pair = SplitAtFirst(header, ":"); local
260 if (!pair.second.empty())
261 me->headers_.insert(pair);
/external/libbrillo/brillo/
H A Dmime_utils.cc84 auto pair = brillo::string_utils::SplitAtFirst(parts[i], "="); local
85 pair.second = DecodeParam(pair.second);
86 parameters->push_back(pair);
112 for (const auto& pair : parameters) {
114 brillo::string_utils::Join("=", pair.first, EncodeParam(pair.second)));
156 for (const auto& pair : params) {
157 if (base::EqualsCaseInsensitiveASCII(pair.first.c_str(), paramName.c_str()))
158 return pair
[all...]
/external/libcups/cups/
H A Ddest-localization.c237 * option+value pair.
255 char pair[256]; /* option.value pair */ local
267 snprintf(pair, sizeof(pair), "%s.%s", option, value);
268 key.id = pair;
441 * 'cups_read_strings()' - Read a pair of strings from a .strings file.
/external/libevent/
H A Dbufferevent_pair.c114 struct bufferevent *pair[2])
144 pair[0] = downcast(bufev1);
145 pair[1] = downcast(bufev2);
113 bufferevent_pair_new(struct event_base *base, int options, struct bufferevent *pair[2]) argument
/external/libmicrohttpd/src/microspdy/
H A Dstructures.c44 struct SPDY_NameValue *pair; local
46 if(NULL == (pair = malloc(sizeof(struct SPDY_NameValue))))
49 memset (pair, 0, sizeof (struct SPDY_NameValue));
51 return pair;
62 struct SPDY_NameValue *pair; local
102 pair = container;
103 while(NULL != pair)
105 if(0 == strcmp(pair->name, name))
107 //the value will be added to this pair
110 pair
[all...]
/external/libmojo/mojo/edk/embedder/
H A Dembedder_unittest.cc201 PlatformChannelPair pair; local
208 ChildProcessLaunched(base::GetCurrentProcessHandle(), pair.PassServerHandle(),
213 ignore_result(pair.PassClientHandle());
222 PlatformChannelPair pair; local
/external/lzma/CPP/7zip/UI/Common/
H A DUpdatePair.cpp136 CUpdatePair pair; local
171 pair.State = NUpdateArchive::NPairState::kOnlyOnDisk;
172 pair.DirIndex = dirIndex2;
178 pair.State = ai->Censored ?
181 pair.ArcIndex = arcIndex2;
194 pair.DirIndex = dirIndex2;
195 pair.ArcIndex = arcIndex2;
201 case -1: pair.State = NUpdateArchive::NPairState::kNewInArchive; break;
202 case 1: pair.State = NUpdateArchive::NPairState::kOldInArchive; break;
204 pair
[all...]
/external/ppp/pppd/plugins/radius/
H A Davpair.c26 * Purpose: add an attribute-value pair to the given list.
28 * Returns: pointer to added a/v pair upon success, NULL pointer upon failure.
30 * Remarks: Always appends the new pair to the end of the list.
53 * Purpose: assign the given value to an attribute-value pair.
104 * Purpose: make a new attribute-value pair with given parameters.
106 * Returns: pointer to generated a/v pair when successful, NULL when failure.
163 VALUE_PAIR *pair; local
207 if ((pair =
215 strcpy (pair->name, attr->name);
216 pair
270 VALUE_PAIR *pair; local
455 rc_avpair_free(VALUE_PAIR *pair) argument
529 VALUE_PAIR *pair; local
692 rc_avpair_tostr(VALUE_PAIR *pair, char *name, int ln, char *value, int lv) argument
[all...]
/external/python/cpython2/Modules/_ctypes/
H A Dstgdict.c204 PyObject *pair = PySequence_Fast_GET_ITEM(fieldlist, i); /* borrowed */ local
209 if (!PyArg_ParseTuple(pair, "OO|O", &fname, &ftype, &bits)) {
434 PyObject *pair = PySequence_GetItem(fields, i); local
439 if (!pair || !PyArg_ParseTuple(pair, "OO|i", &name, &desc, &bitsize)) {
442 Py_XDECREF(pair);
447 Py_DECREF(pair);
462 if (PyTuple_Size(pair) == 3) { /* bits specified */
485 Py_DECREF(pair);
491 Py_DECREF(pair);
[all...]
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table_format4.cc316 CodeOffsetPairBuilder* pair = &(pair_list->at(location)); local
317 if (glyph_id < pair->glyph_code()) {
320 } else if (glyph_id > pair->glyph_code()) {
/external/skia/src/core/
H A DSkMetaData.cpp50 PtrPair* pair = (PtrPair*)rec->data(); local
51 if (pair->fProc && pair->fPtr) {
52 pair->fPtr = pair->fProc(pair->fPtr, false);
99 PtrPair pair = { ptr, proc }; local
100 (void)this->set(name, &pair, sizeof(PtrPair), kPtr_Type, 1);
135 PtrPair* pair = (PtrPair*)rec->data(); local
136 if (pair
190 const PtrPair* pair = (const PtrPair*)rec->data(); local
259 PtrPair* pair = (PtrPair*)rec->data(); local
[all...]
/external/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp211 SkPoint pair[5]; local
212 if (SkChopQuadAtMaxCurvature(pointsPtr, pair) == 1) {
215 if (!SkScalarsAreFinite(&pair[0].fX, SK_ARRAY_COUNT(pair) * 2)) {
219 SkPath::Verb v1 = SkReduceOrder::Quad(&pair[0], cStorage[0]);
220 SkPath::Verb v2 = SkReduceOrder::Quad(&pair[2], cStorage[1]);
221 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? &pair[0] : cStorage[0];
222 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? &pair[2] : cStorage[1];
242 SkConic pair[2]; local
243 if (!conic.chopAt(maxCurvature, pair)) {
[all...]
/external/skia/tests/
H A DPathOpsTestCommon.cpp96 SkDCubicPair pair; local
98 pair = cubic->chopAt(inflectT[0]);
99 int orderP1 = reducer.reduce(pair.first(), SkReduceOrder::kNo_Quadratics);
103 int orderP2 = reducer.reduce(pair.second(), SkReduceOrder::kNo_Quadratics);
113 pair = cubic->chopAt(inflectT[0]);
114 addTs(pair.first(), precision, 0, inflectT[0], ts);
115 addTs(pair.second(), precision, inflectT[0], 1, ts);
/external/strace/
H A Dnet.c379 int pair[2]; local
381 if (umove_or_printaddr(tcp, addr, &pair))
384 printpair_fd(tcp, pair[0], pair[1]);
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h15 struct pair { struct in namespace:std
19 pair() : first(), second() {} function in struct:std::pair
20 pair(const T1 &a, const T2 &b) : first(a), second(b) {} function in struct:std::pair
23 pair(const pair<U1, U2> &other) : first(other.first), second(other.second) {} argument
/external/clang/test/Analysis/
H A Dnew.cpp239 DerefClass *pair = new DerefClass(); local
240 pair->x = 0;
241 testDestCall(pair);
/external/clang/test/CodeGenCXX/
H A Dcxx0x-initializer-stdinitializerlist.cpp274 struct pair { struct in namespace:PR12178
280 map(std::initializer_list<pair>);
487 template <class T1, class T2> struct pair { struct in namespace:B19773010
490 constexpr pair() : first(), second() {} function in struct:B19773010::pair
491 constexpr pair(T1 a, T2 b) : first(a), second(b) {} function in struct:B19773010::pair
496 testcase(std::initializer_list<pair<const char *, E>>);
501 // CHECK: store %"struct.B19773010::pair"* getelementptr inbounds ([1 x %"struct.B19773010::pair"], [1 x %"struct.B19773010::pair"]* bitcast ([1 x { i8*, i32 }]* @.ref.tmp{{.*}} to [1 x %"struct.B19773010::pair"]*), i6
510 PR22940_helper(const pair<void*, int>&) argument
[all...]
/external/clang/test/SemaCXX/
H A DMicrosoftCompatibility.cpp100 struct pair { struct in namespace:PR11826
101 pair(int v) { } function in struct:PR11826::pair
102 void operator=(pair&& rhs) { }
105 pair p0(3);
106 pair p = p0;
111 struct pair { struct in namespace:PR11826_for_symmetry
112 pair(int v) { } function in struct:PR11826_for_symmetry::pair
113 pair(pair&& rhs) { } function in struct:PR11826_for_symmetry::pair
116 pair p
[all...]
/external/googletest/googletest/test/
H A Dgtest-port_test.cc43 #include <utility> // For std::pair and std::make_pair.
59 using std::pair;
1096 void CountingThreadFunc(pair<AtomicCounterWithMutex*, int> param) {
1106 typedef ThreadWithParam<pair<AtomicCounterWithMutex*, int> > ThreadType;
1137 pair<ThreadLocal<std::string>*, std::string*> param) {
1136 RetrieveThreadLocalValue( pair<ThreadLocal<std::string>*, std::string*> param) argument

Completed in 1468 milliseconds

12345678