/external/tensorflow/tensorflow/python/training/ |
H A D | coordinator_test.py | 30 def StopOnEvent(coord, wait_for_stop, set_when_stopped): 32 coord.request_stop() 36 def RaiseOnEvent(coord, wait_for_stop, set_when_stopped, ex, report_exception): 42 coord.request_stop(e) 44 coord.request_stop(sys.exc_info()) 50 def RaiseOnEventUsingContextHandler(coord, wait_for_stop, set_when_stopped, ex): 51 with coord.stop_on_exception(): 58 def SleepABit(n_secs, coord=None): 59 if coord: 60 coord [all...] |
/external/tensorflow/tensorflow/cc/training/ |
H A D | coordinator_test.cc | 32 void WaitForStopThread(Coordinator* coord, Notification* about_to_wait, argument 35 coord->WaitForStop(); 40 Coordinator coord; local 41 EXPECT_EQ(coord.ShouldStop(), false); 46 std::bind(&WaitForStopThread, &coord, &about_to_wait, &done)); 51 TF_EXPECT_OK(coord.RequestStop()); 53 EXPECT_TRUE(coord.ShouldStop()); 58 explicit MockQueueRunner(Coordinator* coord) { argument 59 coord_ = coord; 65 MockQueueRunner(Coordinator* coord, in argument 122 Coordinator coord; local 144 Coordinator coord; local 162 Coordinator coord; local 200 Coordinator coord; local 208 Coordinator coord; local [all...] |
/external/libxcam/cl_kernel/ |
H A D | kernel_wire_frame.cl | 24 uint2 coord = wire_frames_coords [gid]; 26 write_imagef (output_y, (int2)(coord.x / 2, coord.y), (float4)(border_y)); 27 if (coord.y % 2 == 0) { 28 write_imagef (output_uv, (int2)(coord.x / 2, coord.y / 2), (float4)(border_u, border_v, 0.0f, 0.0f));
|
/external/mesa3d/src/mesa/main/ |
H A D | texgen.h | 36 _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); 38 _mesa_TexGeniv(GLenum coord, GLenum pname, const GLint *params ); 40 _mesa_TexGend(GLenum coord, GLenum pname, GLdouble param ); 42 _mesa_TexGendv(GLenum coord, GLenum pname, const GLdouble *params ); 44 _mesa_TexGenf( GLenum coord, GLenum pname, GLfloat param ); 46 _mesa_TexGeni( GLenum coord, GLenum pname, GLint param ); 48 _mesa_GetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); 50 _mesa_GetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); 52 _mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params ); 56 _es_GetTexGenfv(GLenum coord, GLenu [all...] |
H A D | texgen.c | 48 GLenum coord) 51 return (coord == GL_TEXTURE_GEN_STR_OES) 55 switch (coord) { 71 _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params ) argument 79 _mesa_enum_to_string(coord), 91 texgen = get_texgen(ctx, texUnit, coord); 93 _mesa_error(ctx, GL_INVALID_ENUM, "glTexGen(coord)"); 112 if (coord == GL_S || coord == GL_T) 116 if (coord ! 47 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum coord) argument 188 _mesa_TexGeniv(GLenum coord, GLenum pname, const GLint *params ) argument 205 _mesa_TexGend(GLenum coord, GLenum pname, GLdouble param ) argument 215 _es_GetTexGenfv(GLenum coord, GLenum pname, GLfloat *params) argument 222 _es_TexGenf(GLenum coord, GLenum pname, GLfloat param) argument 237 _es_TexGenfv(GLenum coord, GLenum pname, const GLfloat *params) argument 252 _mesa_TexGendv(GLenum coord, GLenum pname, const GLdouble *params ) argument 269 _mesa_TexGenf( GLenum coord, GLenum pname, GLfloat param ) argument 279 _mesa_TexGeni( GLenum coord, GLenum pname, GLint param ) argument 290 _mesa_GetTexGendv( GLenum coord, GLenum pname, GLdouble *params ) argument 327 _mesa_GetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ) argument 372 _mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params ) argument [all...] |
/external/mesa3d/src/mesa/math/ |
H A D | m_dotprod_tmp.h | 39 GLfloat *coord = coord_vec->start; local 46 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { 47 *out = (coord[0] * plane0 + 48 coord[1] * plane1 + 59 GLfloat *coord = coord_vec->start; local 67 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { 68 *out = (coord[0] * plane0 + 69 coord[1] * plane1 + 70 coord[2] * plane2 + 81 GLfloat *coord local [all...] |
/external/dng_sdk/source/ |
H A D | dng_xy_coord.cpp | 23 dng_xy_coord XYZtoXY (const dng_vector_3 &coord) argument 26 real64 X = coord [0]; 27 real64 Y = coord [1]; 28 real64 Z = coord [2]; 46 dng_vector_3 XYtoXYZ (const dng_xy_coord &coord) argument 49 dng_xy_coord temp = coord; 51 // Restrict xy coord to someplace inside the range of real xy coordinates.
|
H A D | dng_xy_coord.h | 69 bool operator== (const dng_xy_coord &coord) const 71 return coord.x == x && 72 coord.y == y; 75 bool operator!= (const dng_xy_coord &coord) const 77 return !(*this == coord); 171 dng_xy_coord XYZtoXY (const dng_vector_3 &coord); 173 dng_vector_3 XYtoXYZ (const dng_xy_coord &coord);
|
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/ |
H A D | test_util.py | 31 coord = coordinator.Coordinator() 32 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord) 37 coord.request_stop() 38 coord.join(threads)
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
H A D | queues.py | 59 coord = coordinator.Coordinator() 64 session, coord=coord, daemon=True, start=True)) 68 coord.request_stop() 70 coord.join(threads, stop_grace_period_secs=120)
|
/external/tensorflow/tensorflow/python/estimator/inputs/queues/ |
H A D | feeding_queue_runner.py | 73 def _run(self, sess, enqueue_op, feed_fn, coord=None): 80 coord: Optional `Coordinator` object for reporting errors and checking 85 if coord: 86 coord.register_thread(threading.current_thread()) 90 if coord and coord.should_stop(): 109 if coord: 110 coord.request_stop(e) 122 def create_threads(self, sess, coord=None, daemon=False, start=False): 129 The `coord` argumen [all...] |
H A D | feeding_queue_runner_test.py | 56 coord = coordinator.Coordinator() 57 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord) 67 coord.request_stop() 68 coord.join(threads) 77 coord = coordinator.Coordinator() 78 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord) 84 coord.request_stop() 85 coord [all...] |
/external/deqp/framework/common/ |
H A D | tcuTexCompareVerifier.hpp | 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result); 56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result); 60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result); 62 bool isGatherCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReference, const Vec4& result);
|
H A D | tcuTexLookupVerifier.hpp | 109 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec); 113 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result); 114 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 115 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 116 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 117 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 118 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 119 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result); 125 bool isLevel2DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result); 126 bool isLevel2DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, cons [all...] |
H A D | tcuTexVerifierUtil.cpp | 46 Vec2 computeNonNormalizedCoordBounds (const bool normalizedCoords, const int dim, const float coord, const int coordBits, const int uvBits) argument 48 const float coordErr = computeFloatingPointError(coord, coordBits); 49 const float minN = coord - coordErr; 50 const float maxN = coord + coordErr; 61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) argument 63 const float x = coord.x(); 64 const float y = coord.y(); 65 const float z = coord.z();
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
H A D | feeding_queue_runner_test.py | 53 coord = coordinator.Coordinator() 54 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord) 64 coord.request_stop() 65 coord.join(threads) 74 coord = coordinator.Coordinator() 75 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord) 81 coord.request_stop() 82 coord [all...] |
H A D | sampling_ops_threading_test.py | 66 coord = coordinator.Coordinator() 67 threads = queue_runner_impl.start_queue_runners(coord=coord) 72 coord.request_stop() 73 coord.join(threads)
|
H A D | sampling_ops_test.py | 176 coord = coordinator.Coordinator() 177 threads = queue_runner_impl.start_queue_runners(coord=coord) 181 coord.request_stop() 182 coord.join(threads) 201 coord = coordinator.Coordinator() 202 threads = queue_runner_impl.start_queue_runners(coord=coord) 206 coord.request_stop() 207 coord [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/ |
H A D | generator_io_test.py | 50 coord = coordinator.Coordinator() 51 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 62 coord.request_stop() 63 coord.join(threads) 76 coord = coordinator.Coordinator() 77 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 86 coord.request_stop() 87 coord [all...] |
H A D | pandas_io_test.py | 49 coord = coordinator.Coordinator() 50 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 52 coord.request_stop() 53 coord.join(threads) 93 coord = coordinator.Coordinator() 94 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 104 coord.request_stop() 105 coord [all...] |
H A D | graph_io_test.py | 340 coord = coordinator.Coordinator() 341 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 349 coord.request_stop() 350 coord.join(threads) 393 coord = coordinator.Coordinator() 394 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 398 while not coord.should_stop(): 403 coord [all...] |
/external/tensorflow/tensorflow/python/estimator/inputs/ |
H A D | numpy_io_test.py | 44 coord = coordinator.Coordinator() 45 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 56 coord.request_stop() 57 coord.join(threads) 70 coord = coordinator.Coordinator() 71 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 81 coord.request_stop() 82 coord [all...] |
H A D | pandas_io_test.py | 52 coord = coordinator.Coordinator() 53 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 55 coord.request_stop() 56 coord.join(threads) 106 coord = coordinator.Coordinator() 107 threads = queue_runner_impl.start_queue_runners(session, coord=coord) 117 coord.request_stop() 118 coord [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_cliptmp.h | 54 INTERP_4F( t, coord[newvert], coord[idx], coord[idxPrev]); \ 60 INTERP_4F( t, coord[newvert], coord[idxPrev], coord[idx]); \ 123 GLfloat (*coord)[4] = VB->ClipPtr->data; 151 INTERP_4F( t0, coord[newvert], coord[v0], coord[v [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv84_video.h | 105 static inline uint32_t mb(uint32_t coord) argument 107 return (coord + 0xf)>>4; 110 static inline uint32_t mb_half(uint32_t coord) argument 112 return (coord + 0x1f)>>5;
|