HomeSort by relevance Sort by last modified time
    Searched defs:mode (Results 151 - 175 of 3517) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/ltp/testcases/kernel/syscalls/chmod/
chmod01.c 24 * Verify that, chmod(2) succeeds when used to change the mode permissions
28 * chmod(2) should return 0 and the mode permissions set on file should match
29 * the specified mode.
97 int mode; local
110 mode = modes[i];
112 TEST(chmod(TESTFILE, mode));
117 mode);
125 if (stat_buf.st_mode == mode)
128 TESTFILE, mode);
133 mode);
    [all...]
  /external/ltp/testcases/kernel/syscalls/creat/
creat01.c 21 * 1. creat() a file using 0444 mode, write to the fildes, write
45 int mode; member in struct:tcase
56 fd = SAFE_CREAT(filename, tcases[i].mode);
  /external/ltp/testcases/kernel/syscalls/fchmod/
fchmod07.c 24 * Verify that, fchmod(2) succeeds when used to change the mode permissions
28 * fchmod(2) should return 0 and the mode permissions set on file should match
29 * the specified mode.
96 int mode; /* file mode permission */ local
109 mode = Modes[ind];
112 * Call fchmod(2) with different mode permission
115 TEST(fchmod(fd, mode));
119 "errno=%d : %s", fd, mode, TEST_ERRNO,
136 * Check for expected mode permission
    [all...]
  /external/lzma/CPP/7zip/UI/Common/
WorkDir.cpp 18 NWorkDir::NMode::EEnum mode = workDirInfo.Mode; local
23 mode = NWorkDir::NMode::kCurrent;
29 mode = workDirInfo.Mode;
36 mode = NZipSettings::NWorkDir::NMode::kCurrent;
44 switch (mode)
  /external/mesa3d/src/gallium/auxiliary/util/
