/external/guava/guava/src/com/google/common/math/ |
H A D | LongMath.java | 65 * Returns the base-2 logarithm of {@code x}, rounded according to the specified rounding mode. 68 * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x} 72 public static int log2(long x, RoundingMode mode) { argument 74 switch (mode) { 105 * Returns the base-10 logarithm of {@code x}, rounded according to the specified rounding mode. 108 * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x} 112 public static int log10(long x, RoundingMode mode) { argument 115 return IntMath.log10((int) x, mode); 119 switch (mode) { 236 * Returns the square root of {@code x}, rounded with the specified rounding mode 243 sqrt(long x, RoundingMode mode) argument 296 divide(long p, long q, RoundingMode mode) argument [all...] |
/external/zlib/contrib/minizip/ |
H A D | iowin32.c | 28 voidpf ZCALLBACK win32_open_file_func OF((voidpf opaque, const char* filename, int mode)); 43 static void win32_translate_open_mode(int mode, argument 51 if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ) 57 else if (mode & ZLIB_FILEFUNC_MODE_EXISTING) 62 else if (mode & ZLIB_FILEFUNC_MODE_CREATE) 88 voidpf ZCALLBACK win32_open64_file_func (voidpf opaque,const void* filename,int mode) argument 94 win32_translate_open_mode(mode,&dwDesiredAccess,&dwCreationDisposition,&dwShareMode,&dwFlagsAndAttributes); 103 voidpf ZCALLBACK win32_open64_file_funcA (voidpf opaque,const void* filename,int mode) argument 109 win32_translate_open_mode(mode,&dwDesiredAccess,&dwCreationDisposition,&dwShareMode,&dwFlagsAndAttributes); 118 voidpf ZCALLBACK win32_open64_file_funcW (voidpf opaque,const void* filename,int mode) argument 133 win32_open_file_func(voidpf opaque,const char* filename,int mode) argument [all...] |
/external/zlib/test/ |
H A D | minigzip.c | 13 * or in pipe mode. 178 gzFile gzopen(path, mode) 180 const char *mode; 182 return gz_open(path, -1, mode); 185 gzFile gzdopen(fd, mode) 187 const char *mode; 189 return gz_open(NULL, fd, mode); 192 gzFile gz_open(path, fd, mode) 195 const char *mode; 203 gz->write = strchr(mode, ' [all...] |
/external/speex/libspeex/ |
H A D | sb_celp.c | 195 const SpeexSBMode *mode; local 200 st->mode = m; 201 mode = (const SpeexSBMode*)m->mode; 204 st->st_low = speex_encoder_init(mode->nb_mode); 212 st->full_frame_size = 2*mode->frameSize; 213 st->frame_size = mode->frameSize; 214 st->subframeSize = mode->subframeSize; 215 st->nbSubframes = mode->frameSize/mode 318 const SpeexSBMode *mode; local 759 const SpeexSBMode *mode; local 886 const SpeexSBMode *mode; local [all...] |
/external/icu4c/test/perf/normperf/ |
H A D | normperf.h | 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); 36 UNormalizationMode mode; member in class:QuickCheckPerfFunction 49 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); 53 retVal = (*fn)(lines[i].name,-1,mode, options, status); 59 retVal = (*fn)(src,srcLen,mode, options, status); 61 retVal = (*fn)(src,-1,mode, options, status); 82 mode = _mode; 92 mode = _mode; 189 void normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options); 190 UChar* normalizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_ 276 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 283 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 309 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 313 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument [all...] |
/external/dropbear/libtomcrypt/src/pk/ecc/ |
H A D | ltc_ecc_mulmod.c | 45 int first, bitbuf, bitcpy, bitcnt, mode, digidx; local 108 mode = 0; 132 if (mode == 0 && i == 0) { 136 /* if the bit is zero and mode == 1 then we double */ 137 if (mode == 1 && i == 0) { 144 mode = 2; 167 mode = 1; 172 if (mode == 2 && bitcpy > 0) {
|
/external/dropbear/libtommath/ |
H A D | bn_mp_exptmod_fast.c | 36 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local 193 /* set initial mode and bit cnt */ 194 mode = 0; 217 /* if the bit is zero and mode == 0 then we ignore it 222 if (mode == 0 && y == 0) { 226 /* if the bit is zero and mode == 1 then we square */ 227 if (mode == 1 && y == 0) { 239 mode = 2; 264 mode = 1; 269 if (mode [all...] |
/external/dropbear/ |
H A D | sshpty.c | 360 mode_t mode; local 367 mode = S_IRUSR | S_IWUSR | S_IWGRP; 370 mode = S_IRUSR | S_IWUSR | S_IWGRP | S_IWOTH; 374 * Change owner and mode of the tty as required. 399 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) { 400 if (chmod(tty_name, mode) < 0) { 405 tty_name, mode, strerror(errno)); 408 tty_name, mode, strerror(errno));
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
H A D | LwjglDisplay.java | 56 for (DisplayMode mode : modes){
57 if (mode.getWidth() == width
58 && mode.getHeight() == height
59 && (mode.getBitsPerPixel() == bpp || (bpp==24&&mode.getBitsPerPixel()==32))
60 && mode.getFrequency() == freq){
61 return mode;
65 listener.handleError("Failed to acquire fullscreen display mode!", ex);
79 throw new RuntimeException("Unable to find fullscreen display mode matching settings");
95 logger.log(Level.INFO, "Selected display mode [all...] |
/external/openssh/ |
H A D | sshpty.c | 212 mode_t mode; local 219 mode = S_IRUSR | S_IWUSR | S_IWGRP; 222 mode = S_IRUSR | S_IWUSR | S_IWGRP | S_IWOTH; 226 * Change owner and mode of the tty as required. 252 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) { 253 if (chmod(tty, mode) < 0) { 257 tty, (u_int)mode, strerror(errno)); 260 tty, (u_int)mode, strerror(errno));
|
/external/qemu/distrib/zlib-1.2.3/ |
H A D | zutil.h | 110 # define F_OPEN(name, mode) \ 111 fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512") 131 # define fdopen(fd,mode) NULL /* No fdopen() */ 151 # define fdopen(fd,mode) NULL /* No fdopen() */ 156 # define fdopen(fd,mode) NULL /* No fdopen() */ 173 # define F_OPEN(name, mode) fopen((name), (mode))
|
/external/v8/test/mjsunit/ |
H A D | testcfg.py | 41 def __init__(self, path, file, mode, context, config, isolates): 42 super(MjsunitTestCase, self).__init__(context, path, mode) 49 return "%s %s" % (self.mode, self.GetName()) 58 result = self.config.context.GetVmCommand(self, self.mode) 123 def ListTests(self, current_path, path, mode, variant_flags): 143 result.append(MjsunitTestCase(test, file_path, mode, self.context, self, False)) 144 result.append(MjsunitTestCase(test, file_path, mode, self.context, self, True))
|
/external/zlib/ |
H A D | zutil.h | 106 # define F_OPEN(name, mode) \ 107 fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512") 128 # define fdopen(fd,mode) NULL /* No fdopen() */ 149 # define fdopen(fd,mode) NULL /* No fdopen() */ 154 # define fdopen(fd,mode) NULL /* No fdopen() */ 183 # define F_OPEN(name, mode) fopen((name), (mode))
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
H A D | AutoEscaper.java | 66 * Create an AutoEscaper, which will apply the specified escaping mode. If templateName is 69 * @param mode 72 public AutoEscaper(EscapeMode mode, String templateName) { argument 74 if (mode.equals(EscapeMode.ESCAPE_NONE)) { 78 escapeMode = mode; 79 if (mode.isAutoEscapingMode()) { 80 autoEscapeContext = new AutoEscapeContext(mode, templateName); 88 * Create an AutoEscaper, which will apply the specified escaping mode. When possible, use 92 * @param mode 94 public AutoEscaper(EscapeMode mode) { argument [all...] |
/external/chromium/crypto/ |
H A D | encryptor_nss.cc | 25 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { argument 27 DCHECK_EQ(CBC, mode); 30 mode_ = mode;
|
H A D | encryptor_openssl.cc | 55 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { argument 57 DCHECK_EQ(CBC, mode); 67 mode_ = mode;
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
H A D | s_ocb_done.c | 20 /* Since the last block is encrypted in CTR mode the same code can 36 @param mode The mode we are terminating, 0==encrypt, 1==decrypt 40 unsigned char *ct, unsigned char *tag, unsigned long *taglen, int mode) 91 if (mode == 1) { 92 /* decrypt mode, so let's xor it first */ 104 if (mode == 0) { 105 /* encrypt mode */ 39 s_ocb_done(ocb_state *ocb, const unsigned char *pt, unsigned long ptlen, unsigned char *ct, unsigned char *tag, unsigned long *taglen, int mode) argument
|
/external/libvpx/vp8/common/ |
H A D | debugmodes.c | 33 fprintf(mvs, "%2d ", mi[mb_index].mbmi.mode); 99 if (mi[mb_index].mbmi.mode == B_PRED) 100 fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].mode);
|
/external/linux-tools-perf/util/ |
H A D | util.c | 4 int mkdir_p(char *path, mode_t mode) argument 20 err = stat(path, &st) && mkdir(path, mode); 27 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0;
|
/external/mesa3d/src/glsl/ |
H A D | ir_set_program_inouts.cpp | 80 if (var->mode == ir_var_in) 136 if (ir->mode == ir_var_in || 137 ir->mode == ir_var_out) {
|
/external/qemu/hw/ |
H A D | i8254.c | 46 uint8_t mode; member in struct:PITChannelState 70 switch(s->mode) { 95 switch(s->mode) { 134 switch(s->mode) { 182 switch(s->mode) { 224 return s->mode; 267 (s->mode << 1) | 283 s->mode = (val >> 1) & 7; 409 qemu_put_8s(f, &s->mode); 440 qemu_get_8s(f, &s->mode); [all...] |
/external/skia/src/images/ |
H A D | SkImageDecoder_libbmp.cpp | 27 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode mode); 76 bool SkBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { argument 85 const bool justBounds = SkImageDecoder::kDecodeBounds_Mode == mode;
|
/external/v8/src/ |
H A D | variables.h | 79 VariableMode mode, 86 static const char* Mode2String(VariableMode mode); 97 VariableMode mode() const { return mode_; } function in class:v8::internal::Variable
|
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | StringObject.cpp | 92 void StringObject::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument 97 if (mode == IncludeDontEnumProperties) 99 return JSObject::getOwnPropertyNames(exec, propertyNames, mode);
|
/external/webkit/Source/WebCore/svg/ |
H A D | SVGFEBlendElement.cpp | 36 DEFINE_ANIMATED_ENUMERATION(SVGFEBlendElement, SVGNames::modeAttr, Mode, mode) 75 return blend->setBlendMode(static_cast<BlendModeType>(mode())); 136 RefPtr<FilterEffect> effect = FEBlend::create(filter, static_cast<BlendModeType>(mode()));
|