Searched defs:card (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/test/sun/security/smartcardio/
H A DTestConnect.java47 throw new Exception("No card terminals available");
52 System.out.println("*** Insert card");
54 throw new Exception("no card available");
57 System.out.println("card present: " + terminal.isCardPresent());
59 Card card = terminal.connect("*");
60 System.out.println("card: " + card);
61 if (card.getProtocol().equals("T=0") == false) {
64 transmit(card);
65 card
112 transmit(Card card) argument
[all...]
H A DTestExclusive.java47 // establish a connection with the card
48 Card card = terminal.connect("T=0");
49 System.out.println("card: " + card);
51 Thread thread = new Thread(new OtherThread(card));
55 card.beginExclusive();
61 CardChannel channel = card.getBasicChannel();
68 card.beginExclusive();
73 card.endExclusive();
76 card
96 private final Card card; field in class:TestExclusive.OtherThread
97 OtherThread(Card card) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/smartcardio/
H A DTerminalImpl.java48 private CardImpl card; field in class:TerminalImpl
64 if (card != null) {
65 if (card.isValid()) {
66 String cardProto = card.getProtocol();
68 return card;
74 card = null;
78 card = new CardImpl(this, protocol);
79 return card;
82 throw new CardNotPresentException("No card present", e);
109 // check if card statu
[all...]
H A DChannelImpl.java45 // the card this channel is associated with
46 private final CardImpl card; field in class:ChannelImpl
54 ChannelImpl(CardImpl card, int channel) { argument
55 this.card = card;
60 card.checkState();
67 return card;
88 card.checkExclusive();
96 card.checkExclusive();
162 boolean t0 = card
[all...]
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_CommonUtils.c78 * deviceID contains packed card, device and subdevice numbers
82 UINT32 encodeDeviceID(int card, int device, int subdevice) { argument
83 return (((card & 0x3FF) << 20) | ((device & 0x3FF) << 10)
88 void decodeDeviceID(UINT32 deviceID, int* card, int* device, int* subdevice, argument
91 *card = (deviceID >> 20) & 0x3FF;
101 void getDeviceString(char* buffer, int card, int device, int subdevice, argument
106 card, device, subdevice);
110 card, device);
117 int card, device, subdevice; local
122 decodeDeviceID(deviceID, &card,
[all...]
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c45 int card, dev, subDev; local
75 // try to get card info
76 card = snd_pcm_info_get_card(pcminfo);
77 if (card >= 0) {
78 sprintf(devname, ALSA_HARDWARE_CARD, card);
96 card = -1;
98 if (snd_card_next(&card) < 0) {
101 if (card < 0) {
104 sprintf(devname, ALSA_HARDWARE_CARD, card);
108 ERROR2("ERROR: snd_ctl_open, card
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_CommonUtils.c78 * deviceID contains packed card, device and subdevice numbers
82 UINT32 encodeDeviceID(int card, int device, int subdevice) { argument
83 return (((card & 0x3FF) << 20) | ((device & 0x3FF) << 10)
88 void decodeDeviceID(UINT32 deviceID, int* card, int* device, int* subdevice, argument
91 *card = (deviceID >> 20) & 0x3FF;
101 void getDeviceString(char* buffer, int card, int device, int subdevice, argument
106 card, device, subdevice);
110 card, device);
117 int card, device, subdevice; local
122 decodeDeviceID(deviceID, &card,
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c45 int card, dev, subDev; local
75 // try to get card info
76 card = snd_pcm_info_get_card(pcminfo);
77 if (card >= 0) {
78 sprintf(devname, ALSA_HARDWARE_CARD, card);
96 card = -1;
98 if (snd_card_next(&card) < 0) {
101 if (card < 0) {
104 sprintf(devname, ALSA_HARDWARE_CARD, card);
108 ERROR2("ERROR: snd_ctl_open, card
[all...]
H A DPLATFORM_API_BsdOS_ALSA_MidiUtils.c62 int card, dev, subDev; local
98 // try to get card info
99 card = snd_rawmidi_info_get_card(rawmidi_info);
100 if (card >= 0) {
101 sprintf(devname, ALSA_HARDWARE_CARD, card);
119 card = -1;
121 if (snd_card_next(&card) >= 0) {
122 TRACE1("Found card %d\n", card);
123 while (doContinue && (card >
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_MidiUtils.c62 int card, dev, subDev; local
98 // try to get card info
99 card = snd_rawmidi_info_get_card(rawmidi_info);
100 if (card >= 0) {
101 sprintf(devname, ALSA_HARDWARE_CARD, card);
119 card = -1;
121 if (snd_card_next(&card) >= 0) {
122 TRACE1("Found card %d\n", card);
123 while (doContinue && (card >
[all...]
H A DPLATFORM_API_BsdOS_ALSA_Ports.c73 int card; local
84 card = -1;
86 if (snd_card_next(&card) >= 0) {
87 while (card >= 0) {
88 sprintf(devname, ALSA_HARDWARE_CARD, card);
92 ERROR2("ERROR: snd_ctl_open, card=%d: %s\n", card, snd_strerror(err));
97 if (snd_card_next(&card) < 0) {
122 ERROR2("ERROR: snd_ctl_open, card=%d: %s\n", (int) mixerIndex, snd_strerror(err));
127 ERROR2("ERROR: snd_ctl_card_info, card
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_Ports.c73 int card; local
84 card = -1;
86 if (snd_card_next(&card) >= 0) {
87 while (card >= 0) {
88 sprintf(devname, ALSA_HARDWARE_CARD, card);
92 ERROR2("ERROR: snd_ctl_open, card=%d: %s\n", card, snd_strerror(err));
97 if (snd_card_next(&card) < 0) {
122 ERROR2("ERROR: snd_ctl_open, card=%d: %s\n", (int) mixerIndex, snd_strerror(err));
127 ERROR2("ERROR: snd_ctl_card_info, card
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DsparsePRT.hpp60 // Returns the size of the card array.
79 // Returns "true" iff the entry contains the given card index.
82 // Returns the number of non-NULL card entries.
85 // Requires that the entry not contain the given card index. If there is
86 // space available, add the given card index to the entry and return
100 inline CardIdx_t card(int i) const { return _cards[i]; } function in class:SparsePRTEntry
146 // the sparse table. If successful (because the card was already
183 // If the bucket list pointed to by _bl_ind contains a card, sets
184 // _bl_ind to the index of that entry, and returns the card.
188 // Computes the proper card inde
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DcardTableModRefBS.hpp37 // an object "o" is modified, the card table entry for the card containing
38 // the head of "o" is dirtied, not necessarily the card containing the
40 // precise; only the card containing the modified element is dirtied.
54 friend class CheckForUnmarkedOops; // Needs access to raw card bytes.
75 // a word's worth (row) of clean card values
83 // Returns "true" iff the value "cv" will cause the card containing it
90 // Returns "true" iff the value "cv" may have represented a dirty card at
98 const MemRegion _whole_heap; // the region covered by the card table
99 const size_t _guard_index; // index of very last element in the card
236 uintptr_t card = (uintptr_t) byte_for(addr); local
[all...]
/openjdk7/jdk/src/share/native/sun/security/smartcardio/
H A Dpcsc.c180 SCARDHANDLE card; local
184 rv = CALL_SCardConnect(context, readerName, jShareMode, jPreferredProtocols, &card, &proto);
186 dprintf1("-cardhandle: %x\n", card);
192 return (jlong)card;
199 SCARDHANDLE card = (SCARDHANDLE)jCard; local
213 rv = CALL_SCardTransmit(card, &sendPci, sbuf + ofs, len, NULL, rbuf, &rlen);
228 SCARDHANDLE card = (SCARDHANDLE)jCard; local
239 rv = CALL_SCardStatus(card, readerName, &readerLen, &state, &protocol, atr, &atrLen);
261 SCARDHANDLE card = (SCARDHANDLE)jCard; local
264 rv = CALL_SCardDisconnect(card, jDispositio
313 SCARDHANDLE card = (SCARDHANDLE)jCard; local
325 SCARDHANDLE card = (SCARDHANDLE)jCard; local
337 SCARDHANDLE card = (SCARDHANDLE)jCard; local
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DrelocInfo.cpp311 int card = (begin - _addr) / indexCardSize; local
312 if (card > 0) {
313 if (index+card-1 < index_limit) index += card-1;
320 // for the previous card. Calling "next" will then advance
321 // it to the first item on the required card.

Completed in 411 milliseconds