Scores a hit
RAW
Attack Roll
An attack roll represents your attempt to strike your opponent on your
turn in a round. When you make an attack roll, you roll a d20 and add
your attack bonus. (Other modifiers may also apply to this roll.) If
your result equals or beats the target's Armor Class, you hit and deal
damage.
It doesn't matter if your damage surpass DR or THP. Hit from your weapon take place if your attack roll greater or equal than target's AC.
Temporary Hit Points
RAW
Temporary Hit Points
Certain effects give a character temporary hit points. These hit points are in addition to the character's current hit point total and
any damage taken by the character is subtracted from these hit points
first. Any damage in excess of a character's temporary hit points is
applied to his current hit points as normal. If the effect that grants
the temporary hit points ends or is dispelled, any remaining temporary
hit points go away. The damage they sustained is not transferred to
the character's current hit points.
When temporary hit points are lost, they cannot be restored as real
hit points can be, even by magic.
Even if you didn't surpass THP amount it's still counts as a solid hit. Supernatural ability or magic, that grants character/monster THP, just pull all damage from regular HP to THP. Any poison effects take place as intended, since there was damage to target. Because of THP target became tougher, not immune to certain amount of damage.
EDIT: Clarifying about THP and immunity
Q: But they are in fact immune to a certain amount of damage. If I gain 10 THP then take 5 damage, then have THP expire, I'm still at full health. Did I suddenly go from "injured" to "healed" by virtue of losing HP? Does the PC go from looking "beat up" to looking 100%?
A: @Gates VP - to clarify I need to quote this thing:
Hit points mean two things in the game world: the ability to take
physical punishment and keep going, and the ability to turn a serious
blow into a less serious one.
Immunity means there was no damage at all. In case of DR, if damage is too small to surpass certain amount - it's ignored. De-facto there was no damage at all. In case of THP you've recieved this damage. It was not ignored, it damaged you a little. But because of magic, or abilities it was not enough to hurt you seriously. To make an example:
False Life
You harness the power of unlife to grant yourself a limited
ability to avoid death
You recieve damage, but because of magic you can live a bit longer, survive a bit longer.
In case of feats
Drunken Brawler (Combat)
When you drink a tankard of ale or strong alcohol, you take a –2
penalty on Reflex saving throws, but gain a number of temporary hit
points equal to your level...
Have you ever heard expression that drunken people are tougher(not talking about stronger - it's a nonsense)? But in case of toughness they feel pain a bit less than sober. That helps them to endure some blows better.
Damage Reduction
RAW
Whenever damage reduction completely negates the damage from an
attack, it also negates most special effects that accompany the
attack, such as injury poison, a monk's stunning, and injury-based
disease. Damage Reduction does not negate touch attacks, energy damage
dealt along with an attack, or energy drains. Nor does it affect
poisons or diseases delivered by inhalation, ingestion, or contact.
Attacks that deal no damage because of the target's damage reduction
do not disrupt spells.
In that case you still score a hit, but because of some supernatural ability(or magic) your hit didn't do any damage to target. At all. Since there was no damage - there can't be any poison effects.
Why did I mention 'scores a hit' rules at the beginning
In both cases you should remember that poison works on 1 hit only. Even if you didn't surpass target DR or THP it doesn't really matter.
RAW
A poisoned weapon or object retains its poison until the weapon scores a hit or the object is touched (unless the poison is wiped off before a target comes in contact with it).
The Rules Are... Ambiguous
The Universal Monster Rules regarding poison say that
... The saving throw to resist a poison is usually a Fort save (DC 10 + 1/2 poisoning creature's racial HD + creature's Con modifier; the exact DC is given in the creature's descriptive text).
The only ambiguous part of that rule regarding the centipede as a normal creature is the 'usually a Fort save' segment; the rest specifies how a poison's save DC is calculated, and that it will be calculated in the creature's descriptive text. Recalculating on a change of racial HD or of Con is the correct reading of the rule.
The rules are silent, however, as to whether the effective HD for effects are racial or not. One argument in favor is that the familiar has only one type of HD, and so they would be 'effective racial HD.' The argument against it is that the rules don't say that they are.
Both rulings have merit; the permissive ruling helps the familiar remain relevant as the master's level increases, and the restrictive ruling helps keep 'the rules don't say I can't' from being a useful argument.
Further Analysis
The clauses from the familiars section regarding HD is dichotomous:
... It retains the appearance, Hit Dice...
vs
Hit Dice: For the purpose of effects related to number of Hit Dice, use the master's character level or the familiar's normal HD total, whichever is higher.
The second clause would override the first, depending on the definition of 'effects'. Since there is none in the glossary, extrapolation is necessary.
Within the glossary alone, there are hundreds of instances of the word 'effect' or 'effects'. Looking at the Afflictions Section, afflictions, including poisons, appear to have effects.
Thus the effects of poison that are related to HD should be calculated from the master's HD, when higher.
It's still ambiguous though. If they'd just define what an 'effect' is, then these questions would be a cakewalk.
Best Answer
No, if these attacks were meant to inflict the poisoned condition they would specify. For example, the Sprite has an attack that does this:
The Giant Scorpion and the Poisonous Snake don't say anything about the poisoned condition, so they don't inflict it.