Those look like short code numbers. The full part number doesn't fit on small parts like this, so the manufacturer writes short codes. For example, some MMBT4401 transistors I have are only labeled "2X".
In the datasheet for the part it tells you what variants have what codes, but going the other way is nearly impossible without a pretty good idea what the part already is. If you know the manufacturer you can dig around their datasheets for parts of this class and hope to find one that lists the short code you see.
You might get lucky with some careful google searches using the code you have in quotes, with "SMD code", or "package code", along with "transistor" or whatever you think the device is.