u_split_prim.h 16 unsigned mode; member in struct:util_split_prim
28 unsigned mode, unsigned start, unsigned count)
30 if (mode == PIPE_PRIM_LINE_LOOP) {
31 s->mode = PIPE_PRIM_LINE_STRIP;
34 s->mode = mode;
65 switch (s->mode) {
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_wm_iz.cpp 46 GLuint mode:2; member in struct:__anon30515
141 wm_iz_table[lookup].mode == P) {
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv10_state_polygon.c 38 GLenum mode = ctx->Polygon.CullFaceMode; local
44 PUSH_DATA (push, (mode == GL_FRONT ? NV10_3D_CULL_FACE_FRONT :
45 mode == GL_BACK ? NV10_3D_CULL_FACE_BACK :
  /external/mockito/src/main/java/org/mockito/internal/verification/
InOrderWrapper.java 19 private final VerificationInOrderMode mode; field in class:InOrderWrapper
22 public InOrderWrapper(VerificationInOrderMode mode, InOrderImpl inOrder) {
23 this.mode = mode;
30 mode.verifyInOrder(dataInOrder);
MockAwareVerificationMode.java 16 private final VerificationMode mode; field in class:MockAwareVerificationMode
19 public MockAwareVerificationMode(Object mock, VerificationMode mode, Set<VerificationListener> listeners) {
21 this.mode = mode;
27 mode.verify(data);
28 notifyListeners(new VerificationEventImpl(mock, mode, data, null));
30 notifyListeners(new VerificationEventImpl(mock, mode, data, e));
33 notifyListeners(new VerificationEventImpl(mock, mode, data, e));
VerificationEventImpl.java 13 private final VerificationMode mode; field in class:VerificationEventImpl
18 public VerificationEventImpl(Object mock, VerificationMode mode, VerificationData data, Throwable cause) {
20 this.mode = mode;
30 return mode;
  /external/mockito/src/test/java/org/mockito/verification/
TimeoutTest.java 21 VerificationMode mode; field in class:TimeoutTest
31 Timeout t = new Timeout(1, mode, timer);
34 doNothing().when(mode).verify(data);
45 Timeout t = new Timeout(1, mode, timer);
51 when(mode).verify(data);
63 Timeout t = new Timeout(1, mode, timer);
69 when(mode).verify(data);
77 Timeout t = new Timeout(10, mode, timer);
79 doThrow(error).when(mode).verify(data);
87 verify(mode, times(5)).verify(data)
    [all...]
  /external/owasp/sanitizer/src/main/org/owasp/html/
HtmlTextEscapingMode.java 138 * The mode used for content following a start tag with the given name.
141 HtmlTextEscapingMode mode = ESCAPING_MODES.get(canonTagName); local
142 return mode != null ? mode : PCDATA;
163 HtmlTextEscapingMode mode = getModeForTag(canonTagName); local
164 return mode != PCDATA && mode != VOID;
  /external/python/cpython3/Modules/_io/clinic/
_iomodule.c.h 6 "open($module, /, file, mode=\'r\', buffering=-1, encoding=None,\n"
18 "mode is an optional string that specifies the mode in which the file\n"
20 "mode. Other common values are \'w\' for writing (truncating the file if\n"
24 "In text mode, if encoding is not specified the encoding used is platform\n"
27 "mode and leave encoding unspecified.) The available modes are:\n"
36 "\'b\' binary mode\n"
37 "\'t\' text mode (default)\n"
39 "\'U\' universal newline mode (deprecated)\n"
42 "The default mode is \'rt\' (open for reading text). For binary random\n
144 const char *mode = "r"; local
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewMeasureSpec.java 30 public static int makeMeasureSpec (int size, int mode) {
31 return size + mode;
36 int mode = getMode(measureSpec); local
41 if (mode == View.MeasureSpec.UNSPECIFIED)
43 else if (mode == View.MeasureSpec.EXACTLY)
45 else if (mode == View.MeasureSpec.AT_MOST)
48 sb.append(mode).append(" ");
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowPorterDuffColorFilter.java 11 private PorterDuff.Mode mode; field in class:ShadowPorterDuffColorFilter
14 public void __constructor__(int color, PorterDuff.Mode mode) {
16 this.mode = mode;
25 public void setMode(PorterDuff.Mode mode) {
26 this.mode = mode;
    [all...]
  /external/skia/src/core/
SkModeColorFilter.cpp 27 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) {
29 fMode = mode;
38 str->append(" mode: ");
43 bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const {
47 if (mode) {
48 *mode = fMode;
72 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); local
73 return SkColorFilter::MakeModeFilter(color, mode);
126 sk_sp<SkColorFilter> SkColorFilter::MakeModeFilter(SkColor color, SkBlendMode mode) {
127 if (!SkIsValidMode(mode)) {
    [all...]
  /external/skia/src/gpu/
GrWindowRectsState.h 15 enum class Mode : bool {
20 GrWindowRectsState() : fMode(Mode::kExclusive) {}
21 GrWindowRectsState(const GrWindowRectangles& windows, Mode mode)
22 : fMode(mode)
26 bool enabled() const { return Mode::kInclusive == fMode || !fWindows.empty(); }
27 Mode mode() const { return fMode; } function in class:GrWindowRectsState
32 fMode = Mode::kExclusive;
36 void set(const GrWindowRectangles& windows, Mode mode)
    [all...]
  /external/skia/src/gpu/effects/
GrSRGBEffect.h 15 enum class Mode {
28 static std::unique_ptr<GrFragmentProcessor> Make(Mode mode, Alpha alpha) {
29 return std::unique_ptr<GrFragmentProcessor>(new GrSRGBEffect(mode, alpha));
34 Mode mode() const { return fMode; } function in class:GrSRGBEffect
40 GrSRGBEffect(Mode mode, Alpha);
48 Mode fMode;
  /external/skia/src/shaders/
SkComposeShader.cpp 20 sk_sp<SkShader> SkShader::MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src, SkBlendMode mode,
30 if (mode == SkBlendMode::kSrc) {
33 if (mode == SkBlendMode::kDst) {
37 return sk_sp<SkShader>(new SkComposeShader(std::move(dst), std::move(src), mode, lerpT));
45 unsigned mode = buffer.read32(); local
48 // check for valid mode before we cast to the enum type
49 if (!buffer.validate(mode <= (unsigned)SkBlendMode::kLastMode)) {
52 return MakeCompose(std::move(dst), std::move(src), static_cast<SkBlendMode>(mode), lerp);
92 // This outputs r,g,b,a, which we'll need later when we apply the mode, but we save it off now
99 // We now have our logical 'dst' in r,g,b,a, but we need it in dr,dg,db,da for the mode/ler
    [all...]
  /external/skia/tests/
ShaderOpacityTest.cpp 57 SkShader::TileMode mode = SkShader::kClamp_TileMode; local
62 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
69 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
76 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
83 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
  /external/skqp/gm/
localmatriximageshader.cpp 48 SkShader::TileMode mode[2]; local
50 SkImage* image = redLocalMatrixShader->isAImage(&matrix, mode);
51 paint.setShader(image->makeShader(mode[0], mode[1], &matrix));
53 image = blueLocalMatrixShader->isAImage(&matrix, mode);
54 paint.setShader(image->makeShader(mode[0], mode[1], &matrix));
  /external/skqp/src/core/
SkModeColorFilter.cpp 27 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) {
29 fMode = mode;
38 str->append(" mode: ");
43 bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const {
47 if (mode) {
48 *mode = fMode;
72 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); local
73 return SkColorFilter::MakeModeFilter(color, mode);
126 sk_sp<SkColorFilter> SkColorFilter::MakeModeFilter(SkColor color, SkBlendMode mode) {
127 if (!SkIsValidMode(mode)) {
    [all...]
  /external/skqp/src/gpu/
GrWindowRectsState.h 15 enum class Mode : bool {
20 GrWindowRectsState() : fMode(Mode::kExclusive) {}
21 GrWindowRectsState(const GrWindowRectangles& windows, Mode mode)
22 : fMode(mode)
26 bool enabled() const { return Mode::kInclusive == fMode || !fWindows.empty(); }
27 Mode mode() const { return fMode; } function in class:GrWindowRectsState
32 fMode = Mode::kExclusive;
36 void set(const GrWindowRectangles& windows, Mode mode)
    [all...]
  /external/skqp/src/gpu/effects/
GrSRGBEffect.h 15 enum class Mode {
28 static std::unique_ptr<GrFragmentProcessor> Make(Mode mode, Alpha alpha) {
29 return std::unique_ptr<GrFragmentProcessor>(new GrSRGBEffect(mode, alpha));
34 Mode mode() const { return fMode; } function in class:GrSRGBEffect
40 GrSRGBEffect(Mode mode, Alpha);
48 Mode fMode;
  /external/skqp/src/shaders/
SkComposeShader.cpp 20 sk_sp<SkShader> SkShader::MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src, SkBlendMode mode,
30 if (mode == SkBlendMode::kSrc) {
33 if (mode == SkBlendMode::kDst) {
37 return sk_sp<SkShader>(new SkComposeShader(std::move(dst), std::move(src), mode, lerpT));
45 unsigned mode = buffer.read32(); local
48 // check for valid mode before we cast to the enum type
49 if (!buffer.validate(mode <= (unsigned)SkBlendMode::kLastMode)) {
52 return MakeCompose(std::move(dst), std::move(src), static_cast<SkBlendMode>(mode), lerp);
92 // This outputs r,g,b,a, which we'll need later when we apply the mode, but we save it off now
99 // We now have our logical 'dst' in r,g,b,a, but we need it in dr,dg,db,da for the mode/ler
    [all...]

Completed in 663 milliseconds

1 2 3 4 5 67 8 91011>>