/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
AlgorithmParametersTestDESede.java | 16 package libcore.javax.crypto.spec; 18 import javax.crypto.spec.IvParameterSpec;
|
/libcore/luni/src/test/java/tests/security/spec/ |
ECGenParameterSpecTest.java | 23 package tests.security.spec; 27 import java.security.spec.ECGenParameterSpec;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GridLayout0.java | 40 Spec row1 = spec(0); 41 Spec row2 = spec(1); 42 Spec row3 = spec(2, BASELINE); 43 Spec row4 = spec(3, BASELINE); 44 Spec row5 = spec(2, 3, FILL); // allow the last two rows to overlap the middle tw [all...] |
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
MyKeyManagerFactorySpi.java | 51 protected void engineInit(ManagerFactoryParameters spec) 53 if (spec == null) { 56 if (spec instanceof Parameters) { 58 engineInit(((Parameters)spec).getKeyStore(), 59 ((Parameters)spec).getPassword());
|
MyTrustManagerFactorySpi.java | 43 protected void engineInit(ManagerFactoryParameters spec) 45 if (spec == null) { 48 if (spec instanceof Parameters) { 50 engineInit(((Parameters)spec).getKeyStore());
|
/external/chromium/googleurl/src/ |
url_file.h | 55 inline int FindNextSlash(const CHAR* spec, int begin_index, int spec_len) { 57 while (idx < spec_len && !IsURLSlash(spec[idx])) 64 // Returns true if the start_offset in the given spec looks like it begins a 65 // drive spec, for example "c:". This function explicitly handles start_offset 68 // If this returns true, the spec is guaranteed to have a valid drive letter 71 inline bool DoesBeginWindowsDriveSpec(const CHAR* spec, int start_offset, 76 if (!IsWindowsDriveLetter(spec[start_offset])) 78 if (!IsWindowsDriveSeparator(spec[start_offset + 1]))
|
url_canon_ip.cc | 58 bool DoFindIPv4Components(const CHAR* spec, 68 if (i >= end || spec[i] == '.') { 91 if (spec[i] == '.' && i + 1 == end) 95 } else if (static_cast<UCHAR>(spec[i]) >= 0x80 || 96 !IsIPv4Char(static_cast<unsigned char>(spec[i]))) { 120 const CHAR* spec, 126 if (spec[component.begin] == '0') { 130 } else if (spec[component.begin + 1] == 'X' || 131 spec[component.begin + 1] == 'x') { 144 spec[component.begin + base_prefix_len] == '0' [all...] |
url_parse_file.cc | 76 void DoParseUNC(const CHAR* spec, 80 int next_slash = FindNextSlash(spec, after_slashes, spec_len); 97 if (DoesBeginWindowsDriveSpec(spec, next_slash + 1, spec_len)) { 99 ParsePathInternal(spec, MakeRange(next_slash, spec_len), 116 ParsePathInternal(spec, MakeRange(next_slash, spec_len), 128 void DoParseLocalFile(const CHAR* spec, 133 ParsePathInternal(spec, MakeRange(path_begin, spec_len), 138 // We are handed the character after the "file:" at the beginning of the spec. 141 void DoParseFileURL(const CHAR* spec, int spec_len, Parsed* parsed) { 156 TrimURL(spec, &begin, &spec_len) [all...] |
url_parse_internal.h | 53 // in the input string (so the string starts at character |*begin| in the spec, 56 inline void TrimURL(const CHAR* spec, int* begin, int* len) { 58 while (*begin < *len && ShouldTrimFromURL(spec[*begin])) 63 while (*len > *begin && ShouldTrimFromURL(spec[*len - 1])) 86 void ParsePathInternal(const char* spec, 91 void ParsePathInternal(const char16* spec, 98 // Given a spec and a pointer to the character after the colon following the 101 void ParseAfterScheme(const char* spec, 105 void ParseAfterScheme(const char16* spec,
|
url_canon_query.cc | 55 // This is more conformant to the URL spec, and there do not seem to be many 70 bool IsAllASCII(const CHAR* spec, const url_parse::Component& query) { 73 if (static_cast<UCHAR>(spec[i]) >= 0x80) 96 void RunConverter(const char* spec, 103 ConvertUTF8ToUTF16(&spec[query.begin], query.len, &utf16); 110 void RunConverter(const char16* spec, 114 converter->ConvertFromUTF16(&spec[query.begin], query.len, output); 118 void DoConvertToQueryEncoding(const CHAR* spec, 122 if (IsAllASCII<CHAR, UCHAR>(spec, query)) { 124 AppendRaw8BitQueryString(&spec[query.begin], query.len, output) [all...] |
url_util.cc | 94 inline bool CompareSchemeComponent(const CHAR* spec, 99 return LowerCaseEqualsASCII(&spec[component.begin], 100 &spec[component.end()], 104 // Returns true if the given scheme identified by |scheme| within |spec| is one 107 bool DoIsStandard(const CHAR* spec, const url_parse::Component& scheme) { 113 if (LowerCaseEqualsASCII(&spec[scheme.begin], &spec[scheme.end()], 129 const CHAR* spec = RemoveURLWhitespace(str, str_len, local 133 if (!url_parse::ExtractScheme(spec, spec_len, &our_scheme)) { 141 return CompareSchemeComponent(spec, our_scheme, compare) 153 const CHAR* spec = RemoveURLWhitespace(in_spec, in_spec_len, local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/dmedia/ |
SDL_irixaudio.c | 48 static int AL_OpenAudio(_THIS, SDL_AudioSpec *spec); 109 timeleft = this->spec.samples - alGetFillable(audio_port); 111 timeleft /= (this->spec.freq/1000); 119 if ( alWriteFrames(audio_port, mixbuf, this->spec.samples) < 0 ) { 142 static int AL_OpenAudio(_THIS, SDL_AudioSpec * spec) 144 Uint16 test_format = SDL_FirstAudioFormat(spec->format); 153 audio_param[1] = spec->freq; 160 audio_param.value.i = spec->freq; 167 spec->format = test_format; 190 if (alSetChannels(audio_config, spec->channels) < 0) [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
TrustManagerFactorySpiImpl.java | 15 private static ManagerFactoryParameters spec = null; field in class:TrustManagerFactorySpiImpl 22 public void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException { 24 this.spec = spec; 50 return spec;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/ |
SDL_mintaudio_dma8.c | 67 static int Mint_OpenAudio(_THIS, SDL_AudioSpec *spec); 72 static int Mint_CheckAudio(_THIS, SDL_AudioSpec *spec); 73 static void Mint_InitAudio(_THIS, SDL_AudioSpec *spec); 209 static int Mint_CheckAudio(_THIS, SDL_AudioSpec *spec) 214 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff)); 215 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 216 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 217 DEBUG_PRINT(("channels=%d, ", spec->channels)); 218 DEBUG_PRINT(("freq=%d\n", spec->freq)); 220 if (spec->channels > 2 [all...] |
SDL_mintaudio_xbios.c | 70 static int Mint_OpenAudio(_THIS, SDL_AudioSpec *spec); 75 static int Mint_CheckAudio(_THIS, SDL_AudioSpec *spec); 76 static void Mint_InitAudio(_THIS, SDL_AudioSpec *spec); 334 static int Mint_CheckAudio(_THIS, SDL_AudioSpec *spec) 339 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff)); 340 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 341 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 342 DEBUG_PRINT(("channels=%d, ", spec->channels)); 343 DEBUG_PRINT(("freq=%d\n", spec->freq)); 345 if (spec->channels > 2) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
SDL_dmaaudio.c | 63 static int DMA_OpenAudio(_THIS, SDL_AudioSpec *spec); 187 frame_ticks = (float)(this->spec->samples*1000) / 188 this->spec->freq; 233 playing = info.ptr / this->spec.size; 235 return (dma_buf + (filling * this->spec.size)); 251 SDL_AudioSpec *spec) 265 SDL_CalculateAudioSpec(spec); 268 for ( frag_spec = 0; (0x01<<frag_spec) < spec->size; ++frag_spec ); 269 if ( (0x01<<frag_spec) != spec->size ) { 276 SDL_SetError("Couldn't set audio fragment spec"); [all...] |
/external/webkit/Source/JavaScriptCore/wtf/url/src/ |
URLParser.h | 64 static void parseAuthority(const CHAR* spec, const URLComponent& auth, URLComponent& username, URLComponent& password, URLComponent& host, URLComponent& port) 79 while (i > auth.begin() && spec[i] != '@') 82 if (spec[i] == '@') { 84 parseUserInfo(spec, URLComponent(auth.begin(), i - auth.begin()), username, password); 85 parseServerInfo(spec, URLComponent::fromRange(i + 1, auth.begin() + auth.length()), host, port); 90 parseServerInfo(spec, auth, host, port); 94 static bool extractScheme(const CHAR* spec, int specLength, URLComponent& scheme) 98 while (begin < specLength && shouldTrimFromURL(spec[begin])) 105 if (spec[i] == ':') { 116 // |spec| is the full spec being parsed, of length |specLength| [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/dummy/ |
SDL_dummyaudio.c | 40 static int DUMMYAUD_OpenAudio(_THIS, SDL_AudioSpec *spec); 127 static int DUMMYAUD_OpenAudio(_THIS, SDL_AudioSpec *spec) 132 this->hidden->mixlen = spec->size; 137 SDL_memset(this->hidden->mixbuf, spec->silence, spec->size); 139 bytes_per_sec = (float) (((spec->format & 0xFF) / 8) * 140 spec->channels * spec->freq); 144 * a given audio spec, so timing stays fairly faithful. 151 (Uint32) ((((float) spec->size) / bytes_per_sec) * 1000.0f) [all...] |
/external/webkit/Source/WebKit/chromium/public/ |
WebURL.h | 55 WebURL(const WebCString& spec, const url_parse::Parsed& parsed, bool isValid) 56 : m_spec(spec) 77 void assign(const WebCString& spec, const url_parse::Parsed& parsed, bool isValid) 79 m_spec = spec; 84 const WebCString& spec() const function in class:WebKit::WebURL 143 return a.spec() < b.spec(); 148 return !a.spec().compare(b.spec());
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dc/ |
SDL_dcaudio.c | 38 static int DCAUD_OpenAudio(_THIS, SDL_AudioSpec *spec); 100 while(aica_get_pos(0)/this->spec.samples == this->hidden->nextbuf) { 150 SDL_AudioSpec *spec = &this->spec; local 155 while(aica_get_pos(0)/spec->samples == this->hidden->nextbuf) { 160 offset = this->hidden->nextbuf*spec->size; 163 if (spec->channels==1) { 167 if ((this->spec.format&255)==8) { 177 mode = (spec->format==AUDIO_S8)?SM_8BIT:SM_16BIT; 178 if (spec->channels==1) [all...] |
/external/emma/ant/ant14/com/vladium/emma/instr/ |
FilterCfg.java | 49 final String spec = specs [i]; local 51 if (spec.startsWith (IInclExclFilter.INCLUSION_PREFIX_STRING) || 52 spec.startsWith (IInclExclFilter.EXCLUSION_PREFIX_STRING)) 54 appendValue (spec, COMMA); 58 appendValue (IInclExclFilter.INCLUSION_PREFIX + spec, COMMA); // default to inclusion 77 final String spec = specs [i]; local 79 if (spec.startsWith (IInclExclFilter.INCLUSION_PREFIX_STRING)) 81 appendValue (spec, COMMA); 85 if (spec.startsWith (IInclExclFilter.EXCLUSION_PREFIX_STRING)) 86 appendValue (IInclExclFilter.INCLUSION_PREFIX + spec.substring (1), COMMA); // overrid 99 final String spec = specs [i]; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
LocalStart.java | 31 * {@code non-null;} register spec representing the local variable introduced 37 * Returns the local variable listing string for a single register spec. 39 * @param spec {@code non-null;} the spec to convert 42 public static String localString(RegisterSpec spec) { 43 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + 44 spec.getTypeBearer().toHuman(); 52 * @param local {@code non-null;} register spec representing the local 78 * Gets the register spec representing the local variable introduce [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
LocalStart.java | 31 * {@code non-null;} register spec representing the local variable introduced 37 * Returns the local variable listing string for a single register spec. 39 * @param spec {@code non-null;} the spec to convert 42 public static String localString(RegisterSpec spec) { 43 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + 44 spec.getTypeBearer().toHuman(); 52 * @param local {@code non-null;} register spec representing the local 78 * Gets the register spec representing the local variable introduce [all...] |
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/ |
MyTrustManagerFactorySpi.java | 43 protected void engineInit(ManagerFactoryParameters spec) 45 if (spec == null) { 48 if (spec instanceof Parameters) { 50 engineInit(((Parameters)spec).getKeyStore());
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
tns_ar_filter.h | 90 Int32 spec[],
|