Home
last modified time | relevance | path

Searched refs:hit (Results 1 – 25 of 260) sorted by relevance

1234567891011

/external/autotest/site_utils/
Dcollect_suite_time_stats.py128 for hit in results.hits:
129 job_info_dict[job_id][hit['status']] = float(hit['duration'])
130 if hit['status'] == 'Queued':
133 last_queued_timestamp = float(hit['time_recorded'])
134 sum += float(hit['duration'])
137 sum += float(hit['duration'])
163 for hit in results.hits:
164 sum += float(hit['duration'])
165 job_info_dict[job_id][hit['status']] = float(hit['duration'])
167 hit['task_id'], job_id, hit['duration'])
[all …]
Ddevserver_history.py62 def __init__(self, hit): argument
65 self.devserver = hit['devserver']
66 self.subname = hit['subname']
67 self.artifacts = hit['artifacts'].split(' ')
68 self.image = hit['image']
69 self.value = hit['value']
71 hit['time_recorded'])
112 for hit in results.hits:
113 devserver_calls.append(devserver_call(hit))
Dhost_label_utils.py92 for hit in results.hits:
93 if 'labels' in hit:
94 host_labels[hit['hostname']] = hit['labels']
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/mturk/
Dcleanup_tests.py7 return lambda hit: substring in hit.Title
9 def disable_hit(hit): argument
10 return conn.disable_hit(hit.HITId)
12 def dispose_hit(hit): argument
14 for assignment in conn.get_assignments(hit.HITId):
17 return conn.dispose_hit(hit.HITId)
31 is_reviewable = lambda hit: hit.HITStatus == 'Reviewable' argument
32 is_not_reviewable = lambda hit: not is_reviewable(hit) argument
Dcreate_hit.doctest10 >>> qn_content.append_field('Title', 'Boto no hit type question content')
11 >>> qn_content.append_field('Text', 'What is a boto no hit type?')
43 >>> hit = create_hit_rs[0]
45 # for the requested hit type id
47 >>> hit_type_id = hit.HITTypeId
51 >>> hit.MaxAssignments
54 >>> hit.AutoApprovalDelayInSeconds
59 >>> expiration_datetime = datetime.datetime.strptime(hit.Expiration, '%Y-%m-%dT%H:%M:%SZ')
65 >>> hit.AssignmentDurationInSeconds
69 >>> int(float(hit.Amount) * 100)
[all …]
Dcreate_hit_binary.doctest10 >>> qn_content.append_field('Title','Boto no hit type question content')
11 >>> qn_content.append_field('Text', 'What is a boto binary hit type?')
45 >>> hit = create_hit_rs[0]
47 # for the requested hit type id
49 >>> hit_type_id = hit.HITTypeId
53 >>> hit.MaxAssignments
56 >>> hit.AutoApprovalDelayInSeconds
61 >>> expiration_datetime = datetime.datetime.strptime(hit.Expiration, '%Y-%m-%dT%H:%M:%SZ')
67 >>> hit.AssignmentDurationInSeconds
71 >>> int(float(hit.Amount) * 100)
[all …]
Dcreate_free_text_question_regex.doctest10 >>> qn_content.append_field('Title', 'Boto no hit type question content')
11 >>> qn_content.append_field('Text', 'What is a boto no hit type?')
50 # for the requested hit type id
54 >>> hit = create_hit_rs[0]
55 >>> hit_type_id = hit.HITTypeId
59 >>> hit.MaxAssignments
62 >>> hit.AutoApprovalDelayInSeconds
67 >>> expiration_datetime = datetime.datetime.strptime(hit.Expiration, '%Y-%m-%dT%H:%M:%SZ')
73 >>> hit.AssignmentDurationInSeconds
77 >>> int(float(hit.Amount) * 100)
[all …]
Dcreate_hit_from_hit_type.doctest53 >>> hit = create_hit_rs[0]
55 # for the requested hit type id
56 >>> hit.HITTypeId == hit_type_id
60 >>> hit.MaxAssignments
64 >>> hit.AutoApprovalDelayInSeconds
69 >>> expiration_datetime = datetime.datetime.strptime(hit.Expiration, '%Y-%m-%dT%H:%M:%SZ')
75 >>> hit.AssignmentDurationInSeconds
79 >>> float(hit.Amount) == 0.12
82 >>> hit.FormattedPrice
86 >>> hit.CurrencyCode
[all …]
Dreviewable_hits.doctest10 >>> qn_content.append_field('Title', 'Boto no hit type question content')
11 >>> qn_content.append_field('Text', 'What is a boto no hit type?')
42 >>> hit = create_hit_rs[0]
44 # for the requested hit type id
46 >>> hit_type_id = hit.HITTypeId
54 Give mechanical turk some time to process the hit
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dmturk159 def preview_url(hit): argument
161 mturk_website, hit.HITTypeId)
183 def display_hit(hit, verbose = False): argument
184 et = parse_timestamp(hit.Expiration)
187 get_nickname(hit.HITId),
188 hit.Title,
189 hit.FormattedPrice,
190 display_duration(int(hit.AssignmentDurationInSeconds)),
191 hit.HITStatus),
192 'HIT ID: ' + hit.HITId,
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/
DHIP.py39 def __init__(self, rdclass, rdtype, hit, algorithm, key, servers): argument
41 self.hit = hit
47 hit = self.hit.encode('hex-codec')
55 return '%u %s %s%s' % (self.algorithm, hit, key, text)
59 hit = tok.get_string().decode('hex-codec')
60 if len(hit) > 255:
71 return cls(rdclass, rdtype, hit, algorithm, key, servers)
76 lh = len(self.hit)
79 file.write(self.hit)
89 hit = wire[current : current + lh]
[all …]
/external/skia/src/pathops/
DSkPathOpsWinding.cpp252 SkOpRayHit* hit = hitHead; in sortableTop() local
253 while (hit) { in sortableTop()
254 sorted.push_back(hit); in sortableTop()
255 hit = hit->fNext; in sortableTop()
267 hit = sorted[index]; in sortableTop()
268 SkOpSpan* span = hit->fSpan; in sortableTop()
271 bool ccw = ccw_dxdy(hit->fSlope, dir); in sortableTop()
273 hit->fValid, operand, span ? span->debugID() : -1, ccw); in sortableTop()
277 SkDebugf(" t=%1.9g pt=(%1.9g,%1.9g) slope=(%1.9g,%1.9g)\n", hit->fT, in sortableTop()
278 hit->fPt.fX, hit->fPt.fY, hit->fSlope.fX, hit->fSlope.fY); in sortableTop()
[all …]
/external/apache-http/src/org/apache/http/impl/
DDefaultConnectionReuseStrategy.java119 HeaderIterator hit = response.headerIterator(HTTP.CONN_DIRECTIVE); in keepAlive() local
120 if (!hit.hasNext()) in keepAlive()
121 hit = response.headerIterator("Proxy-Connection"); in keepAlive()
146 if (hit.hasNext()) { in keepAlive()
148 TokenIterator ti = createTokenIterator(hit); in keepAlive()
184 protected TokenIterator createTokenIterator(HeaderIterator hit) { in createTokenIterator() argument
185 return new BasicTokenIterator(hit); in createTokenIterator()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
DSorterTemplate.java130 int hit = mid - 1; in rotate() local
131 while (lot < hit) { in rotate()
132 swap(lot++, hit--); in rotate()
134 lot = mid; hit = hi - 1; in rotate()
135 while (lot < hit) { in rotate()
136 swap(lot++, hit--); in rotate()
138 lot = lo; hit = hi - 1; in rotate()
139 while (lot < hit) { in rotate()
140 swap(lot++, hit--); in rotate()
/external/toybox/toys/posix/
Dsed.c188 unsigned not, hit, sflags; member
315 if (logrus->hit) { in walk_pattern()
317 if (!logrus->rmatch[1]) logrus->hit = 0; in walk_pattern()
324 } else if (lm > 0 && lm < TT.count) logrus->hit = 0; in walk_pattern()
331 if (line && !ghostwheel(rm, line, len, 0, 0, 0)) logrus->hit++; in walk_pattern()
332 } else if (lm == TT.count || (lm == -1 && !pline)) logrus->hit++; in walk_pattern()
338 lm = !(logrus->hit ^ logrus->not); in walk_pattern()
341 if (miss || logrus->lmatch[1] == TT.count) logrus->hit = 0; in walk_pattern()
386 if (!logrus->hit) emit(str, strlen(str), 1); in walk_pattern()
688 primal->hit = 0; in do_sed()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
DDragAndDrop.java84 Actor hit = event.getStage().hit(stageX, stageY, true); // Prefer touchable actors. in addSource()
85 if (hit == null) hit = event.getStage().hit(stageX, stageY, false); in addSource()
86 if (hit != null) { in addSource()
89 if (!target.actor.isAscendantOf(hit)) continue; in addSource()
DClickListener.java119 Actor hit = actor.hit(x, y, true); in isOver() local
120 if (hit == null || !hit.isDescendantOf(actor)) return inTapSquare(x, y); in isOver()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DWindow.java265 public Actor hit (float x, float y, boolean touchable) { in hit() method in Window
266 Actor hit = super.hit(x, y, touchable); in hit() local
267 if (hit == null && isModal && (!touchable || getTouchable() == Touchable.enabled)) return this; in hit()
269 if (hit == null || hit == this) return hit; in hit()
272 Actor current = hit; in hit()
277 return hit; in hit()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c234 static time_t hunt(char * name, time_t lot, time_t hit);
244 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp);
733 hunt(char *name, time_t lot, time_t hit) in hunt() argument
748 time_t diff = hit - lot; in hunt()
755 else if (t >= hit) in hunt()
767 } else hit = t; in hunt()
770 show(name, hit, TRUE); in hunt()
771 return hit; in hunt()
927 huntICU(char *name, time_t lot, time_t hit, FILE * fp) in huntICU() argument
943 diff = (long) (hit - lot); in huntICU()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DCollisionWorldTest.java36 boolean hit = false; field in CollisionWorldTest
44 hit = true; in addSingleResult()
116 hit = false; in renderWorld()
119 movingBox.setColor(hit ? Color.RED : normalColor); in renderWorld()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DIntersector.java467 boolean hit = false; in intersectRayBounds()
474 …if (v2.y >= box.min.y && v2.y <= box.max.y && v2.z >= box.min.z && v2.z <= box.max.z && (!hit || t… in intersectRayBounds()
475 hit = true; in intersectRayBounds()
485 …if (v2.y >= box.min.y && v2.y <= box.max.y && v2.z >= box.min.z && v2.z <= box.max.z && (!hit || t… in intersectRayBounds()
486 hit = true; in intersectRayBounds()
496 …if (v2.x >= box.min.x && v2.x <= box.max.x && v2.z >= box.min.z && v2.z <= box.max.z && (!hit || t… in intersectRayBounds()
497 hit = true; in intersectRayBounds()
507 …if (v2.x >= box.min.x && v2.x <= box.max.x && v2.z >= box.min.z && v2.z <= box.max.z && (!hit || t… in intersectRayBounds()
508 hit = true; in intersectRayBounds()
518 …if (v2.x >= box.min.x && v2.x <= box.max.x && v2.y >= box.min.y && v2.y <= box.max.y && (!hit || t… in intersectRayBounds()
[all …]
/external/ImageMagick/MagickCore/
Dresample.c323 ssize_t u,v, v1, v2, uw, hit; in ResamplePixelColor() local
353 hit = 0; in ResamplePixelColor()
367 hit++; in ResamplePixelColor()
380 hit++; in ResamplePixelColor()
386 hit++; /* outside the horizontally tiled images. */ in ResamplePixelColor()
392 hit++; /* outside the vertically tiled images. */ in ResamplePixelColor()
403 hit++; in ResamplePixelColor()
414 if ( hit ) { in ResamplePixelColor()
542 hit = 0; in ResamplePixelColor()
622 hit++; in ResamplePixelColor()
[all …]
/external/boringssl/src/ssl/
Dd1_clnt.c187 ssl->hit = 0; in dtls1_connect()
237 if (ssl->hit) { in dtls1_connect()
359 if (!ssl->hit) { in dtls1_connect()
382 if (!ssl->hit) { in dtls1_connect()
395 if (ssl->hit) { in dtls1_connect()
450 if (ssl->hit) { in dtls1_connect()
/external/replicaisland/src/com/replica/replicaisland/
DBackgroundCollisionComponent.java327 boolean hit = false; in sweepHorizontal()
352 hit = true; in sweepHorizontal()
355 return hit; in sweepHorizontal()
362 boolean hit = false; in sweepVertical()
382 hit = true; in sweepVertical()
388 return hit; in sweepVertical()
DCollisionSystem.java112 boolean hit = false; in castRay()
118 hit = true; in castRay()
128 if (hit) { in castRay()
138 hit = true; in castRay()
148 return hit; in castRay()
206 boolean hit = testBoxAgainstList(mCollisionTiles[tileIndex].segments, in testBox()
210 if (hit) { in testBox()
505 HitPoint hit = hitPool.allocate(); in testBoxAgainstList() local
507 hit.hitPoint = hitPoint; in testBoxAgainstList()
508 hit.hitNormal = hitNormal; in testBoxAgainstList()
[all …]

1234567891011