Searched refs:key (Results 76 - 100 of 570) sorted by path

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackagesDirectory.h67 size_t HashKey(const node_ref& key) const
69 return (size_t)key.device ^ (size_t)key.node;
77 bool Compare(const node_ref& key, const PackagesDirectory* value) const argument
79 return key == value->NodeRef();
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DTwoKeyAVLTree.h150 inline Node* Allocate(const Key& key, const Value& value) const argument
253 Value *FindFirst(const PrimaryKey &key, Iterator *iterator = NULL);
254 Value *FindLast(const PrimaryKey &key, Iterator *iterator = NULL);
373 TWO_KEY_AVL_TREE_CLASS_NAME::FindFirst(const PrimaryKey &key, argument
380 int cmp = fPrimaryKeyCompare(key, fGetPrimaryKey(
383 // found a matching node, now get the left-most node with that key
384 while (node->left && fPrimaryKeyCompare(key,
405 TWO_KEY_AVL_TREE_CLASS_NAME::FindLast(const PrimaryKey &key, argument
412 int cmp = fPrimaryKeyCompare(key, fGetPrimaryKey(
415 // found a matching node, now get the right-most node with that key
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DKey.h39 \brief Represents the on-disk structure for a key.
41 Unfortunately there exist two different key formats and one can not
46 class Key : private key {
49 Key(const Key &k) : key(k) {}
52 static Key* CastFrom(key* k)
54 static const Key* CastFrom(const key* k)
120 *static_cast<key*>(this) = k;
157 // VKey -- a versioned key
164 type fields of the key. If that is needed, the Compare() method has
263 TPRINT(("key
[all...]
H A Dreiserfs.h71 // directories use this key as well as old files
91 struct key { struct
107 key blk_right_delim_key; /* kept only for compatibility */
119 * its key.*/
120 struct key ih_key;
125 item. Note that the key, not this field, is used to
186 uint32 deh_offset; /* third component of the directory entry key */
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DFileSystem.h56 size_t HashKey(const FSVNodeCapabilities& key) const
57 { return key.GetHashCode(); }
60 bool Compare(const FSVNodeCapabilities& key, const VNodeOps* value) const argument
61 { return value->capabilities == key; }
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_config.c117 fuse_lib_opt_proc(void *data, const char *arg, int key, argument
122 (void)key;
189 static int fuse_mount_opt_proc(void *data, const char *arg, int key, argument
194 switch (key) {
H A Dfuse_opt.c137 static int call_proc(struct fuse_opt_context *ctx, const char *arg, int key, argument
140 if (key == FUSE_OPT_KEY_DISCARD)
143 if (key != FUSE_OPT_KEY_KEEP && ctx->proc) {
144 int res = ctx->proc(ctx->data, arg, key, &ctx->outargs);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelFileSystem.cpp29 size_t HashKey(int32 key) const
30 { return key; }
33 bool Compare(int32 key, const HaikuKernelIORequest* value) const argument
34 { return value->id == key; }
46 size_t HashKey(int32 key) const
47 { return key; }
50 bool Compare(int32 key, const HaikuKernelIORequest* value) const argument
51 { return value->id == key; }
62 size_t HashKey(fs_vnode_ops* key) const
63 { return (size_t)(addr_t)key; }
66 Compare(fs_vnode_ops* key, const ValueType* value) const argument
[all...]
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixAddressManager.h19 size_t HashKey(const KeyType& key) const
21 return key.HashCode();
29 bool Compare(const KeyType& key, UnixEndpoint* endpoint) const argument
31 return key == endpoint->Address();
/haiku/src/add-ons/kernel/network/stack/
H A Dinterfaces.h92 size_t HashKey(const KeyType& key) const
94 return (size_t)key;
102 bool Compare(const KeyType& key, domain_datalink* datalink) const argument
104 return datalink->domain->family == key;
/haiku/src/add-ons/locale/catalogs/plaintext/
H A DCatalog.cpp261 // SetString(key, translated.c_str());
313 original = entry.key.fString;
314 comment = entry.key.fComment;
323 << entry.key.fContext.String() << "\t"
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/
H A Dmd5.h48 const unsigned char* key, int key_len);
51 const unsigned char* key, int key_len);
H A Dmd5c.c333 const unsigned char* key, int key_len)
337 * key XORd with ipad
340 * key XORd with opad
345 /* start out by storing key in pads */
349 /* if key is longer than 64 bytes reset it to key=MD5(key) */
353 MD5Update(&tctx, (unsigned char*)key, key_len);
357 memcpy(k_ipad, key, key_len);
358 memcpy(k_opad, key, key_le
331 MD5Hmac(unsigned char *digest, const unsigned char* text, int text_len, const unsigned char* key, int key_len) argument
400 MD5HexHmac(char *hexdigest, const unsigned char* text, int text_len, const unsigned char* key, int key_len) argument
[all...]
/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/
H A DSMTP.cpp79 const unsigned char* key, int key_len)
83 // inner padding - key XORd with ipad
85 // outer padding - key XORd with opad
88 /* start out by storing key in pads */
92 /* if key is longer than 64 bytes reset it to key=MD5(key) */
96 MD5_Update(&tctx, (unsigned char*)key, key_len);
100 memcpy(k_ipad, key, key_len);
101 memcpy(k_opad, key, key_le
78 MD5Hmac(unsigned char *digest, const unsigned char* text, int text_len, const unsigned char* key, int key_len) argument
142 MD5HexHmac(char *hexdigest, const unsigned char* text, int text_len, const unsigned char* key, int key_len) argument
200 const char* key; local
[all...]
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPCapabilityExtractor.cpp70 const char* key)
72 if (key == NULL)
75 fDefaultKey = key;
114 GPCapabilityExtractor::StringParameter(const char* name, const char* key, argument
117 bool isDefault = fDefaultKey == key;
128 AddCapability(fCapabilities->fInputSlots, capability, key);
134 AddCapability(fCapabilities->fPrintingModes, capability, key);
140 fNextDriverSpecificCategoryID], capability, key);
151 GPCapabilityExtractor::ResolutionParameter(const char* name, const char* key, argument
154 bool isDefault = fDefaultKey == key;
69 DefaultStringParameter(const char* name, const char* key) argument
185 PageSizeParameter(const char* name, const char* key, const char* displayName, BSize pageSize, BRect imageableArea) argument
319 AddCapability(GPArray<struct BaseCap>& array, EnumCap* capability, const char* key) argument
[all...]
H A DGPCapabilityExtractor.h36 const char* key);
38 void StringParameter(const char* name, const char* key,
40 void ResolutionParameter(const char* name, const char* key,
42 void PageSizeParameter(const char* name, const char* key,
64 const char* key);
H A DGPDriver.cpp111 const char* key = capability->fKey.c_str(); local
114 AddDriverSpecificSetting(id, key);
117 AddDriverSpecificBooleanSetting(id, key);
120 AddDriverSpecificIntSetting(id, key);
123 AddDriverSpecificDimensionSetting(id, key);
126 AddDriverSpecificDoubleSetting(id, key);
134 GPDriver::AddDriverSpecificSetting(PrinterCap::CapID category, const char* key) { argument
136 if (GetJobData()->Settings().HasString(key))
138 const string& value = GetJobData()->Settings().GetString(key);
153 fConfiguration.fStringSettings[key]
158 AddDriverSpecificBooleanSetting(PrinterCap::CapID category, const char* key) argument
167 AddDriverSpecificIntSetting(PrinterCap::CapID category, const char* key) argument
176 AddDriverSpecificDimensionSetting(PrinterCap::CapID category, const char* key) argument
185 AddDriverSpecificDoubleSetting(PrinterCap::CapID category, const char* key) argument
[all...]
H A DGPDriver.h32 const char* key);
34 const char* key);
36 const char* key);
38 const char* key);
40 const char* key);
H A DGPParameterVisitor.cpp192 const char* key = entry->name; local
195 stp_set_string_parameter(fVariables, kResolution, key);
200 ResolutionParameter(name, key, displayName, x, y);
204 stp_set_string_parameter(fVariables, kPageSize, key);
215 PageSizeParameter(name, key, displayName, pageSize, imageableArea);
217 StringParameter(name, key, displayName);
H A DGPParameterVisitor.h53 // key is null if there is no default value
55 const char* key) = 0;
57 virtual void StringParameter(const char* name, const char* key,
59 virtual void ResolutionParameter(const char* name, const char* key,
61 virtual void PageSizeParameter(const char* name, const char* key,
/haiku/src/add-ons/print/transports/usb_port/
H A DUSBTransport.cpp61 USBPrinter *Printer(const BString& key);
97 USBPrinterRoster::Printer(const BString& key) argument
99 if (fPrinters.ContainsKey(key.String()))
100 return fPrinters.Get(key.String());
187 fPrinters.Remove(entry.key);
267 BString key; local
269 if (printer->ReadAttrString("transport_address", &key) != B_OK)
276 fPrinter = fRoster->Printer(key.String());
/haiku/src/add-ons/translators/gif/
H A DSFHash.cpp58 int pos = item->key % size;
71 SFHash::GetItem(unsigned int key) argument
73 int pos = key % size;
77 if (item->key == key) return item;
H A DSFHash.h26 unsigned int key; member in class:HashItem
38 HashItem* GetItem(unsigned int key);
H A DSavePalette.cpp178 key = k;
230 touch_color_item(SFHash& hash, unsigned int key, uint8 r, uint8 g, uint8 b) argument
232 ColorItem* ci = (ColorItem*)hash.GetItem(key);
234 ci = new(nothrow) ColorItem(key, 1, r, g, b);
310 uint32 key = make_key(r, g, b, useBits); local
311 if (!touch_color_item(hash, key, r, g, b)) {
330 uint32 key = make_key(r, g, b, useBits); local
331 if (!touch_color_item(hash, key, r, g, b)) {
/haiku/src/apps/cortex/Persistence/
H A DExportContext.cpp177 out << "\n" << indentString() << key;\
178 _pad_with_spaces(out, key, *this, m_attrColumn) << " = '" << VAL_SPEC << '\'';\
183 const char* key,
187 const char* key,
191 const char* key,
195 const char* key,
199 const char* key,
203 const char* key,
207 const char* key,
211 const char* key,
182 writeAttr( const char* key, int8 value) argument
186 writeAttr( const char* key, uint8 value) argument
190 writeAttr( const char* key, int16 value) argument
194 writeAttr( const char* key, uint16 value) argument
198 writeAttr( const char* key, int32 value) argument
202 writeAttr( const char* key, uint32 value) argument
206 writeAttr( const char* key, int64 value) argument
210 writeAttr( const char* key, uint64 value) argument
214 writeAttr( const char* key, const char* value) argument
218 writeAttr( const char* key, const BString& value) argument
222 writeAttr( const char* key, float value) argument
[all...]

Completed in 146 milliseconds

1234567891011>>