/external/regex-re2/re2/ |
stringpiece.h | 55 void set(const char* data, int len) { ptr_ = data; length_ = len; } function in class:re2::StringPiece 56 void set(const char* str) { function in class:re2::StringPiece 63 void set(const void* data, int len) { function in class:re2::StringPiece
|
/external/regex-re2/util/ |
sparse_array.h | 49 // Briggs & Torczon describe a sparse set implementation. I have 71 // the array very easy: set size_ to 0. Lookups are slightly more 79 // To insert a new entry, set sparse_to_dense_[i] to size_, 160 // Set the value at index i to v. 161 inline iterator set(int i, Value v); 177 // Set the value at the new index i to v. 213 // Since it doesn't set the value associated with i, 305 // Set the value at index i to v. 307 typename SparseArray<Value>::iterator SparseArray<Value>::set(int i, Value v) { function in class:re2::SparseArray
|
/external/replicaisland/src/com/replica/replicaisland/ |
LauncherComponent.java | 108 mLaunchDirection.set((float)Math.sin(mAngle), (float)Math.cos(mAngle));
|
SphereCollisionVolume.java | 68 mCenter.set(center); 93 mWorkspaceVector.set(position); 99 mWorkspaceVector2.set(otherPosition); 112 mWorkspaceVector2.set(otherPosition); 155 mCenter.set(newCenterX, newCenterY);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AlarmManagerTest.java | 43 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 60 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 61 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 77 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent); 103 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent); 114 alarmManager.set(AlarmManager.RTC, 1337, pendingIntent); 118 alarmManager.set(AlarmManager.RTC, 1337, pendingIntent2); 132 alarmManager.set(AlarmManager.RTC, 1337, pendingIntent);
|
/external/selinux/libsepol/src/ |
avtab.c | 437 unsigned set; local 526 set = 0; 529 set++; 531 if (!set || set > 1) {
|
/external/selinux/policycoreutils/gui/ |
booleansPage.py | 64 def set(self,value): member in class:Modifier
|
/external/skia/include/core/ |
SkPoint.h | 23 pt.set(x, y); 30 void set(int x, int y) { function in struct:SkIPoint16 45 pt.set(x, y); 60 * Set both fX and fY to zero. Same as set(0, 0) 64 /** Set the x and y values of the point. */ 65 void set(int32_t x, int32_t y) { fX = x; fY = y; } function in struct:SkIPoint 131 v.set(a.fX - b.fX, a.fY - b.fY); 139 v.set(a.fX + b.fX, a.fY + b.fY); 161 pt.set(x, y) 174 void set(SkScalar x, SkScalar y) { fX = x; fY = y; } function in struct:SkPoint [all...] |
SkRect.h | 37 r.set(0, 0, w, h); 43 r.set(0, 0, size.width(), size.height()); 49 rect.set(l, t, r, b); 55 r.set(x, y, x + w, y + h); 123 /** Set the rectangle to (0,0,0,0) 127 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { function in struct:SkIRect 133 // alias for set(l, t, r, b) 135 this->set(left, top, right, bottom); 183 /** Offset set the rectangle by adding dx to its left and right, 279 /** If r intersects this rectangle, return true and set this rectangle to tha [all...] |
SkRegion.h | 61 bool set(const SkRegion& src) { function in class:SkRegion 105 * Set the region to be empty, and return false, since the resulting 111 * If rect is non-empty, set this region to that rectangle and return true, 112 * otherwise set this region to empty and return false. 117 * If left < right and top < bottom, set this region to that rectangle and 118 * return true, otherwise set this region to empty and return false. 123 * Set this region to the union of an array of rects. This is generally 125 * 0, then this region is set to the empty region. 131 * Set this region to the specified region, and return true if it is 137 * Set this region to the area described by the path, clipped [all...] |
SkString.h | 172 void resize(size_t len) { this->set(NULL, len); } 173 void set(const SkString& src) { *this = src; } function in class:SkString 174 void set(const char text[]); 175 void set(const char text[], size_t len);
|
/external/skia/samplecode/ |
SampleFilterQuality.cpp | 86 void set(SkScalar value, SkScalar min, SkScalar max) { function in struct:AnimValue 140 fCell.set(256, 256); 142 fScale.set(1, SK_Scalar1 / 8, 1); 214 size.set(info.width(), info.height()); 243 fCell.set(this->height() / 2, this->height() / 2);
|
/external/skia/src/core/ |
SkMetaData.cpp | 68 this->set(rec->name(), rec->data(), rec->fDataLen, (Type)rec->fType, rec->fDataCount); 76 (void)this->set(name, &value, sizeof(int32_t), kS32_Type, 1); 81 (void)this->set(name, &value, sizeof(SkScalar), kScalar_Type, 1); 88 return (SkScalar*)this->set(name, values, sizeof(SkScalar), kScalar_Type, count); 94 (void)this->set(name, value, sizeof(char), kString_Type, SkToInt(strlen(value) + 1)); 99 (void)this->set(name, &pair, sizeof(PtrPair), kPtr_Type, 1); 104 (void)this->set(name, &value, sizeof(bool), kBool_Type, 1); 108 (void)this->set(name, data, sizeof(char), kData_Type, SkToInt(byteCount)); 111 void* SkMetaData::set(const char name[], const void* data, size_t dataSize, Type type, int count) function in class:SkMetaData
|
/external/skia/src/pathops/ |
SkIntersections.h | 29 fMax = 0; // require that the caller set the max 56 conic.set(a, weight); 64 conic.set(a, weight); 71 conic.set(a, weight); 73 line.set(b); 81 cubic.set(a); 88 cubic.set(a); 95 cubic.set(a); 97 line.set(b); 122 line.set(a) 186 void set(bool swap, int tIndex, double t) { function in class:SkIntersections [all...] |
SkPathOpsCurve.h | 30 void set(const SkDQuad& quad) { function in struct:SkOpCurve 38 void set(const SkDCubic& cubic) { function in struct:SkOpCurve 88 line.set(a); 94 quad.set(a); 100 conic.set(a, weight); 106 cubic.set(a); 144 line.set(a); 150 quad.set(a); 156 conic.set(a, weight); 162 cubic.set(a) [all...] |
SkPathOpsPoint.h | 21 void set(const SkVector& pt) { function in struct:SkDVector 84 void set(const SkPoint& pt) { function in struct:SkDPoint 149 dA.set(a); 161 dA.set(a); 162 dB.set(b); 213 dA.set(a); 214 dB.set(b);
|
/external/skia/src/pdf/ |
SkPDFTypes.cpp | 391 void SkPDFDict::set(SkPDFUnion&& name, SkPDFUnion&& value) { function in class:SkPDFDict 401 this->set(SkPDFUnion::Name(key), SkPDFUnion::ObjRef(value)); 404 this->set(SkPDFUnion::Name(key), SkPDFUnion::ObjRef(value)); 408 this->set(SkPDFUnion::Name(key), SkPDFUnion::Object(value)); 411 this->set(SkPDFUnion::Name(key), SkPDFUnion::Object(value)); 415 this->set(SkPDFUnion::Name(key), SkPDFUnion::Bool(value)); 419 this->set(SkPDFUnion::Name(key), SkPDFUnion::Int(value)); 427 this->set(SkPDFUnion::Name(key), SkPDFUnion::Scalar(value)); 431 this->set(SkPDFUnion::Name(key), SkPDFUnion::Name(name)); 435 this->set(SkPDFUnion::Name(key), SkPDFUnion::Name(name)) [all...] |
/external/skia/src/ports/ |
SkFontMgr_android.cpp | 197 /** Find the typeface in this style set that most closely matches the given pattern. 240 * (non-replicated) set of typefaces. 285 familyName->set(fNameToFamilyMap[index].name); 483 SkFontStyleSet* set = this->onMatchFamily(gDefaultNames[i]); local 484 if (NULL == set) { 487 SkTypeface* tf = set->matchStyle(SkFontStyle()); 491 fDefaultFamily = set;
|
/external/skia/tools/flags/ |
SkCommandLineFlags.h | 39 * which will initially be set to false, and can be set to true by using the 40 * flag "--boolean" on the commandline. "--noboolean" will set FLAGS_boolean 41 * to false. FLAGS_boolean can also be set using "--boolean=true" or 63 * These flags can be set by specifying, for example, "--integer 7" and 100 * Call to set the help message to be displayed. Should be called before 140 void set(int i, const char* str) { function in class:SkCommandLineFlags::StringArray 141 fStrings[i].set(str); 148 fStrings.push_back().set(string); 152 fStrings.push_back().set(string, length) [all...] |
/external/skia/tools/ |
render_pictures_main.cpp | 49 "file rather than decoding it. Requires writePath to be set. Skips drawing the full " 102 * Set up the name for writing encoded data to a file. 114 gInputFileName.set(cName, dot - cName); 116 gInputFileName.set(name); 153 writePathString.set(*writePath); 157 mismatchPathString.set(*mismatchPath); 233 void set(sk_tools::PictureRenderer* renderer, function in class:AutoRestoreBbhType 288 arbbh.set(referenceRenderer, sk_tools::PictureRenderer::kNone_BBoxHierarchyType); 453 writePath.set(FLAGS_writePath[0]); 457 mismatchPath.set(FLAGS_mismatchPath[0]) [all...] |
/external/toybox/toys/pending/ |
brctl.c | 24 setageing BRIDGE TIME Set ageing time 25 setfd BRIDGE TIME Set bridge forward delay 26 sethello BRIDGE TIME Set hello time 27 setmaxage BRIDGE TIME Set max message age 28 setpathcost BRIDGE PORT COST Set path cost 29 setportprio BRIDGE PORT PRIO Set port priority 30 setbridgeprio BRIDGE PRIO Set bridge priority 247 int set; member in struct:stp 255 set_time(argv[0], BRCTL_SET_BRIDGE_STP_STATE, ss[i].set);
|
tcpsvd.c | 33 -E Don't set up environment variables 222 int sockfd, ret, set = 1; local 248 setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &set, sizeof(set)); 249 if (TT.udp) setsockopt(sockfd, IPPROTO_IP, IP_PKTINFO, &set, sizeof(set));
|
tftpd.c | 239 int fd = 0, recvmsg_len, rbuflen, opcode, blksize = TFTPD_BLKSIZE, tsize = 0, set =1; local 256 if (setsockopt(TT.sfd, SOL_SOCKET, SO_REUSEADDR, (const void *)&set, 257 sizeof(set)) < 0) perror_exit("setsockopt failed");
|
/external/v8/test/cctest/compiler/ |
test-graph-reducer.cc | 186 : set(NodeSet::key_compare(), NodeSet::allocator_type(zone)) {} 188 set.insert(node); 192 CHECK_EQ(1, static_cast<int>(set.count(node))); 194 NodeSet set; member in class:ReducerRecorder
|
/external/valgrind/drd/tests/ |
annotate_smart_pointer.cpp | 173 set(pT, pT ? new counter_t(0) : NULL); 180 set(q, q ? new counter_t(0) : NULL); 185 set(NULL, NULL); 191 set(sp.m_ptr, sp.m_count_ptr); 198 set(sp.m_ptr, sp.m_count_ptr); 203 set(sp.m_ptr, sp.m_count_ptr); 209 set(p, p ? new counter_t(0) : NULL); 216 set(q, q ? new counter_t(0) : NULL); 233 void set(T* const pT, counter_t* const count_ptr) function in class:smart_ptr
|