HomeSort by: relevance | last modified time | path
    Searched refs:shape (Results 1 - 25 of 186) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/external/mit/xorg/lib/libxcb/shape/
Makefile 3 XCBEXT= shape
  /src/games/tetris/
shapes.c 55 const struct shape shapes[] = {
78 * Return true iff the given shape fits in the given position,
82 fits_in(const struct shape *shape, int pos)
84 const int *o = shape->off;
93 * Write the given shape into the current board, turning it on
97 place(const struct shape *shape, int pos, int onoff)
99 const int *o = shape->off;
100 onoff = onoff ? shape->color : 0
    [all...]
tetris.h 86 * A `shape' is the fundamental thing that makes up the game. There
95 * Except for 3 and 6, the center of each shape is one of the blots.
97 * described as offsets from the center. Shape 3 is the same under
99 * so that it `sticks out' upward and leftward. Except for shape 6,
101 * shape 6's center `wobbles' as it rotates, so that while it `sticks out'
109 * The shape is moved steadily downward until it collides with something:
110 * either another shape, or the bottom of the board. When the shape can
113 * these rows move down to make more room. A new random shape is again
115 * The game ends when the new shape will not fit at (1,5)
126 struct shape { struct
    [all...]
  /src/external/mit/xorg/server/xorg-server.old/Xext/Xextmodule/
Makefile 11 SRCS= ${SRCS.Xextmodule} shape.c ${SRCS.Xext}
  /src/external/mit/xorg/lib/libxcb/
Makefile 19 shape \
  /src/external/bsd/pcc/dist/pcc/arch/m68k/
order.c 56 offstar(NODE *p, int shape)
87 * Shape matches for UMUL. Cooperates with offstar().
90 shumul(NODE *p, int shape)
97 if (shape & SOREG)
  /src/external/bsd/pcc/dist/pcc/arch/nova/
order.c 61 offstar(NODE *p, int shape)
92 * Shape matches for UMUL. Cooperates with offstar().
95 shumul(NODE *p, int shape)
102 if (shape & SOREG)
  /src/external/bsd/pcc/dist/pcc/arch/sparc64/
order.c 35 offstar(NODE *p, int shape)
57 shumul(NODE *p, int shape)
59 if (shape & SOREG)
  /src/external/bsd/jemalloc.old/dist/test/unit/
math.c 309 * shape=[0.5..3.0] increment=0.5).
355 double shape = pt_gamma_shape[i]; local
356 double ln_gamma_shape = ln_gamma(shape);
359 expect_true(double_eq_rel(pt_gamma(p, shape, 1.0,
370 double shape = 1.0; local
371 double ln_gamma_shape = ln_gamma(shape);
374 pt_gamma(0.5, shape, 1.0, ln_gamma_shape) * 10.0,
375 pt_gamma(0.5, shape, 10.0, ln_gamma_shape), MAX_REL_ERR,
  /src/external/bsd/jemalloc/dist/test/unit/
math.c 306 * shape=[0.5..3.0] increment=0.5).
351 double shape = pt_gamma_shape[i]; local
352 double ln_gamma_shape = ln_gamma(shape);
357 pt_gamma(p, shape, 1.0, ln_gamma_shape),
367 double shape = 1.0; local
368 double ln_gamma_shape = ln_gamma(shape);
371 double_eq_rel(pt_gamma(0.5, shape, 1.0, ln_gamma_shape) * 10.0,
372 pt_gamma(0.5, shape, 10.0, ln_gamma_shape), MAX_REL_ERR,
  /src/external/bsd/pcc/dist/pcc/mip/
match.c 78 * return true if shape is appropriate for the node p
81 * SRNOPE Cannot match this shape.
86 tshape(NODE *p, int shape)
94 printf("tshape(%p, %s) op = %s\n", p, prcook(shape), opst[o]);
97 if (shape & SPECIAL) {
99 switch (shape) {
107 if (getlval(p)== 0 && shape == SZERO)
109 if (getlval(p) == 1 && shape == SONE)
111 if (getlval(p) == -1 && shape == SMONE)
114 shape == SCCON
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/src/
x-librep.c 87 struct callshape shape; local
93 split_keywordspec (name, &end, &shape);
99 insert_keyword_callshape (&keywords, name, end - name, &shape);
  /src/external/gpl3/gcc/dist/libgfortran/intrinsics/
reshape_generic.c 33 reshape_internal (parray *ret, parray *source, shape_type *shape,
68 rdim = GFC_DESCRIPTOR_EXTENT(shape,0);
80 shape_data[n] = shape->base_addr[n * GFC_DESCRIPTOR_STRIDE(shape,0)];
218 runtime_error ("shape and target do not conform");
361 reshape (parray *ret, parray *source, shape_type *shape, parray *pad,
364 reshape_internal (ret, source, shape, pad, order,
376 parray *source, shape_type *shape, parray *pad,
380 reshape_internal (ret, source, shape, pad, order, source_length);
391 parray *source, shape_type *shape, parray *pad
    [all...]
  /src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
reshape_generic.c 33 reshape_internal (parray *ret, parray *source, shape_type *shape,
68 rdim = GFC_DESCRIPTOR_EXTENT(shape,0);
80 shape_data[n] = shape->base_addr[n * GFC_DESCRIPTOR_STRIDE(shape,0)];
218 runtime_error ("shape and target do not conform");
361 reshape (parray *ret, parray *source, shape_type *shape, parray *pad,
364 reshape_internal (ret, source, shape, pad, order,
376 parray *source, shape_type *shape, parray *pad,
380 reshape_internal (ret, source, shape, pad, order, source_length);
391 parray *source, shape_type *shape, parray *pad
    [all...]
  /src/external/bsd/pcc/dist/pcc/arch/mips/
order.c 55 offstar(NODE * p, int shape)
82 * Shape matches for UMUL. Cooperates with offstar().
85 shumul(NODE *p, int shape)
91 if (shape & SOREG)
  /src/external/bsd/pcc/dist/pcc/arch/pdp11/
order.c 67 offstar(NODE *p, int shape)
122 * Shape matches for UMUL. Cooperates with offstar().
125 shumul(NODE *p, int shape)
131 if (p->n_op == NAME && (shape & STARNM))
133 if (shape & SOREG)
  /src/external/mit/xorg/bin/xwininfo/
Makefile 13 LDADD+= -lXmuu -lXt -lSM -lICE -lXext -lX11 -lxcb -lxcb-shape
  /src/external/gpl3/gcc/dist/gcc/fortran/
iresolve.cc 158 f->shape = gfc_get_shape (1);
159 mpz_init_set_ui (f->shape[0], coarray ? gfc_get_corank (array)
191 f->shape = gfc_copy_shape_excluding (array->shape, array->rank, dim);
370 f->shape = gfc_copy_shape_excluding (mask->shape, mask->rank, dim);
419 f->shape = gfc_copy_shape_excluding (mask->shape, mask->rank, dim);
503 f->shape = gfc_get_shape (1);
504 mpz_init (f->shape[0])
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/fortran/
iresolve.cc 158 f->shape = gfc_get_shape (1);
159 mpz_init_set_ui (f->shape[0], coarray ? gfc_get_corank (array)
191 f->shape = gfc_copy_shape_excluding (array->shape, array->rank, dim);
366 f->shape = gfc_copy_shape_excluding (mask->shape, mask->rank, dim);
415 f->shape = gfc_copy_shape_excluding (mask->shape, mask->rank, dim);
499 f->shape = gfc_get_shape (1);
500 mpz_init (f->shape[0])
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
reginfo.cc 52 /* Used to cache the results of simplifiable_subregs. SHAPE is the input
59 subreg_shape shape; member in class:simplifiable_subreg
1176 h.add_hwi (value->shape.unique_id ());
1184 return value->shape == *compare;
1188 : shape (shape_in)
1194 described by SHAPE. */
1197 simplifiable_subregs (const subreg_shape &shape)
1203 h.add_hwi (shape.unique_id ());
1206 ->find_slot_with_hash (&shape, h.end (), INSERT));
1210 simplifiable_subreg *info = new simplifiable_subreg (shape);
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/
reginfo.cc 52 /* Used to cache the results of simplifiable_subregs. SHAPE is the input
59 subreg_shape shape; member in class:simplifiable_subreg
1171 h.add_hwi (value->shape.unique_id ());
1179 return value->shape == *compare;
1183 : shape (shape_in)
1189 described by SHAPE. */
1192 simplifiable_subregs (const subreg_shape &shape)
1198 h.add_hwi (shape.unique_id ());
1201 ->find_slot_with_hash (&shape, h.end (), INSERT));
1205 simplifiable_subreg *info = new simplifiable_subreg (shape);
    [all...]
  /src/external/bsd/pcc/dist/pcc/arch/hppa/
order.c 53 offstar(NODE *p, int shape)
98 * Shape matches for UMUL. Cooperates with offstar().
101 shumul(NODE *p, int shape)
108 if (shape & SOREG)
  /src/external/bsd/pcc/dist/pcc/arch/pdp10/
order.c 47 offstar(NODE *p, int shape)
117 special(NODE *p, int shape)
119 switch (shape) {
  /src/external/gpl3/gcc/dist/libgfortran/generated/
reshape_c10.c 44 shape_type * const restrict shape,
78 rdim = GFC_DESCRIPTOR_EXTENT(shape,0);
90 shape_data[n] = shape->base_addr[n * GFC_DESCRIPTOR_STRIDE(shape,0)];
227 runtime_error ("shape and target do not conform");
reshape_c16.c 44 shape_type * const restrict shape,
78 rdim = GFC_DESCRIPTOR_EXTENT(shape,0);
90 shape_data[n] = shape->base_addr[n * GFC_DESCRIPTOR_STRIDE(shape,0)];
227 runtime_error ("shape and target do not conform");

Completed in 24 milliseconds

1 2 3 4 5 6 7 8